Using XTemplate with the Zend Framework MVC design pattern
Here is a (nearly) self contained example of using XTemplate with the
ZendFramework's (
http://framework.zend.com∞) implementation of the Model View Controller (MVC) design pattern.
It is based on the simple book example shown in the
ZendFramework documentation. It also illustrates how one might select different template sets based upon the URL chosen.
Information required to use it:
- The 'web' folder from the archive should be the DocumentRoot (in Apache terms)
- The 'library' folder needs to contain a copy of the ZendFramework library folder contents (not included). e.g. should contain Zend.php Zend/ etc.
You can download the example from
http://zendframework.phpxtemplate.org/Zend_MVC_Example.tar.gz∞ a working copy is installed at
http://zendframework.phpxtemplate.org/∞
CategoryXTemplateDocumentation
XTemplateDocumentation
There are no comments on this page. [Add comment]