Results 1 to 3 of 3
Thread: CMS Class Structurce
Nov 6, 2008, 19:41 #1
- Join Date
- Aug 2006
- 0 Post(s)
- 0 Thread(s)
CMS Class Structurce
I've developed a couple Content Management Systems now, but theres one concept I really struggle with, and its how to properly design classes in a CMS situation.
I've tried designing classes, but they never really turn out to be a very efficient way of doing things, and I have a hard time visualizing the proper way to structure the classes.
Given a simple blog CMS (one part of the CMS).... how would I structure the blog class? I have a blog table in the database with the usual fields: ID, Title, Content, Timestamp, User. Whats the most effective way to make this into a class?
I'm using PHP and MySQL, if it helps. Thank you for any ideas you can pass my way.