Category Archives: CodeIgniter

On Versioning Local Packages Like node_modules and sparks

A recent trend in package management is to install packages locally to an application. Composer for PHP is doing it by default, npm for node.js is doing it by default, and a few others are following along. You know who did that schnazz before both of them? GetSparks. Yep, the GetSparks team did it before […]

Also posted in PHP Development | Tagged , , , , , , | Leave a comment

Is Your WordPress Slow? Come See My Talk at Wordcamp NYC

I’ve always had a thing for the ops side of building apps — automating, optimizing, and building for scale (did it for iVillage and Yahoo among others). And let me tell you, a standard WordPress installation leaves plenty of optimization and scaling to think about. It’s not that the WordPress core itself is poorly written […]

Also posted in PHP Development, Wordpress Development | Tagged , , | Leave a comment

The Top 10 CodeIgniter Sparks of 2011

John Crepezzi and I launched (the CodeIgniter package manager and repository) a little under a year ago, and the response we received from the community was overwhelmingly positive. The best part of GetSparks isn’t the site itself. It’s a moderately simple app that provides a vehicle for quickly dropping other developers’ code in your […]

Also posted in PHP Development, Tools | 4 Responses Beta Released, Big Changes

Note: CodeIgniter Reactor 2.0.2 has a bug in it’s core Loader class that breaks package config file loading (and sparks, sadly). It’s recommended that you use 2.0.1 OR the latest at OR make the following change in your 2.0.2 installation: . The last option is the best. It took a month longer than […]

Also posted in PHP Development, Tools | Tagged , , , | Leave a comment

CodeIgniter 2.0 Released, User-Contributed Notes Coming

In my initial post after joining the CodeIgniter Reactor team (over Thanksgiving weekend ’10), I went as far as to saying that you could hold me responsible for the quality of the CodeIgniter documentation. Here’s a universal truth: Documentation > magic. CodeIgniter 2.0 was released last week, with an announcement on the EllisLab news feed. […]

Also posted in PHP Development | 3 Responses

CodeIgniter/PHP + IIS + MySQL + MSSQL: It Works!

There are a lot of people out there who call themselves “LAMP” developers — short for Linux, Apache, MySQL, PHP. That’s the standard configuration for production PHP applications. Recently, I ended up having to build a CodeIgniter application on Windows, IIS, Mysql+MS-SQL, and PHP. Sound like there are bound to be issues? You bet, and […]

Also posted in PHP Development, Tools | Tagged , , , , , , | 18 Responses

CodeIgniter Reactor? What’s Going On?

A couple of weeks ago, Derek Jones of EllisLabs announced that the CodeIgniter Core would officially be branched so a community-driven version of the framework could be created. This new branch will be called CodeIgniter Reactor. The plan, which was clarified today, is focused on allowing a select group of CI engineers to actively commit […]

Also posted in PHP Development, Tools | 9 Responses

Flushing CodeIgniter’s URI-based Cache (Part I)

CodeIgniter’s output caching mechanism — at least in my opinion — has limited usefulness. It can be used to cache the final payload sent to the user for a given number of minutes. But sometimes clearing the cache for all pages or a specific page can be useful, especially if keeping the user from seeing […]

Also posted in PHP Development, Tools | 8 Responses

Enable Site-Wide Profiling With CodeIgniter

A very cool part of CodeIgniter is its ability to give you the ‘profiling’ information for page loads. That is, if you add: $this->output->enable_profiler(true); In your controller before you load a view, CodeIgniter will give you information regarding how fast the page loaded, how many SQL queries executed, the content of each query, and the […]

Also posted in PHP Development | Tagged , , , , , | 12 Responses