Results 1 to 3 of 3

Thread: Looking for templet oriented tutorial for PHP5

  1. #1
    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.

  2. #2
    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.

  3. #3
    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

Similar Threads

  1. PHP5 - PHP login registration help
    By Orlando in forum Software Development
    Replies: 5
    Last Post: 01-05-2011, 03:24 AM
  2. Difference between PHP4 and PHP5
    By Balamohan in forum Software Development
    Replies: 5
    Last Post: 30-12-2009, 05:05 AM
  3. Problem calling JAVA with PHP5
    By Wyvern in forum Software Development
    Replies: 5
    Last Post: 14-11-2009, 07:10 PM
  4. Abstract Classes in PHP5
    By nonose in forum Software Development
    Replies: 2
    Last Post: 16-06-2009, 02:33 PM
  5. Destructor in PHP5
    By Duck in forum Software Development
    Replies: 3
    Last Post: 18-03-2009, 12:01 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,245,533.41725 seconds with 17 queries