Business, Tech, Life, and Whatever else

From the category archives:

Develop

Post image for Moving To GitHub

Moving To GitHub

by Eric Barnes on October 29, 2009

This is just a quick update to let every one know I am in the process of moving all the code on this site over to github. The main reason for this is because it is a whole lot easier to create repositories for each different line of code I have. And the fact [...]

{ 0 comments }

CodeIgniter Authorization

by Eric Barnes on July 10, 2009

Today I wanted to showcase some of the popular authorization systems that work with CodeIgniter. From what I can see this is one of the biggest areas the framework is missing. But I also see their point of view because everyone and their brother wants a different setup or want to it perform [...]

{ 6 comments }

CodeIgniter Custom Settings File

by Eric Barnes on July 9, 2009

For today I am going to show you how to create a settings.php file to store your database connection and general config settings. The reason I use this method is because I am creating applications for general public usage and not all want or care about the framework driving the site. They just need [...]

{ 2 comments }

Optimize and Repair A Database With CodeIgniter

by Eric Barnes on July 8, 2009

Today I wanted to show you an easy way to use the CodeIgniter database utilities class to repair or optimize your database.
First off lets take a look at the repair utility. By the user guide it is accessed like this:

if ($this->dbutil->repair_table(’table_name’))
{
echo ‘Success!’;
}

As you can see it is very [...]

{ 1 comment }

Extending the core Controller in CodeIgniter

by Eric Barnes on July 7, 2009

Today I want to discuss extending the core Controller class in CodeIgniter. When developing 68KB I ran into a tricky situation where I needed to auto load several plugins, libraries, and models but they rely on the database which is not setup until the install is ran. So I had to do some outside [...]

{ 3 comments }

CodeIgniter – Change Views Location

by Eric Barnes on July 6, 2009

This is the first post in what is going to be CodeIgniter week here at Eric Barnes. I have been using CodeIgniter a lot and thought it would be good to share some of the tips and tricks I have learned over the past few years. Now with the intro out of the way lets [...]

{ 2 comments }