To answer this, I will use the answer Smarty itself has written. Reading this you will become familiar with more template benefits and what smarty provides.
- Designers can’t break application code. They can mess with the templates all they want, but the code stays intact. The code will be tighter, more secure and easier to maintain.
- Errors in the templates are confined to the Smartys error handling routines, making them as simple and intuitive as possible for the designer.
- With presentation on its own layer, designers can modify or completely redesign it from scratch, all without intervention from the programmer.
- Programmers aren’t messing with templates. They can go about maintaining the application code, changing the way content is acquired, making new business rules, etc. without disturbing the presentation layer.
- Templates are a close representation of what the final output will be, which an intuitive approach is. Designers don’t care how the content got to the template. If you have extraneous data in the template such as an SQL statement, this opens the risk of breaking application code by accidental deletion or alteration by the designer.
- You are not opening your server to the execution of arbitrary PHP code. Smarty has many security features built in so designers won’t breach security, whether intentional or accidental. They can only do what they are confined to in the templates.
Tags: shopcms, Smarty, Template engine
Buy:Viagra.Viagra Super Force.Viagra Soft Tabs.Cialis.Super Active ED Pack.Propecia.Viagra Super Active+.Cialis Professional.Levitra.Zithromax.VPXL.Cialis Super Active+.Cialis Soft Tabs.Viagra Professional.Soma.Maxaman.Tramadol….
Buy:Arimidex.Retin-A.Nexium.Prednisolone.Zyban.Prevacid.Petcam (Metacam) Oral Suspension.Lumigan.Accutane.Synthroid.100% Pure Okinawan Coral Calcium.Human Growth Hormone.Actos.Zovirax.Valtrex.Mega Hoodia….