Home
Webmaster and SEO Blog (home)
Webmaster Forum, Directory and SEO Resources

'Smarty Templating Engine'

Free Targeted Website Traffic

, tech support: Sheeple Develope new Advanced SEO Techniques



Webmaster and SEO Blog --> Table of ContentsNew CommentsTag List


(Login / Register)

Your ad here free



Interact
  • Facebook This
  • Tweet This
  • Post a Blog (Write for us)
  • Ask a Question
      View Questions
4831

Related Ebooks:
4831

Related Resources
4831

Tags

Previous Posts

Blog Roll:


news Smarty Templating Engine; Webmaster and SEO Blog

10 Real Adsense Secrets

Previous (Newer) PostNext (Older) Post

Smarty Templating Engine

12/30/09 04:35

For larger websites, it is pretty common to have a team composed of specialists who will do separate tasks for the front-end and the back-end of an application. The front-end workers are typically concentrated on aesthetics and usability of the websites that are going to be made, while the back-end workers take care of the integrity of the data in the system.

Unfortunately, this has resulted into problems for teams whose members have completely different backgrounds. Presentation coding become part of the code tweaked by the back-end workers, while same goes for those who are in the frontline. What is needed is a tool that will ease this separation of tasks.

One of them is the Smarty templating engine, a web template system written in PHP. During my internship last summer I mainly had to work on this system. Fortunately I was able to accomplish it after a couple of weeks of studying the API and practice.

In a nutshell, Smarty creates web content by using what we call Smart tags, which then reference to some other code upon the generation of the HTML pages. These directives are usually variables or logical constraints. This mechanism allows the PHP programmers to create custom functions that may be used by using the Smarty tags. By compartmentalizing these functions and separating them from the code concerned with the presentation of a site, software maintenance is eased and that would mean more productivity for everyone.

For someone who just learned that time how to program in PHP for the first time, studying how the code worked was surely a mess. The learning code was steep and we had to do some trial-and-error tests before I was able to come out with what I want. Also, I felt like the API was too heavy. Some functions could've been put even more basic, I think. But if you're cool with this set-up, I don't think there's nothing wrong in trying it. I guess if you've already mastered it, then creating websites should be an ease.

News Digest Blog
Tags: • - Permalink
Previous (Newer) PostNext (Older) Post

Comments

Thinking about making a comment on this blog post? Great! But please remember that this space is for just that, comments about this blog post. It is not a place to post random thoughts about other stuff. We found that most of the "comments" posted here are not comments at all and should have really been posted in our forum. So:

  • If you have something to say that's not exactly a comment on this blog post, please post it on the Webmaster and SEO Blog Forum
  • If you are just planning to spam... go away as all the comments are premoderated
  • Have something to actually say about this blog post, please submit your comment here:
Leave a comment:

We welcome your comments on this post in the Webmaster and SEO Blog. That means a comment on this post, not something about some other topic.

Name:     (required)
Email:    (required, not published)
Comment:
         


Note: Your comment will be immediately submitted and you will have no opportunity to review to edit it.

It is recommend that you register on Webmaster and SEO Blog and login so you can include full html (ie: links). We don't have a chapta because we think we're smarter than the spambots.




* www * com * 'Smarty Templating Engine'
Have you added a link to us from your website? (4831):

  • <a href="http://blog.webmasterjrseo.com">Webmaster and SEO Blog</a>
news Smarty Templating Engine; Webmaster and SEO Blog

Website copyright (c) 2006-2010 GLR Sales LLC.




Twitter: @techjungle -- (rozwqizwpwzoi)

Privacy & DMCA Policy -- Those who twitter us!
20091227-140218-Smarty-Templating-Engine php programming 'Smarty Templating Engine'