Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 22-06-2009
Member
 
Join Date: Jan 2009
Posts: 59
Looking for templet oriented tutorial for PHP5

Looking for template oriented tutorial for PHP5.

I want to program in a template style and using oop.
I am looking for online document regarding this.
Reply With Quote
  #2  
Old 22-06-2009
Member
 
Join Date: May 2008
Posts: 72
Re: Looking for templet oriented tutorial for PHP5

This PHP5 class functions while creating a massive templating class (in power, not size). This templating class will be capable of an unlimited number of loops, embedded loops, and references. Templating is an easy way to create large sites without much hassle in maintaining a consistent look and feel across them. A standalone template file contains the HTML framework of the page and placeholders. A script can take the template file and replace the placeholders with the appropriate content to produce the final page.
Please refer this:
http://www.codewalkers.com/c/a/Displ...System-in-PHP/

I have referred this & its really helpful.
Reply With Quote
  #3  
Old 22-06-2009
Member
 
Join Date: Jan 2009
Posts: 69
Re: Looking for templet oriented tutorial for PHP5

Hi,

Combining the layout code and the processing code in one file makes gigantic files that are hard to edit and fix problems. Also, having the templates in seperate files allows you to change the look of your site easily or add other dynamic templates with the exact information on them very easily. All of this requires a templating system.

PHP5 templating tutorial
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Looking for templet oriented tutorial for PHP5"
Thread Thread Starter Forum Replies Last Post
PHP5 - PHP login registration help Orlando Software Development 5 01-05-2011 03:24 AM
Difference between PHP4 and PHP5 Balamohan Software Development 5 30-12-2009 05:05 AM
Problem calling JAVA with PHP5 Wyvern Software Development 5 14-11-2009 07:10 PM
Abstract Classes in PHP5 nonose Software Development 2 16-06-2009 02:33 PM
Destructor in PHP5 Duck Software Development 3 18-03-2009 12:01 AM


All times are GMT +5.5. The time now is 03:56 PM.