Posts

Showing posts with the label codeigniter

Setting up and understanding the Codeigniter framework

Image
Now download the codeigniter framework from it's official website and place that in the root directory of server configured with PHP. Look into the directory structure of codeigniter framwork files. Now i'm going to discuss about the folders and files included in its directory . This is directory structure of codeigniter Framework given in the adjacent picture and the shown folders and files are included  in the structure of codeigniter framework. Here also a folder in the above directory named as "system" in which library class functions of Codeigniter framework are included. By using the system library of CI, one can easily make a good app rapidly .All one has to do is just follow the rules of working in CI framework.  Lets talk about its working and directory Structure-  first we would discuss about each folder included in its application folder because it is most essential and will help to understand it's working. 1.cache:  At first...

Working with Frameworks of PHP- The MVC structure

Image
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 ...