WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
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 Index
PHP Web Logs (BLogs)
Web Development Resources
Web Development Content
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
Submit Site
Forex Trading Online forex trading platform

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 : 2302
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
Using PEAR HTML_Template_IT For Modular Interface Design
Categories : PHP, PEAR, Templates
Writing Your Own Template Caching Class In PHP
Categories : PHP, Cache, Templates
Injecting XML Content Into Page Templates With patXMLRenderer (part 1)
Categories : PHP, XML, Templates
Theme Your Website Once and Forever!
Categories : PHP, Templates
Working with Dates and Times in PHP
Categories : PHP, Date Time
Date Arithmetic With MySQL
Categories : PHP, Databases, MySQL, Date Time
Using the .NET Assembly in PHP
Categories : PHP, .NET
Aspect-Oriented Programming and PHP
Categories : PHP, Aspect Oriented Programming
Saving Images in MySQL
Categories : MySQL, PHP, Graphics, Databases
PHP References Explained
Categories : PHP References, PHP
Beginners guide to PHP and MySQL
Categories : PHP, Beginner Guides, Databases, MySQL, Installation
Logging with PHP
Categories : PHP, Log Files
Building A Persistent Shopping Cart With PHP and MySQL
Categories : PHP, MySQL, Databases, Ecommerce
Who's Linking?
Categories : PHP, Beginner Guides, To PHP