CodeIgniter
Posted: Thu Dec 30, 2010 8:53 am
I have been reading CodeIgniter 1.7 by Jose Argudo, and I have to say I am loving the CI framework! While the book leaves a bit to be desired (you can easily tell that English is not the author's first language, and it was basically left unedited by a native speaker), the code examples are all sound, and the book is clear and concise. However, this thread is not meant to be a review of this book. Instead, I am wanting to say that Kaos was right, and CI is a great framework, and by far the easiest to use, the most flexible, and the all-around best that I have used yet in my adventures in PHP frameworks of the last 2 weeks or so.
The MVC web development pattern is a Godsend. I enjoyed the separation of logic from structure in ASP.NET, and PHP's "one-pot" mixture looked primitive by comparison. MVC is definitely an evolution for PHP development that moves it more towards the organization of Microsoft's web forms. All of your database code is in your models, all of your display HTML and interface is in your views, and your actual application logic is in your controllers, which act as the gatekeeper for your whole system. Routing scripts and .htaccess files keep your URLs smooth and SEO-friendly (no "file.php?variable=value&pw=12345" URLs). And there is a whole slew of other features, too.
I highly suggest to anyone interested in medium-to-large-scale web development to check out CodeIgniter. I can already see the potential in it, and I think I will be using it on all of my future projects except for the smallest of single pages.
The MVC web development pattern is a Godsend. I enjoyed the separation of logic from structure in ASP.NET, and PHP's "one-pot" mixture looked primitive by comparison. MVC is definitely an evolution for PHP development that moves it more towards the organization of Microsoft's web forms. All of your database code is in your models, all of your display HTML and interface is in your views, and your actual application logic is in your controllers, which act as the gatekeeper for your whole system. Routing scripts and .htaccess files keep your URLs smooth and SEO-friendly (no "file.php?variable=value&pw=12345" URLs). And there is a whole slew of other features, too.
I highly suggest to anyone interested in medium-to-large-scale web development to check out CodeIgniter. I can already see the potential in it, and I think I will be using it on all of my future projects except for the smallest of single pages.