Blueprints, Fields and Fieldsets in Statamic (recorded live at PHP Adelaide)

  Рет қаралды 477

Marty Friedel

Marty Friedel

Күн бұрын

Пікірлер: 4
@Jbonethekid
@Jbonethekid 3 ай бұрын
great work!
@MartyFriedel
@MartyFriedel 3 ай бұрын
Thank you very much!
@AtlantaJones
@AtlantaJones 4 ай бұрын
This is fantastic, and I'll definitely be using it to help push for my agency to try Statamic. Was hoping you'd touch on the difference between the Grid and Replicator fields, and when you'd pick one over the other.
@MartyFriedel
@MartyFriedel 4 ай бұрын
If you to go back to earlier versions of Statamic, the differences were a bit more obvious. Grid, by default, uses a "Table" layout like I have in the video. But also now has a "Stacked" layout which can make it look like the Replicator. Grid also has the ability to label the button to add a new row. When creating your Grid, you need to pick your fields for each row - and you can only have one set. But with a Replicator, you can have multiple Sets (and organisation) which makes it ideal for a Page Builder - so when you add a new item, you can choose what Set you want. I've got another talk coming up in September on building maintainable sites in Statamic so that will be covered more there too. With Replicator you can also have controls to expand and collapse all sets - which is good for long lists to make it easier to drag-and-drop or view without having every field visible. At their core, they're very similar - multiple items can be added to an ordered list. But subtle little differences separate them based on use case. For a Page Builder, or if I want the author to pick a different row Set of fields, I'd use Replicator. But for something like Session times which is always a Date and Times, then Grid works too. Both have valid uses, but at the same time, could possibly take the best of both to combine them in to a single fieldtype. Hopefully this helps a little.
Marty Friedel - Statamic for Laravel devs - Laracon AU 2023
36:10
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 103 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
37:51
bayGUYS
Рет қаралды 1,7 МЛН
Senior Developers vs. Junior Developers, What's The Difference?
14:21
Continuous Delivery
Рет қаралды 32 М.
What's new in Flutter 3.27 & Dart 3.6
17:51
SpeedKodi
Рет қаралды 566
Vim Motions & Tricks I Wish I Learned Sooner
9:25
Henry Misc
Рет қаралды 49 М.
Systems Design in an Hour
1:11:00
Jordan has no life
Рет қаралды 32 М.
DRM explained - How Netflix prevents you from downloading videos?
18:17
Mehul - Codedamn
Рет қаралды 239 М.
Setting Up the Perfect Developer Environment on Linux for 2025
11:58
Anthropic MCP + Ollama. No Claude Needed? Check it out!
18:06
What The Func? w/ Ed Zynda
Рет қаралды 4 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
37:51
bayGUYS
Рет қаралды 1,7 МЛН