CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

php

PHP – Mixing Smarty tags with PHP code

PHP is used to develop sever side scripts and it is embedded with in HTML code. Smarty Template Engine is used to create HTML templates that are used in PHP scripts. PHP validates the code based on its validation rules. We should follow these rules while developing PHP scripts. The same way, Smarty Template Engine […]

PHP – Building a web-page using Smarty Template Engine

Smarty is a template engine, written in PHP. Smarty Template Engine is used to separate business logic from presentation logic. Business logic is placed into .php files, whereas the presentation layer will be in .tplĀ (Template Programming Language) files. In this article, we will develop a simple web page using Smarty. Let’s take this simple web […]

PHP – Setting up “Smarty Template Engine”

Smarty is the popular web template engine written in PHP for PHP. Main goal of Smarty is clean and easy separation of presentation layer from business logic layer. With Smarty, it will be easy to write code for developing simple websites as well as complex structured websites. Smarty achieved this by separating presentation layer to […]

Scroll to top