CodeIgniter is an open-source software rapid development web framework, for use in building dynamic web sites with PHP. This course teaches you basic to advance level concept of Codeigniter to make you a CodeIgniter Pro!
What should I know?
The online guide is designed for beginners with little or no Codeigniter experience. But before you begin, first take the PHP course.
What is CodeIgniter? How does it Work?
What is CodeIgniter?
CodeIgniter is a PHP MVC framework for developing applications rapidly. CodeIgniter provides out of the box libraries for connecting to the database and performing various operations. Like sending emails, uploading files, managing sessions, etc.
Let’s see some of the features that make CodeIgniter great. The following list is not exhaustive but gives you an idea of what to expect when working with CodeIgniter.
The entire source code for CodeIgniter framework is close to 2MB. This makes it easy to master CodeIgniter and how it works. It also simplifies deploying and updating it.
Users tend to favor applications that load very fast. If you have worked with some of the modern frameworks, then you will realize that they take less than one second to load just after installation. CodeIgniter, you can loads on average around less than 50ms. The extra time spent optimizing like is the case in another framework is freed up when you are working with CodeIgniter.
The built-in features are designed to work independently without relying too much on other components. This makes it easy to maintain and make upgrades
The framework uses the Model-View-Controller architectural design. It is industry standard practices when working with web applications. MVC separates the data, business logic, and presentation.
Application specific built-in components:
CodeIgniter has components for sending email, database management, session management and many more as you will discover as we continue with the tutorials.
CodeIgniter comes with some libraries, and helpers out of the box. If what you want is not there or you would like to implement an existing feature your way. Then you can do so easily by creating your libraries, helpers, packages, etc.
CodeIgniter Release History
|2006||First version of CodeIgniter|
|2009||ExpressionEngine 2.0 launched|
|2014||British Columbia Institute of Technology took ownership of the project|
|2019||Stable version 4 expected to launch|
- CodeIgniter is a PHP framework for developing applications rapidly
- The entire source code for CodeIgniter is close to 2MB. This makes it easy to master CodeIgniter and how it works
- The built-in features of CodeIgniter are designed to work independently without relying too much on other components
- The framework uses the Model-View-Controller architectural design
- The framework is well documented, and they are good books, tutorials and answered forum questions on CodeIgniter
- CodeIgniter comes with some libraries, and helpers users out of the box
- CodeIgniter is easy to master for anyone who is already familiar with PHP
- In CodeIgniter user requests a resource, the controller responds first. The controller understands the user request then request the necessary data if it is important.
How to Send Email using CodeIgniter
Email is very important in web applications. When a user signs up, we might want to send them an email to verify their email address and allow the user to confirm subscription. We also use email to reset forgotten passwords, send invoice and receipts to customers, etc. CodeIgniter makes it super easy for us to send emails from our application using a variety of options.
CodeIgniter has a built-in email library that we can work with when sending emails.