Course Content
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).
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.
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.
CodeIgniter 4
About Lesson

CodeIgniter makes it simple to set Environment Variables by using a “dotenv” (.env) file. CodeIgniter expects .env to be at the root of your project beside the system and app directories.

There is an env file at the project root in CodeIgniter. You can use this file as a starting place for your application by renaming the template to .env or by making a copy of it named .env.

In the .env file, a collection of name/value pairs is separated by an equal sign.

CI_ENVIRONMENT = development