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 […]

PHP – Arrays

PHP is a popular server-side scripting language mostly used for web-development. PHP does not need to be embedded in HTML tags. PHP code will be in <?php and ?> delimiters (short form <? and ?>). PHP Arrays PHP Arrays are ordered maps contains key, value pairs. Keys can be either integers or strings. String keys are […]

Scroll to top