« first day (155 days earlier)      last day (4796 days later) » 

12:20 AM
hi would this database structure be considered violating mvc:
zones table:
id title description
1 home main_content
2 home sidebar
3 contact main_content
4 contact sidebar

posts table:
id title description zone_id
1 hello hello world 1

would allow me to query like this:

SELECT * FROM posts INNER JOIN zones ON posts.zone_id = zones.id;
someone told me that putting anything about views in database would violate mvc. But there is no other way to filter on pages I believe.
 
12:53 AM
And someone else responded to create a template (like an HTML control, RSS control, etc), then creating "instances" of those controls in the database. Then move "instances" into whatI have described as "zone"s.
If I had a visual of one good diagram of a standard implementation of cms in mvc, I think I would be good to go, because I still dont see what the problem with my zones/posts table relationship I pasted above is.
 

« first day (155 days earlier)      last day (4796 days later) »