Skip to main content

What do you know about Code Igniter

 


What is Code Igniter

Best Private Engineering College in Jaipur have many courses like CodeIgniter 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

Popular posts from this blog

What are the MBA Specialization Courses?

Certainly, the number of applicants is increasing exponentially in the management field. The first year of MBA will disseminate the basic knowledge of the core course. It builds a foundation of the basic concepts of the different streams of management courses. However, in the second year, you have to choose the specialization area in a particular subject. Arya College Jaipur offers all the different stream of MBA courses under one roof. The college is one of the best MBA colleges in Jaipur. Many features influence your decision to choose the field of specialization. Some features are job availability, interest, package, etc. MBA Specializations Marketing :  The MBA in marketing is the demand of time. The competition is increasing in the market, and hence, the demand for excellent market skills is increasing simultaneously. The marketing area will develop the ability to differentiate your product from other products ion market. Moreover, it will create the efficiency to sustai...

9 Soft Skills to Advance Your Engineering Career

Strong soft skills are essential for engineers who want to stand out, lead teams, and drive innovation. While technical expertise is the foundation, soft skills enable engineers to communicate, collaborate, and adapt in dynamic work environments. Here are nine critical soft skills that can help advance your engineering career: 1. Communication Skills Engineers must convey complex technical ideas to colleagues, clients, and stakeholders. This includes both verbal and written communication, active listening, and the ability to tailor your message to diverse audiences. Effective communication ensures that ideas are understood and projects move forward smoothly. 2. Teamwork Large engineering projects require collaboration across disciplines. Teamwork involves working cooperatively, sharing responsibilities, and supporting colleagues to achieve common goals. Employers highly value engineers who can contribute positively to team dynamics and help drive collective success. 3. Problem-...

Mastering the Fundamentals: Key Concepts Every Electrical Engineering Student Should Understand

A solid grounding in the fundamentals is essential for every aspiring electrical engineer. Mastery of these core concepts not only enables effective problem-solving and innovation but also forms the basis for all advanced studies and professional success in the field. Core Principles and Laws Ohm’s Law: This fundamental law relates voltage, current, and resistance in a circuit. It states that the voltage across a conductor is directly proportional to the current flowing through it, provided the physical conditions remain constant (V = I × R). Kirchhoff’s Laws: Kirchhoff’s Current Law (KCL): The total current entering a junction equals the total current leaving it. Kirchhoff’s Voltage Law (KVL): The algebraic sum of all voltages around any closed loop in a circuit is zero. Network Theorems: Thevenin’s and Norton’s theorems are essential for simplifying complex circuits and analyzing their behavior.  Basic Electrical Quantities Current (I): The flow of electric charge, measured i...