Skip to content

Tagged 'zend-framework'

Database-Driven Content Using the Zend Framework

A couple of weeks ago I was asked by a friend for my thoughts regarding the use of the Zend Framework to create a site where the content for some pages could be stored in a database and managed by a simple content-management style administration area. Normally the MVC paradigm works well for web-based applications - probably part of the reason it has become so popular recently - but it does not as easily lend itself to this sort of system. Since the content (effectively the view) is stored in a database, there is very little for the traditional MVC 'view' component to do. Also, there is the problem of URLs. However, with a little thinking about the problem, I came up with a simple demonstration application allowing storage of pages within a database system.

Continue reading