Best Practices on detail pages
Hi,
I'm new to AEM development and I have some doubts on the flow for developing websites using it.
Let's say we have a company site, that has the following structure:
- Home
- Products
- Prod1
- Prod2
- Services
- Service1
- Service2
- Contact
- Products
On the Products page we will list the child product pages and display some information about the product.
Let's say that I'd like to start with the Products page, for me it is not clear what would be the best practice on where I would grab the product information from. What is the better:
- Extend the page dialog component to add the product properties, so I can consider when listing the product that the properties will come directly from the page;
- Consider that the product's properties would be stored in a component in a node under the product detail page; For me using this approach leads me to start by the product detail page instead of the product list. Am I wrong with this?
Any considerations on this will be helpfull.
Thanks,
Francisco