Making Codeigniter clean URLs cleaner

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

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

Interview of distinguished programmers

Posted on the August 11th, 2009 under Programming by Sukumar

Jarosław Rzeszótko from Poland decided to interview distinguished programmers.

Linus Torvalds – The Linux kernel author

Dave Thomas – Author of the “Pragmmatic Programmer”, “Programming Ruby” and other great books about programming. One can read his mainly programming-related thoughts here.

David Heinemeier Hansson – Author of the Rails Framework – the new hot web development framework. He has a weblog here.

Steve Yegge – Probably the least known from guys here, but also made one of the most interestings answers, has a popular weblog about programming. He is also the author of a game called “Wyvern”.

Peter Norvig – Research Director at Google, a well known Lisper, author of famous (in some circles at least) books about AI. See his homepage.

Guido Van Rossum – The Python language creator

Bjarne Stroustrup – C++ creator, has a homepage here

James Gosling – The Java language creator

Tim Bray – One of the XML and Atom specifications author and a blogger too.

An excellent read.

Codeigniter: Separating reads and writes for scaling MySQL

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

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