Making Codeigniter clean URLs cleaner

Posted on the May 10th, 2010 under Codeigniter,Programming by

Usually when working with codeigniter you come across the use case where you need to remove the extra “index” appearing in the URL for purposes ranging from shorter URLs to SEO.

For example,

Current URL style: http://example.com/controller/method/category1/category2/page-name
Target URL style: http://example.com/category1/category2/page-name.html


…continue reading Making Codeigniter clean URLs cleaner

Codeigniter: Separating reads and writes for scaling MySQL

Posted on the August 6th, 2009 under Codeigniter,Programming by

Generally websites average a ratio of 9:1 or more for reads:writes for their applications which makes MySQL replication as one of the ways to scale you web application. The simplest configuration is to separate reads and writes with all the reads coming from the slave servers.

…continue reading Codeigniter: Separating reads and writes for scaling MySQL