Hi there,
Just posting here to hear some opinions about the way I’m doing things
Im doing a big cms system, with lots of funcionalities, and it will be used for a lot of people, alredy more than 100 sites/users will migrate to this version
What I’m doing is the following:
Superadmin (the staff) uploads a layout, choose which parts are editable by the clicking on it (JUI selectable on html tags) and after chooses which part/section is the main content
User creates a new web system (website, blog, forum or e-commerce) that share a model WebApp, chooses a layout and go to the create new page page and after create the page it will go to the edit page
In the website, which is the main focus:
The editable parts choosen by the layout uploader are clickable, and on the click it popups up which type of content he wants to put there (text/video/image/any kind of widget)
after users select, the widget is added to where the user clicked
any clickable/editable part of the layout is a section that has many contents in it
the table contents has the following:
– id - content_type - content_data(a serialized array with the widget’s options)
and a related table so this content is reusable
– content_id - page_id - section_id - section_position
in short
a webapp has many pages
a page has many sections
a section has many contents
a content has many real content (images,videos,news, etc)
well, in short, very short, it is it
Any comments/suggestions are appreciated