Smarty

Smarty

Smarty is an application template system.

ApplicationSmarty
Current Version4.2.1
Categoryframework — Content Management
Install Size3 MB
Licenceopen source

About Smarty

Smarty is a template engine for PHP. More specifically, it facilitates a managable way to separate application logic and content from its presentation. This is best described in a situation where the application programmer and the template designer play different roles, or in most cases are not the same person. For example, let's say you are creating a web page that is displaying a newspaper article. The article headline, tagline, author and body are content elements, they contain no information about how they will be presented. They are passed into Smarty by the application, then the template designer edits the templates and uses a combination of HTML tags and template tags to format the presentation of these elements (HTML tables, background colors, font sizes, style sheets, etc.) One day the programmer needs to change the way the article content is retrieved (a change in application logic.) This change does not affect the template designer, the content will still arrive in the template exactly the same. Likewise, if the template designer wants to completely redesign the templates, this requires no changes to the application logic. Therefore, the programmer can make changes to the application logic without the need to restructure templates, and the template designer can make changes to templates without breaking application logic.

Screenshots

Smarty screenshot 1
Back to Apps
Popular planCloudLinux · LiteSpeed · Installatron

Get started

Host Smarty on cPanel Starter

One-click Installatron deploy for Smarty, free Sectigo SSL and daily Acronis backups — on our Cambridge CloudLinux + LiteSpeed stack.

£4.45/month ex VAT
  • Free UK migration
  • 30-day money-back
  • 24/7 UK support

What's included

Web space
3GB
Email accounts
10
Bandwidth
20GB
MySQL
Unlimited
Addon domains
0
Sub domains
10
Cloud CPU
60%
RAM usage
1GB
Disk I/O
50%
cPanel/Sectigo SSL
Free
Plugins
LiteSpeed Cache

After checkout, install Smarty from Installatron in cPanel in under a minute — no FTP or manual database setup.

Need more information on hosting Smarty?