CodeIgniter 4 Tutorial
0% Completed
Introduction to CodeIgniter 4
CodeIgniter is an Application Development Framework. CodeIgniter is a popular and powerful MVC (Model-View-Controller) framework that is used to develop web applications. It is a free and Open-source PHP framework.
MVC (Model-View-Controller)
MVC stands for Model-View-Controller. MVC is an application design model consisting of three interconnected parts. They include the model (data), the view (user interface), and the controller (processes that handle input).
Sessions
The Session class allows you to maintain a user’s "state" and track their activity while they browse your site.
URI Routing
There is a one-to-one relationship between a URL string and its corresponding controller class/method.
Working with Database
Like any other framework, we need to interact with the database very often and CodeIgniter makes this job easy for us. It provides a rich set of functionalities to interact with the database.
Example
Sign in, Send an email and Upload a file
Spreadsheet
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Importing Excel and CSV into MySQL help to save the user time and avoid repetitive work.
Payment Gateway
PayTM, Razorpay payment gateway
PHP version 7.3 or newer is required, with the intl extension and mbstring extension installed.
The following PHP extensions should be enabled on your server:
- php-json,
- php-mysqlnd,
- php-xml
To use the CURLRequest, you will need libcurl installed.
A database is required for most web application programming. Currently, supported databases are:
- MySQL (5.1+) via the MySQLi driver
- PostgreSQL via the Postgre driver
- SQLite3 via the SQLite3 driver
- MSSQL via the SQLSRV driver (version 2005 and above only)
Finish Course Early?
You have not completed all required lessons and assessments.
Your Progress
0%
