Module 1 – Introduction
What is a PHP framework?
PHP frameworks streamline the development of web applications written in PHP by providing a basic structure from which to build web applications. In other words, PHP frameworks help to promote rapid application development (RAD), which saves you time, helps build more stable applications, and reduces the amount of repetitive coding for developers.
Among the most popular frameworks, you will find Laravel, Symfony, CakePHP and my favorite CodeIgniter.
Model – View – Controller
The general idea behind the workings of a PHP framework is referred to as Model View Controller (MVC). MVC is an architectural pattern in programming that isolates business logic from the UI, allowing one to be modified separately from the other.
With MVC, Model refers to data, View refers to the presentation layer, and Controller to the application or business logic. Essentially, this makes coding in PHP faster and less complicated.
What are the Best PHP Frameworks Available?
In the past few years, as PHP has evolved into a scripting language of choice for most developers, there has been an explosion of PHP frameworks to hit the scene.
There are a thousand reasons to choose one framework over another. Here are the main reasons to choose to develop this training with CodeIgniter.
First of all, it’s a lightweight PHP framework with very low memory usage and good execution time. It’s one of the most secure frameworks and requires less coding. But most importantly: The learning curve is short. It does not take long to learn Codeigniter and you will find a very strong IT community to help you.