News, updates, and information from Dot All 2023. Thank you for reading! This page automatically updates every 30 seconds.
I’ll keep this space updated with thoughts and notes on the presentations from Dot All 2023.
Today’s agenda:
never
return type, null
, true
and false
types.eagerly()
— how you do lazy eager loadingentry.featuredImage.eagerly()
Cp::elementChipHtml($entry)
— generates the chipCp::elementCardHtml($entry)
— generate the card htmlPreviewableFieldInterface
ThumbableFieldInterface
— any fields that want to provide thumbnails — anything where an element thumbnail would make sense. InlineEditableFieldInterface
— any field can implement to get support for this — can be customized but most simple fields shouldn’t need much work to get support.content
column in the elements_sites table
; it stores JSONField::getValueSQL()
— get that fields specific value within the JSON columnfield.getValueSql()
BaseContentRefactorMigration
— any plugins that define a custom element type will need to include this classisMultiInstance()
fields/merge
commandvalueType()
=> phpType()
getContentColumnType()
and hasContentColumn()
=> fdbType()
modifyElementsQuery()
=> queryCondition()
craft\services\Sections
-> craft\servicesEntries
— section service no longer exists; Rector takes care of this for youWhen will Craft 5 be released? Q1 2024
by Ben Croker
This talk has a lot of code and coding, so I won’t be able to capture everything!
<button s-on:click="html.toggleClass('#more', 'hidden')">Show/hide</button>
s-indicator
sprig.isInclude
— is the Sprig component part of the initial page render<div sprig s-trigger="load"></div>
s-swap-oob="true"
Randy Fay
ddev export-db --file=filenameandpathhere
ddev snapshot
— save entire full state of the databaseddev snapshot --name=demo
— not a text export, but a full snapshot export of the databaseddev snapshot restore
ddev list
ddev describe
— great way to see the services and software versions running ddev config
.ddev
directory so it’s shared with your team. You should version control the entire .ddev
. DDEV handles gitignoring the files that don’t need version control.ddev share
shares your local project via ngrok so anyone can view it at a public URLKaitlyn Martinez and Lupe Camacho
Web Content Accessibility Guidelines
Working with Designers
lang="en-US"
<span id="loading-live-region" class="sr-only" role="status"></span>
<span id="loading-live-region" class="sr-only" role="status">Loading</span>
<span id="loading-live-region" class="sr-only" role="status">Content Loaded</span>
Matt Riopelle
Zoltan Varaday
Shawna O’Neal
Brandon Kelly
Lakeisha Wright
I was moderating the panel discussion, so I couldn’t take notes.
Lucy Williams
Sustainable web design is an approach to designing web services that are good for people and the planet.
If the internet was a country, it would be the 4th most polluting country in the world.
Stephen Callender