Search Optimization
  Home arrow Search Optimization arrow Page 2 - Working 'Smarter' with Templates
SEO Chat Forums  
Choosing Keywords  
Google Optimization  
Link Trading  
MSN Optimization  
Search Engine News  
Search Engine Spiders  
Search Optimization  
Web Directories  
Website Marketing  
Website Promotion  
Website Submission  
Yahoo Optimization  
SEO Tools
Adsense Calculator
AdSense Preview
Advanced Meta-Tags
Alexa Rank Tool
Check Server Headers
Class C Checker
Code to Text Ratio
CPM Calculator
Domain Age Check
Domain Typos
Future PageRank
Google Dance
Google Keywords
Google Search
Google Suggest
Google vs Yahoo
Indexed Pages
Keyword Cloud
Keyword Density
Keyword Difficulty
Keyword Optimizer
Keyword Position
Keyword Typos
Link Popularity
Link Price Calculator
Meta Analyzer
Meta Tag Generator
Multiple Link Popularity
Page Comparison
Page Size
PageRank Lookup
PageRank Search
Robots.txt Generator
ROI Calculator 
S.E. Comparison 
S.E. Keyword Position 
Site Link Analyzer 
Spider Simulator 
URL Redirect Check 
URL Rewriting 
Mobile Linux 
APP Generation ROI 
IBM® developerWorks 
SEO Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
SEARCH OPTIMIZATION

Working 'Smarter' with Templates
By: Bill Sterzenbach
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 10
    2004-08-23

    Table of Contents:
  • Working 'Smarter' with Templates
  • Selecting a Template Engine
  • A Typical Dynamic Web Page without Templates
  • Putting Smarty to Work - A Dynamic Template-driven Web Page
  • Places Where Smarty Shines
  • Common Mistakes with Smarty

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Working 'Smarter' with Templates - Selecting a Template Engine


    (Page 2 of 6 )

    When choosing the right template engine for your projects, there are a few critical requirements that should be considered:

    • Extensibility
    • Licensing Model
    • Speed
    • Functionality
    • Usability (Time to deploy)
    • Support

    Enter Smarty

    Smarty is a template engine developed for php. Smarty meets all of the above criteria with flying colors.

    • Smarty is highly extensible through its plug-ins model and large set of available functions.

    • Smarty is licensed under the LGPL licensing model (open source) which most developers are familiar with. The real beauty of this licensing model is that developers are able to redistribute their work as proprietary software with no licensing conflicts.

    • Smarty is extremely fast (especially with the release of 2.0). Visit http://smarty.php.net/benchmarks/ for some interesting benchmarks on Smarty performance. I have seen Smarty used on extremely busy web servers without a hitch. Smarty's caching capabilities ensure that templates are only compiled when changes are made thus greatly increasing performance.

    • Smarty is loaded with functionality. Once you get the hang of it, Smarty can greatly increase the development time of your projects.

    • Though the learning curve is not insurmountable, it will take any developer some time to fully exploit the power of Smarty.

    • Smarty is very well documented and supported through the smarty.php.net website. Their support site contains a quick start guide, many samples, installation instructions, and much more information.

    More Search Optimization Articles
    More By Bill Sterzenbach


     

    SEARCH OPTIMIZATION ARTICLES

    - Mobile SEO: Create, Post, and Track Content ...
    - Has Your Website Been Hacked?
    - WordPress 301 Redirect: Tips and Techniques
    - Five Ways to Optimize Pages
    - Updating WordPress Tips and Techniques
    - WordPress Database Tutorial: Security, Backu...
    - Submit and Update a WordPress Plug-in
    - Are You Optimized? Use SEO Analysis
    - WordPress SEO Tips: Benchmarking Matt Cutts ...
    - How to Increase the Conversion Rate of Your ...
    - SEO Strategies: A Guide to Which Ideas Work ...
    - Setting Up Feedburner for SEO
    - How to Use Feedburner for SEO
    - Statistical Process Control Implementation i...
    - Create Focused SEO with Subtitles



     



    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek