Creating a Web Application with PHP and CodeIgniter – Part 4 (Final)

category:  CodeIgniter, Web development

In part 4, we will learn how to add the new data via a form. Part 4 is the final part of the CodeIgniter3 tutorial series. In part 3, we can read the data from a database using Query Builder from CodeIgniter. We create the database and table via phpMyadmin. We, also add a new record in the table via phpMyadmin. In this part, we will add a new record via an adding form. Create a form In this part, … Read More

Creating a Web Application with PHP and CodeIgniter – Part 3

category:  CodeIgniter, Web development

In part 3, we will learn how to create a Model, View, and Controller in CodeIgniter. Also, we will learn the routing. Setting up a model Models are the place where you retrieve, insert, and update data in your database. Basically, the Models represent your data from your database. The example in this part 3, it comes from CodeIgniter tutorial website. If you like to read more detail, you can visit that tutorial. In part 3, I intend to keep … Read More

Creating a Web Application with PHP and CodeIgniter – Part 2

category:  CodeIgniter, Web development

In part 2, we will learn what is MVC pattern. Model-View-Controller (MVC) CodeIgniter is based on the Model-View-Controller development pattern aka “MVC“. MVC is a software approach that separates application logic from presentation. Model The Model represents the data structures (tables in your database). The model classes will contain functions that retrieve, insert and update the data in your database. View The View is the information that is showing to a user. Normally the View is a web page. Controller … Read More

Creating a Web Application with PHP and CodeIgniter – Part 1

category:  CodeIgniter, Web development

A few weeks ago, I was assigned a new project. The requirements were to create a new small application in a tight deadline. The application needed to be secure, lightweight, fast, and quickly adding new features in a small amount of time. I came up with some PHP frameworks (CodeIgniter3, Yii2, CakePHP, and Laravel) and JS frameworks (Reactjs). In the end, the winner was CodeIgniter. If you are a PHP Developer, you may hear one of the popular PHP frameworks … Read More