WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDESPHP CLASSESCODE SEARCHARTICLES SEARCHPHP FORUMSPHP MANUALPHP FUNCTIONS LISTWEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Join us on FaceBook
Submit a code Example / Snippet Submit Your Code
Poker Tournaments Poker Tournaments
Poker Guide for Developers Poker Guide for Developers
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Resources
Web Development Content
Internet Security Software
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
פרייסז - הכח לקנות עובר לידיים שלך
Texas Holdem Poker Evangelists

Go Back Add a Comment Send this Article to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES SUBMIT AN ARTICLE PRINT
Title : Simple PHP Templates With PatTemplate
Categories : PHP, Templates
devarticles
devarticles
Date : 2002-06-27
Grade : 0 of 5 (graded 0 times)
Viewed : 4556
Search : More Articles by devarticles
Action : Grade This Article
Tools : My Favotite Articles


Submit your own code examples 
 


Introduction

If you've ever written a large-scale PHP application you've probably seen how cumbersome it can be having PHP and HTML all mixed up in one file -- and it gets even worse when you have to update your design. This is what template-engines are here for. Template-engines separate programming logic and design, which results in better readability for both your PHP and HTML code. This in turn makes our lives as developers easier.

When I started my search for a template engine that I could use in my applications, I was looking for these features:


  • Easy to use
  • Easy to learn
  • Visible in different browsers


The template-engine I ultimately ended up choosing was patTemplate, which was developed and created by Stephan Schmidt. You can download it for free from http://www.php-tools.de and I recommend that download it before you continue before you continue reading.

Read More...









Web Development With PHP FastTemplate
Categories : PHP, Templates, FDF
Theme Your Website Once and Forever!
Categories : PHP, Templates
Writing Your Own Template Caching Class In PHP
Categories : PHP, Cache, Templates
Using PEAR HTML_Template_IT For Modular Interface Design
Categories : PHP, PEAR, Templates
Injecting XML Content Into Page Templates With patXMLRenderer (part 1)
Categories : PHP, XML, Templates
PHP and MySQL News with Comments
Categories : PHP, Databases, MySQL
PHP Debugging Tutorial
Categories : PHP, Debugging
Keep your Banner Waving
Categories : PHP, PHP Functions, Miscellaneous, Site Planning, Utilities
Using Adobe's Flex Builder tool to connect a PHP backend to the front end
Categories : PHP, Macromedia Flex
Using Multiple Pages for Navigation
Categories : PHP, Navigation
Simple Connection to Microsoft SQL Server with PHP
Categories : PHP, MSSql, Databases
Use PHP to Create Dynamic pdf Files
Categories : PHP, PDF
Building a WAP site using PHP3 and MySQL
Categories : PHP, MySQL, WML, WAP
User identification using cookies in PHP and MySQL
Categories : PHP, Databases, MySQL, Cookies
User Authentication With Apache and PHP
Categories : PHP, Web Servers, Apache, Authentication