CodeIgniter Research

Screen Shot 2014-01-27 at 10.39.02 AMAs I mentioned in the Parse.com post, I wanted to do some research on CodeIgniter for PHP development.

I didn’t get too far before I started looking also at Laravel. But I wanted to post my CI related notes as I have them so far.

Again, I’m using MAMP and you can read my previous post about Parse.com/MAMP here.

CodeIgniter http://ellislab.com/codeigniter

Some tutorials (I didn’t go thru these, but wanted to ref them for later): http://www.catswhocode.com/blog/awesome-tutorials-to-master-codeigniter

11 video tutorials: I did go thru these and they were helpful:
http://www.youtube.com/watch?v=9hRNFgSLLAQ

———————
mod_rewrite:
MAMP Apache has it already. Remaining steps…
1. Create/edit .htaccess at the project base did and add the contents from:
http://stackoverflow.com/questions/15252642/mamp-pro-codeigniter-pathing-issue

2. Change ‘RewriteBase /‘ to add the project did on the end like ‘RewriteBase /CIProject/‘

3. Edit config.php under the /application/config dir
– set $config[‘index_page’] = ‘’;

4. Extra: Add this to a php file to find out the php info (including mod_rewrite):
echo phpinfo();
———————

Some other notes for historical purposes…

Auto-load a library:
– application/config/autoload.php
— ‘libraries’ – examples there

Database ref:
– create database via phpMyAdmin: http://localhost:8888/MAMP/?language=English
– application/config/database.php
— settings: hostname, username, password, etc.