Working with Frameworks of PHP- The MVC structure
To work with frameworks of PHP first we have to learn what exactly is the MVC structure and how it works..
MVC is the acronym of Model View Controller.its means it has three main parts ..
1.Model 2.View 3.Controller
Lets see working flowchart of MVC Structure .
MODEL: Models are the place where main logic and codes for manipulating the database are kept ... thus its the main part of any MVC application
VIEW: view is place or directory where codes or templates to interact with users are put..
CONTROLLER: controllers are the place or directory where codes to control over data given by user, are put..
Many frameworks of php are available in the market in paid or free of cost..
But now I am starting with CodeIgniter because it is easy for beginners and you will laern it with no efforts just in first attempt..
First you need to download the latest version of CodeIgniter . after downloading unzip the files and place them in the server's root directory.
MVC is the acronym of Model View Controller.its means it has three main parts ..
1.Model 2.View 3.Controller
Lets see working flowchart of MVC Structure .
MODEL: Models are the place where main logic and codes for manipulating the database are kept ... thus its the main part of any MVC application
VIEW: view is place or directory where codes or templates to interact with users are put..
CONTROLLER: controllers are the place or directory where codes to control over data given by user, are put..
Many frameworks of php are available in the market in paid or free of cost..
But now I am starting with CodeIgniter because it is easy for beginners and you will laern it with no efforts just in first attempt..
First you need to download the latest version of CodeIgniter . after downloading unzip the files and place them in the server's root directory.
Comments
Post a Comment