17 December 2009 at 3:37pm
I am not sure I completely understand databojects. I need to create a site that has products like an e-commerce site but does not sell them. I thought that they should be pages that then went into a holder page (such as in the second tutorial), but I would want several products from each category listed on a main products page.
But then I started reading and it seemed that maybe I want to create the products as data objects using modeladmin?
I am a wordpress convert, so sorry if I am just missing something obvious.
17 December 2009 at 7:26pm
A page is a dataobject so anything you need to use with DataObjects you can do with Pages. The decision as to which is use is a matter of personal preference as you can usually build anything using either method. If you make something a 'Page' then its easily to see in the SiteTree in the CMS and makes it easy to move around / see the structure of the site. With dataobjects you won't 'see' them in the Site Tree and you'll have to setup a Admin interface (like ModelAdmin) to manage the objects rather then using the standard tree.