my recommendation is prepare a list of Product Object. Each Product Object will have all info relate to that Product. Once you prepared list in java side.
Simple display whole list of product on home page.
Preparing list of product is best option.because you don't have to get java bean invoked for each product. get all product info in once shot.
implementation for instance
loop of product list
brief product info and add links for details info. details info should call java script API n show or hide product detail info
show full details of product along wth brief info. by default it info should be hidden.
Thanks for the reply. CQ5 provides productList component. That stores the product details in it as nodes, instead of creating pages.
So should I use that to store the product information in JCR?
Also if I store the information in productList as nodes, then I when I attach the workflow with that, It shows the node link in worflow which is not userfriendly.
I am sure I am not the first one to impliment the products, so wanted to know what people does?
Do they create hidden in navigation pages for each product or jsut store the product information in ProductList and then display logic may be different for each one. Or anything else.