Skip to main content

Codeigniter tutorial in Hindi (Introduction)


Codeigniter is an open-source PHP framework that is widely used for creating small/large scale web applications. It is based on the most popular design architecture called MVC. It comes with built-in reusable libraries which enhances the efficiency of a developer while developing an application.

MVC design architecture
There are many design architecture in programming language and the most popular is MVC. If your application is based on MVC, that simply means, your application has three design layers. 

M => Model
V  => View
C => Controller

Model => In a model, we do all the database related operations like fetch or select the data from a database, update a record in the database or delete a record from the database.    

View => In a view, we write all the stuff like HTML, CSS, and Jquery. So, we can say the frontend we see in a browser is a view.

Controller => Well, In the controller, we write our business logic, it works as a bridge between Model and View.

Why use Codeigniter?
It speeds up development because it has full-fledged reusable libraries like Database Library, Session Library, Active Record Class, Form Validation Class, Encrypting Library, etc. As it comes with a small footprint so it is faster than other frameworks. It also comes with decent documentation so it is easy to understand. 

Above youtube video covers a brief introduction of the Codeigniter framework in Hindi.

Comments

Popular posts from this blog

Codeigniter tutorial in Hindi ( get_instance() )

"Codeigniter tutorial for beginners step by step in Hindi 2020" is a video series for beginners who want to learn the Codeigniter framework from scratch. This Codeigniter tutorial video series is perfect for beginners who want to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. Topic:- In this video, I have explained about get_insance() method. In Codeigniter custom libraries or custom helpers, you will not be able to access Codeigniter resources using $this super object. For this situation, we use &get_insance() and it returns a reference of the super object Syntax $CI = & get_insance(); Now we are able to access Codeigniter resources the way given below:- $CI→load→library(''yourLibraryName'); $CI→yourLibraryName→yourMethod()

Codeigniter tutorial in Hindi (Helpers)

"Codeigniter tutorial for beginners step by step in Hindi 2020" is a video series for beginners who want to learn the Codeigniter framework from scratch. This Codeigniter tutorial video series is perfect for beginners who want to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. Topic:- Codeigniter has two types of facilities that can help in the development of the application these are Libraries and Helpers. All the CodeIgniter libraries and helpers are placed in the system folder.

Codeigniter tutorial in Hindi (Directory Structure)

Codeigniter Directory Structure If you want to learn a framework you first have to understand the directory structure of a framework, so I've attached a screenshot above.    When you'll download the footprint of the Codeigniter framework from the Codeigniter official website, you will see the directory structure as shown in the above image. Because it has a very small footprint something around 2.6 MB, it is a very fast and stable framework. If you see the screenshot, you will see 4 folders. And each folder has some subdirectories. Now let me explain these directories. application:- This is the folder where we mostly write our business logic. It consists of models, views, controllers, config, and other important stuff. Overall, all your code will be placed under the application directory.       system:-  This is the folder where you will see all the core files of the Codeigniter framework. It is highly advisable to don't make c...