CodeIgniter Basics

CodeIgniter is most popular framework to develop projects much faster than you could if you were writing code from scratch, as well as a simple interface and logical structure to access ready made libraries.

CodeIgniter Features:-

CodeIgniter is free.
CodeIgniter is light weight.
CodeIgniter is fast.
CodeIgniter uses MVC pattern.
CodeIgniter generates clean URLs.

Installation:-

CodeIgniter is installed in following easy steps:

1) Download and Unzip the package from https://codeigniter.com/download . 2) Upload the CI folders and files to your server. 3) Do config changes like base url, database details and you can access your site.

Started With CodeIgniter:-

CodeIgniter is MVC framework which means Model-View-Controller.

The Model represents your data structures. Typically your model classes will contain functions that help you retrieve, insert, and update information in your database.

The View is the information that is being presented to a user. A View will normally be a web page, but in CodeIgniter, a view can also be a page fragment like a header or footer. It can also be an RSS page, or any other type of “page”.

The Controller serves as an intermediary between the Model, the View, and any other resources needed to process the HTTP request and generate a web page.

You create statics pages in views , for custom requirement you can create helper for commonly used function , you can create custom URI Routing ,you also default and custom Libraries if you needed.

Leave a Reply