What is PHP CODEIGNITER?

Right now, will find out about “PHP CodeIgniter“, what is it? How does it function? How to introduce it?

​Introduction

CodeIgniter is a PHP structure which is utilized to assemble a powerful site utilizing PHP (which is a server-side scripting language). CodeIgniter serves you a straightforward method to construct your site.

​Building a Website takes a great deal of time as we need to compose a ton of code over and over which is frenzied some of the time. CodeIgniter system gives you a ton of functionality which lessens the measure of code just as the time expected to construct a website.​​

​CodeIgniter involves libraries, interfaces, partners, modules and numerous different functionalities which makes your work simple and keep up an elite. CodeIgniter underpins PHP renditions of 5.2.6 or higher. CodeIgniter is an open-source structure. It’s a free, light-weighted toolbox which is anything but difficult to introduce and simple to utilize. So as to utilize CodeIgniter you have to know the fundamental syntax of PHP and how it speaks with the database​?​

​CodeIgniter follows MVC Pattern i.,e Model, View, Controller. In spite of the fact that it doesn’t constrain you to follow it, but it’s in every case great to utilize the MVC design as it is straightforward the information stream.

A controller is liable for dealing with all the solicitation that originates from the program and returns the reaction to it.

Model is liable for the database activities i.e, embed, erase, update, show every one of that happens in the model. CodeIgniter gives a lot of inquiry functions which don’t have to compose the question, you can simply utilize question functions.

The view is to show output or reaction in the program or we can say that view is liable for the User interface.

Presently how about we see how MVC work by this straightforward visual chart.

PHP CodeIgniter Introduction

Note: ​Browser solicitation will initially come to Controller and afterwards the controller will stack the suitable view page as indicated by the URL.

​Installation

​There are for the most part two renditions of Codeigniter are accessible one​ ​is Codeigniter 2.x and the second is a more up to date form which is Codeigniter 3.x.You can straightforwardly download CodeIgniter from its site, here, we have given the URL to download the CodeIgniter from its site.

​Click on this connect to download Codeigniter: https://codeigniter.com/download

​Step 1: Download CodeIgniter from the above connection.

Step 2: the Downloaded record will be a compressed document, extricate it to your wamp folder(if you are utilizing wamp)/or in xampp envelope if there should be an occurrence of xampp.

Step​ ​3: Now you will see an envelope named as CodeIgniter, you can rename it or you can proceed with the equivalent name. Let’s guess we have renamed it to demoCodeigniter.

Step​ ​4: Inside the wamp/xampp open demo​ ​CodeIgniter – àopen applications. Here, you will see many default organizers which are given by CodeIgniter like controllers, perspectives, models and some more.

Step​ ​5: To check in the event that you have effectively introduce CodeIgniter, it’s an ideal opportunity to run it. Open controller organizer, here u will see a PHP record named as “Welcome” which incorporates a file function to stack invite message see. Inside your program type this URL​​: “http://localhost/demoCodeigniter/index.php/Welcome/

What is PHP CODEIGNITER?

Note: ​In​ ​the URL, compose your CodeIgniter envelope name (my organizer name is demoCodeigniter).

Step 6​: If you see something like this, Voila! you have effectively introduced your CodeIgniter.

What is PHP CODEIGNITER?

Must Read: First Example based on PHP CodeIgniter MVC

1 thought on “What is PHP CODEIGNITER?”

  1. Pingback: A simple MVC PHP CodeIgniter Example – JustTechReview

Leave a Comment

error: Alert: Content is protected!!