View Single Post
  #1 (permalink)  
Old 02-07-2008, 07:35 AM
sonesay sonesay is offline
Junior Member
 
Join Date: Feb 2008
Posts: 5
Default How to go about creating templates - new to MVC

Hi everyone,

I'm new to the zend framework but I have about 1 years PHP experience not very long exposure to objects in PHP though. How I used to build my sites was to have 1 template PHP file and use that for every page passing it includes for different sections/pages.

I'm new to MVC and have done the tutorials on the official website but I cant figure out whats the best approach to making templates using the framework. Is there a better method to get the same effect without having to copy and paste a huge block of formating html for each view.

I'm sorry I've looked through the API but cant seem to see what is the proper way to go about it. Any help to point me in the right direction would be greatly appreciated.

thank you.
Reply With Quote