I'm looking for a way to do rapid development (i.e. not manually using the UI to create one field at a time). So if you have a page which requires multiple similar fields you can quickly add them?
Most of a web pages I build are componentized so all fields are all variations of a base component - (example in screenshot below):
What you could do here (please correct me if im wrong):
- create a individual field in craft for each of these sections. So there would be 3 (as two of the fields are being used on different pages) - but:
a) If I need to use the same section multiple times on the page i.e. use the base field at the top of the page and bottom of the page then I cannot duplicate it (or just reuse it at the top and bottom), I'd need to create a brand new field - this feels very strange and like my process is wrong as its not DRY and leads to multiple fields - is there any documentation on how you should approach this?
I've seen reference to a wordpress plugin for this type of work: https://www.advancedcustomfields.com/
I'm not comparing caft and wordpress - I don't mind using the UI if thats the indended system and just making alot of fields, I'm just trying to find a answer to if this is the correct system instead of constantly thinking im creating alot of technical debt for a future developer.
Thanks - W