Web Prepration

Web Concept Tutorials

CodeIgnitor

In this article I want to explain how to create login/Admin login page with session in codeIgnitor . CodeIgnitor based on MVC(Model View Controller),  Codeigniter can be also modified to use Hierarchical Model View Controller  which allows developers to maintain modular grouping of Controller, Models and View arranged in a sub-directory format. We are going to create admin login form and also create controller and model of login, CodeIgnitor session is different from simple PHP, So  I will explain login full process step by step. First download codeIgnitor from https://codeigniter.com/download and extract zip file and copy all files and paste it in your project.   Next set base url in config.php file in codeignitor as given below.

Now create a new database and create a admin table in database with given below fields.

And make sure change database connection in config folder database.php file, there are four parameters are needs to

read more >>
Laravel

Laravel is a most powerful framework of PHP which is a purely depends on PHP artisan command. In this post I want to explain how to install and setup laravel on localhost environment. Laravel is created by Taylor Otwell and first beta version released in 2011, It is a fully followed the MVC structured and artisan command laravel is the best php framework comparison to CodeIgnitor,Yii2 etc. Laravel framework Features Bundles provide a modular with bundled features already available for easy addition to applications. Laravel use Composer as a dependency manager to add framework. Object relation mapping is an advanced PHP implementation of the active record pattern, providing at the same time internal methods for enforcing constraints on the relationships between database objects. Laravel provide Query builder more direct database access alternative to the Eloquent Object Relational Mapping. Instead of requiring SQL queries to be written directly, Laravel’s query builder provides a set of classes and methods capable of building queries

read more >>