Monday, April 4, 2022

CodeIgniter3 #1 | Introduction + How to Install

As an introduction and not to complicate things, CodeIgniter is a framework. A file with a bunch of classes and functions that make things easier for us. Those functions are predefined for us.

    CI is another file that we can use with many other classes, properties, objects, etc that we can use with PHP to write code a lot easier. To make code more flexible and secure. CI is based on the Model-View-Controller development pattern.


How to install or setup CodeIgniter 3:

1. Go to https://codeigniter.com/download and download CodeIgniter 3.
2. Extract the downloaded files and rename it. For example:
rename the file
3. Keep in mind that you need to first have xampp installed.
4. Browse through your xampp folder and search for a folder named 'htdocs'. Place your CodeIgniter files inside it, as such:

5. Get into your CI folder and search for PHP 'config' file.

6. Open it with Visual Studio Code and change the URL base name according to your CI folder name.

7. Save the changes made.
8. Open your browser and type in " http://localhost/CodeIgniter3/ "
9. It will open up a page that says "Welcome to CodeIgniter".

Done and ready to code!

No comments:

Post a Comment

Komen atau sebarang pertanyaan di sini :)

WordPress #3 | How to Change Website URL

Hi. Today we're gonna look at how to change your website URL in case you messed up. In this case, yes, I messed up. That is why this pos...