Code Igniter evangelism

After my “discussion” with devkungfoo about PHP MVC frameworks, I decided to re-develop one of our current projects in Code Igniter. The project was about 60% complete, so I thought it might not be a bad idea since I’m anyway not going to have time playing with CI.

It turns out that it is by FAR the best idea I’ve had so far in 2007! I plonked myself in front of my PC over the weekend and started fooling around, reading the docs and testing it. My first thoughts was I’m biteing off more I can chew at such a late stage. Then this morning I plunged into the project to see how far I can get and how long it will take me to get with this project to get up to date (at least till where I am now).

I’m stoked!!! It took me all of a week’s work (thats how long it took me to do the part I’ve done in Code Igniter) in one day. It is amazing. AMAZING!!!

You guys at Code Igniter are the absolute best! PHP Developers, if you are looking to use a MVC framework (and you SHOULD), then stop looking any further and go with Code Igniter.

For the guys at CI, I’m planning to re-develop a pet project of mine later when time allows, and I’ll give back by doing it tutorial style! Maybe I can even persuade devkungfoo to join in. What do you say Dinesh?

Code Igniter

technorati tags:, , ,

Blogged with Flock

Sharing is caring:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • BlinkList
  • blogmarks
  • del.icio.us
  • digg
  • Fark
  • Ma.gnolia
  • muti
  • NewsVine
  • Reddit
  • Shadows
  • TailRank
  • YahooMyWeb

Code Igniter, Kick-ass Tools, PHP Stii

MVC Frameworks

I recently commented like a super-cowboy on devkungfoo’s blog. I made the following (stupid|hot-headed) statement:

I’m considering writing my next big project from scratch, steering clear from any frameworks for now.

Believe me if I tell you that its been on my mind for most of my holiday. I should really learn to think before I shoot my mouth off like some MG42 (I’m playing Call of Duty 3 ;-) ) machine gun!

Let me explain. With the coming of Web 2.0 there has been a lot of focus on MVC (Model-View-Controller) development frameworks. What makes them special is that they follow some very important development principles like the DRY (Don’t Repeat Yourself) principle and they do Database abstraction GOOD! They also encapsulate a lot of standard functions in a “tool library” (if I may call it that) that makes software development quick. Really QUICK. They also separate your data (Models) from your logic (Controller) and your HTML (Views). So all in all, I do not for the life of me know why I made such a comment! MVC’s are great and should be used. To redevelop from scratch, although very novel and brave, is somewhat stupid. Yes, I know I’m contradicting myself something awful, but I’ve been known to do that due to my bloody motormouth. :-)

Last year I spent a lot of time researching a bunch of MVC frameworks. I first of all looked at Ruby on Rails which is arguably one of the best frameworks out there. The cons of this frameworks for me was:

Another great MVC framework written in Python and well worth while checking out if you can develop in Python is Django. But the same goes for Django that goes for Ruby on Rails.

I then decided to look at what is available in PHP since I’m proficient in it. Was I pleasantly surprised! There are hundreds of frameworks! All flavors and for all versions of PHP. Lovely! I still found that there is quite a learning curve involved in these PHP frameworks and although I know PHP like the back of my hand, I have to learn how to implement things utilizing the framework to its full potential!
I ended up singling out two frameworks: CakePHP and Code Igniter.

CakePHP is considered the Ruby on Rails of PHP. A great and extremely powerful framework it is, but I found it a bit clunky and big and in some instances simply overkill!

Code Igniter on the other hand is extremely lightweight and flexible and a whole lot simpler to learn. It lacks in certain aspects as at the time it had no AJAX support, but including AJAX was not a big issue as it was easy enough to do.

So, out of the frameworks, Code Igniter is the one to use for small to medium sized projects.
Code Igniter

technorati tags:, , , , , , , , ,

Blogged with Flock

Sharing is caring:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • BlinkList
  • blogmarks
  • del.icio.us
  • digg
  • Fark
  • Ma.gnolia
  • muti
  • NewsVine
  • Reddit
  • Shadows
  • TailRank
  • YahooMyWeb

Code Igniter, PHP, Python, Ruby (on Rails), web development Stii


RSS Feed
Afrigator
Techleader

Recent Posts

My Posse

Filed in

Past Stuff

Meta Stuff