Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Koken 0.8.2
  • ContentBox 1.5.2
  • jQPlayer 0.5.2
  • SPOILER ALERT! 0.0.2
  • jQuery Mask Plugin 0.9.0
  • Easing Slider 2.1.2
  • Btapp.js 0.2.0
  • WiiFlash 0.4.5
  • Breeze.js 1.3.3
  • TinyMCE Templates 3.0.2
  • Home > Scripts > Snippets

    Simplest possible PHP templating engine

    download button


    Downloads: 352  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.9/5)
    20 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    tatarynowicz | More scripts
    snippets.dzone.com
    Freeware 

    Windows / Linux
    N/A
    PHP
    June 27th, 2007, 06:29 GMT
    C: \ Snippets

     Read user reviews (0)  Refer to a friend  Subscribe

    Simplest possible PHP templating engine description

    Simplest possible PHP templating engine takes a template name and an array of variables and parses them with a file

    This code takes a template name and an array of variables and parses them with a file
    Example:
    print template('hello', array('who'=>'world'));
    Template (/templates/hello.html)
    Hello !
     
    Outputs:
    Hello world!



    TAGS:

    PHP templating | templating engine | php snippets | PHP | templating | engine

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM