top of page
Writer's pictureabhishekshaarma10

What do you know about Code Igniter



What is Code Igniter


Best Private Engineering College in Jaipur have many courses like Code Igniter it is an Application Development Framework - a toolkit - for people who build websites using PHP.

Code Igniter is open source.


Was built by Elli slab.


Also it is a PHP framework, easy to learn, and suitable for beginners


It needs no extra configuration also you do not need to use the command line.


It is extremely light.


It is suitable for small or big projects asp all in all, you just need to know some PHP to develop

the applications you want.


Each Controller triggers by a certain URI.


Code Igniter Feature


  • Runs on PHP 4

  • Light Weight

  • Fast

  • Uses M-V-C

  • Clean URLs

  • Packs a Punch

  • Extensible

  • Friendly Community of Users

  • Thoroughly Documented

Best Engineering College in Jaipur Rajasthan says Frameworks are abstract, reusable platforms where we can develop our applications, also They help in writing reusable and better-constructed code and their main characteristic is the MVC (Model – View – Control) architecture pattern.


MVC architecture representation of data from the logic of the application.

The Model work is to accessing the database or executing other operations.

The View work is to what the visitors of the web application see.

The Controller is work is to handling the incoming requests, validating input and showing the right view.


Advantages of Code Igniter


  • Helpers and libraries

  • Support PHP 4 or PHP

  • Exceptional performance weight

  • Very fast

  • Clear document


Disadvantages of Code Ignite


  • ORM is not available

  • Modules

  • Auth Module

  • Ajax


Flow of Code Igniter


User enters the URI of the project then CI gets the request and checks the routes file to find any matches, and If a match is found so it triggers the right Controller and function also the Controller calls the right Model to retrieve / create the data needed,, After the data is retrieved the Controller finds the right View and returns it and View and data is represented to the user


Controller is triggered


It should be shown to the visitor and then it returns that View with the corresponding data.

This is defined by routes also Routes is a PHP configuration file that maps each URL of our web project to a Controller and a certain function.


Code of CI


Libraries:-


  • Benchmarking Class

  • Calendar Class

  • Cart Class

  • Config Class

  • Database Class

  • Email Class

  • Encryption Class

  • File Uploading Class

  • Form Validation Class

  • FTP Class

  • HTML Table Class

  • Image Manipulation Class, Input and Security Class

  • Loader Class

  • Language Class

  • Output Class

  • Pagination Class

  • Session Class

  • Trackback Class

  • Template Parser Class

  • Typography Class

  • Unit Testing Class

  • URI Class

  • User Agent Class

  • XML-RPC Class

  • Zip Encoding Class

Helpers


  • Inflector Helper

  • Language Helper

  • Number Helper

  • Path Helper

  • Security Helper

  • Smiley Helper

  • String Helper

  • Text Helper

  • Typography Helper

  • URL Helper

  • XML Help


Overview CI framework


  • Code Igniter URLs

  • URI Routing

  • Controllers

  • Models

  • Views

  • Auto-loading Resources

  • Security


Auto-loading Resources and libraries, helpers, and plug-in to be initialized automatically every time the system runs.


Managing your Applications:- to have multiple sets of applications that share a single Code Igniter installation, Frontend and Backend


Security


  • URI Security

  • GET, POST, and COOKIE Data

  • XSS Filtering

  • Validate the data

  • Escape all data before database insertion


Directory structure of CI


  • +System

  • +Application

  • -Code igniter

  • -Helper

  • -Libraries

  • -Database

  • -Language


Conclusion


Top Collages of Engineering in Jaipur Rajasthan says Code Igniter supports helpers, which is essentially a collection of functions in a category, for example the helper for working with files (read / write) is “file” and libraries as form validation also all of these can come in handy and help a lot in developing your projects and It supports both traditional structures as Active Records patterns, also someone could set up Code Igniter to run with Doctrine (ORM), a topic that will be presented in another tutorial.


Source: Click here

Comments


Post: Blog2_Post
bottom of page