Separation of data, its presentation and functionality

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
NastyGirl
Forum Newbie
Posts: 2
Joined: Mon Nov 29, 2004 8:28 am

Separation of data, its presentation and functionality

Post by NastyGirl »

Hi
I am a journalist, now making a research on content management. Made a research on some cms (open source) and read cmswatch, bla-bla-bla. I feel cms must separate data presentation from data itself and it must change both separately. What about website functionality (newslines, navigation...)? The question is: are there any ways to tune functionality like templates which determine onsite data presentation?

Has anyone come across this issue before or can help out, please? :roll:
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

Some of the best php programmers I know are working on WACT. The ModelViewController link has a detailed description of how MVC can be used to deal with some of the issues you have raised. As it happens, Jeff Moore, one of the WACT developers, has a blog here and has just made an entry about MVC. If you follow the links you'll find some other opinions about the usefulness of the pattern.
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

The papers in the link below are a great resource, check them out, ive read a few there before that cover what you need:

http://www.steptwo.com.au/papers/index.php
NastyGirl
Forum Newbie
Posts: 2
Joined: Mon Nov 29, 2004 8:28 am

Post by NastyGirl »

Thanks to all! links are very useful :)) By the way, i also found a good resource on that -- http://www.xmlsapiens.org and http://www.sapid.sf.net. It reports xml specification and programming core of open source cms. What do you think of it?
Post Reply