When to use stream versus repeater field versus module?Created 2 years ago by gwerner
I'm having some difficulty wrapping my mind around what are probably some basic Pyro concepts. Mostly in the department of when to use a stream, when to use a module or the new repeater field?
Let's say we are creating a home page slider as an example. And, I'd like for this to maintained through the CMS. This example slider will have 3 fields. They are image, html(editor) and url.
Using the old Pyro I would probably have created a new stream to handle the 3 fields and maintained the data outside of the page. And looped throughs the data in the page layout. With new Pyro my first thought is to create a module and maintain the fields there. And then access that module through a new page with an editor field type. Is a module overkill for this?
Now we have the new repeater field which looks like could also handle this? I've just started on a new project and it looks like my home page could use two repeater. When creating a new page and adding two repeaters and then the data for those repeaters the admin for that page can grow considerably.
So, with that said what is a general best practice or smart approach to the example I've outlined above? Any help or guidance is appreciated.