CodeSteps

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

Author : mourya

Drupal 7 – How to set file system paths?

Drupal’s File module allows to upload and attach the files to content. The file module will use default locations to store and manage the files. Drupal allows you to set the locations where Drupal will store the files. Most of the time we can go with the default locations (file system paths) which are defined […]

Drupal 7 – Creating a module (Part – 1)

Drupal is the famous Content Management System used to build websites. Drupal allows extending its functionality by creating modules. Drupal has its own Core modules and allows users to develop their own modules; say Contributed modules and link with them with Drupal. In this series of articles, we are going to discuss creating modules in […]

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