The best CodeIgniter .htaccess
There are still a lot of questions on the CodeIgniter forums by people wanting to remove the index.php from their URLs. The default .htaccess in the User Guide has never worked for me, but fortunately I’ve got a .htaccess that seems to work on most, if not all Apache servers. Originally by the great Elliot Haughin.
Better Controllers and Models in CodeIgniter
CodeIgniter is an expressive, flexible gorgeous web application framework, but it is often a little too simple for my personal convenience. In my recent talk at EECI I talked about my experiences with Ruby on Rails and how the PHP and CodeIgniter community could learn from it, and showed off my MY_Controller.php and MY_Model.php classes. I’ve had a few people ask me about them and so I thought I’d release them and write a tutorial here so that you guys can speed up your development and write better applications.
Setting up the perfect CodeIgniter & TDD environment
As CodeIgniter has little built-in test support, it’s often difficult setting up a good environment to allow Test-driven Development using SimpleTest and the CodeIgniter framework. I’ve been using Ruby on Rails a lot recently, and I was inspired by the fantastic built in integration with unit, functional and integration tests, so when I returned to CodeIgniter, I delved into the deep dark world of setting up the perfect CodeIgniter and TDD environmen
Searching CodeIgniter Apps with Sphinx
Due to popular demand, I’m writing this tutorial as a companion to my previous post, Searching SQL with Sphinx. In this tutorial I’m going to show you how to use the excellent Sphinx search engine to provide full-text search functionality to database-powered CodeIgniter ap
CodeIgniter Repo Naming Conventions
With the announcement that CodeIgniter 2 is now under public development over at BitBucket, lots of developers have been moving their open source projects over to Mercurial, and thus BitBucket. With such a big change that is starting to be reflected across the community, I propose we create a globally used convention for naming BitBucket Repositories (or GitHub, for that matter) that contain CodeIgniter-based libraries or projects.
Wrap me up and put me in a box
One of the additions that I’m most excited about to the in-development CodeIgniter 2.0 codebase is the addition of code packages, and the power to then load those packages inside your application. This opens so many doors to developers, because, finally, we can bundle repeated functionality inside a package and distribute it as open-source or free code. Even if you don’t want to expose your own packages, you can re-use them internally, which makes for a veritable mix of both writing application specific code, and abstracting elements of those applications out (such as an authentication engine, for instance) to become re-usable and unspecific. With documentation for 2.0 still patchy, I thought I’d go through exactly how to use packages and what benefits they provide.
Forking CodeIgniter on BitBucket
CodeIgniter 2 is available (in development) on BitBucket, and because of that, it’s ready for you to fork and work on. The EllisLab people are usually pretty good with answering pull requests and feature additions, and the most likely way of them accepting any proposals is for you to dive in and get coding. I thought I’d put together a quick guide on forking CodeIgniter.
Coming up at EECI 2010
There are going to be loads of people at EECI2010 SF, but the majority of them are going to be ExpressionEngine folk. We need to get the CodeIgniter numbers up, people, so I thought I’d post a sneak preview of my talk and my masterclass. If you want to get tickets already, head straight over to the EECI website and get them ASAP!
EECI Wrap-up
I’ve been collecting all the photos, videos, slides and more from my recent trip to San Francisco and the ExpressionEngine CodeIgniter Conference. There’s still plenty more reports, photos, videos et cetera appearing all over the internet, so if you’re interested keep checking back and I’ll update this post with other’s wrap-ups, as I’m sure there’ll be many.
If you missed it, the second ExpressionEngine CodeIgniter conference was held from May 31st - June 2nd in the Fort Mason Centre in San Francisco, California, United States of America. Robert, Janneke, Chris and the rest of the Whoooz! team really pulled out the stops, and ran a fantastic conference.