Join Jon Peck for an in-depth discussion in this video Installing CodeIgniter, part of Up and Running with PHP CodeIgniter (2013).
- View Offline
CodeIgniter installation is really straight forward.…I'm going to start by connecting to my local development server, SSH sandbox.…Next, I'm going to change directory to a temporary directory.…I prefer /var/tmp. I'm going to use wget to download the…archive containing CodeIgniter. I'm using version 2.1.3.…So, here's the current full path to that file.…Http://ellislab.com/asset/ci_download_files/reactor/codeigniter _2.1.3.zip.…
Now that the archive has been downloaded, extract it.…I'm going to use unzip and then the name of the file.…Now that the archive has been extracted, change directory to your web root.…In my case, it's media/sf_sandbox. Make sure it's empty before preceding.…Good, I've got a clean slate. Copy the extracted files to the web root.…I'm going to recursively copy using CP -R, and the path for our temp, and then CodeIgniter.…
And then the full contents of the directory to the current directory.…Now that it's been copied, a little configuration is needed.…I'm going to to switch to NetBeans. I'm going to create a new project with a…
Starting with the what and why of CodeIgniter, Jon introduces key concepts such as the MVC pattern and libraries by demonstrating how to create static pages, then storing and displaying magazine info in a database. Advanced topics like classes and helpers are explored to validate user input, upload files, and much more. By creating a complete system, you'll have the foundation to build your own applications with CodeIgniter.
- What is CodeIgniter?
- Creating a static page controller
- Generating output with a view
- What is a model?
- Saving data with Active Records
- Creating forms
- Validating user input
- Listing records in tables
- Uploading images
- Viewing and deleting records