Chapter Five
Chapter Five
Front-End and
Back-End
Framework
Definition
A Framework is built on the open-source language PHP and
offers built-in features to improve your software development
lifecycle.
Framework is a platform for creating PHP web applications.
Frameworks provide libraries for commonly used functions
which reduces the steps needed to write from scratch.
Framework provides the basic structure and components to
build web applications.
Advantage of using PHP Framework
Cd app
npm start
Best Server Side Frameworks
Laravel
Symfony
CodeIgniter
Zend Framework
Yii
CakePHP
Slim
Phalcon
FuelPHP
Fat-Free Framework
Laravel
Release in 2011
It became the most starred PHP framework in 2015
It focuses on the end-user first: which means it focus is on simplicity,
clarity, and getting work done.
Designed for developers who need a simple and elegant toolkit to create
full-featured web applications.
Laravel has a very rich set of features which will boost the speed of web
development.
It saves a lot time if you are planning to develop a website from scratch.
Moreover, a website built in Laravel is secure and prevents several web
attacks.
Advantages of Laravel
Migrate database:
PHP artisan make migration create_databse_table:
this command is used to create the DB migration file
in your ‘database/migration’ folder.
PHP artisan migrate: used to run the pending
migration changes to the database
Cont…