Home arrow PHP arrow Simple PHP Templates With PatTemplate

Simple PHP Templates With PatTemplate

PatTemplate is a template system that gives us the power and flexibility to add templates to our PHP driven sites. In this article Havard gives us details and examples of how to use patTemplate with PHP.

Author Info:
By: Havard Lindset
Rating: 5 stars5 stars5 stars5 stars5 stars / 217
June 26, 2002
  1. · Simple PHP Templates With PatTemplate
  2. · An Overview Of PatTemplate
  3. · How to Process Template In PHP
  4. · Different Template Types
  5. · Template Visibility
  6. · Conclusion

print this article

Simple PHP Templates With PatTemplate
(Page 1 of 6 )

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.
blog comments powered by Disqus

- Removing Singletons in PHP
- Singletons in PHP
- Implement Facebook Javascript SDK with PHP
- Making Usage Statistics in PHP
- Installing PHP under Windows: Further Config...
- File Version Management in PHP
- Statistical View of Data in a Clustered Bar ...
- Creating a Multi-File Upload Script in PHP
- Executing Microsoft SQL Server Stored Proced...
- Code 10x More Efficiently Using Data Access ...
- A Few Tips for Speeding Up PHP Code
- The Modular Web Page
- Quick E-Commerce with PHP and PayPal
- Regression Testing With JMeter
- Building an Iterator with PHP

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials