skip to content

DerekAllard.com : CodeIgniter, ExpressionEngine, and the World of Web Design

jQuery hosted on Google and some implications for developers

May 28th, 2008

I finally made the long discussed flip over to jQuery.  It took me about 4 and a half minutes.  It should have been a 30 second process, but I had a few lightbox images relationships named incompatibly.  Anyhow, all fixed up.  I also decided to implement the much talked about Google hosted Javascript library.  In a nutshell, Google is hosting some popular Javascript libraries.  The idea is that if enough people are using the hosted libraries, then there’s a good chance that your visitor has already locally cached the files, and your page will (give the illusion of) load faster.

As a handy extra, they take care of compressing and minifying for you, and are committed to keeping a library online permanently after it is hosted.

That said, I’m not sure how long I’ll keep it.  There are a few things that I think every responsible webmaster has to think about first.  Personally, I would only use it as part of an informed company strategy (I could see a savings on a big site like ExpressionEngine.com in terms of bandwidth and perceived load time).  But there are still some downsides I just haven’t fully reconciled yet.  Let me address the three most relevant ones that I see.

Video: Installing BambooInvoice 0.8.5

May 27th, 2008

This weekend I took some time and built a quick "here's how to install and use BambooInvoice" video. It lasts about 7 minutes, and covers installing, settings, creating your first client, and creating an invoice. If you just want to see how Bamboo works, skip to about 3:10 of the video. I intend on doing a small series of these over time as a way of helping people get familiar with the software, and showing how I use it.

video showing use of BambooInvoice

Quick Link: CodeIgniter Directory

May 26th, 2008

CodeIgniter Directory is aims to become a centralized point to find resources for CodeIgniter, an Open Source PHP framework . You will find here CodeIgniter related blog links, websites, tutorials, applications and libraries or helpers that will help you in your everyday programmer’s life - description stolen blatantly and unapologetically from their about page ;)

I’m channeling Vanilla Ice to build ExpressionEngine 2

May 22nd, 2008

As proof that my eyes are going bleary and that I'm working really hard on ExpressionEngine 2, I present this little gem. Sometime near the end of yesterday, I started to lose my mind. I had been coding for nearly 2 days straight, and had hit setback after setback (I have very little to show for those 2 days unfortunately). An interesting thing happens to me when I'm stressed and tired and frustrated... my mind wanders. It wanders far. In this case, back to 90s rap (keep reading, I swear I'm going somewhere with this). So I did the only logical thing, I decided to drag Derek Jones into the gutter with me and hit him up over IM. He was having a frustrating moment of his own. I was eager to offer a solution:

Me - I have a solution. extend the magic class...
Jones - ::slaps head:: I forgot about it, as per usual.
Me - here's some code

$this->magic->2_legit_2_quit('hey hey');

Jones - you didn't...

And it goes downhill from here...

The great adsense experiment on this site is over

May 22nd, 2008

Earlier this week I put a Google Adsense banner above the first entry on the page.  Most of my traffic is RSS, and you may have never noticed, but if you came to the site to read an article… or you know… visit the old fashioned way, then you were probably greeted by it.  After looking at it for a few days, I’ve decided that those ads are just not something I want there right now.  I mean gah, look at this… how fugly does it get?

Want to see how fugly?  Keep reading.

New look for EllisLab.com, and the GREATEST about us page of all time

May 20th, 2008

EllisLab.com got a bit of an over-hauling yesterday by Rick.  The new site is much more spacious and clean, and well… sexier.  Now normally a site redesign would be a one line entry, or possibly no entry at all, but this new site brings something very, very cool with it.  It features what I consider (without overstatement) to be the greatest company profile pages of all time. Each of the EllisLab staff have been masterfully illustrated as a super hero.  The results are positively stunning.

Keep reading to see them.

Swedish Language Pack for CodeIgniter 1.6

May 16th, 2008

BambooInvoice user Mikael Johansson has graciously translated the application into Swedish (thanks Mikael!) but also extended the translation to include all of CodeIgniter, so I now very proudly offer the Swedish Language pack for CI 1.6.x.

BambooInvoice 0.85 preview

May 14th, 2008

Still cleaning up a few things, but BambooInvoice 0.8.5 is looking pretty close to ready for release.  You a Bamboo user?  Nab it: BambooInvoice 0.8.5 for a look.

The biggest change is actually the installer, and several changes meant to make installing and deploying it easier.  There are a few features still to add, but I’m pretty happy.  Tomorrow I hope to write a bit about what I’ve learned recently in building a distributed app.

For update instructions, read on…

CodeIgniter 1.6.2 Released

May 13th, 2008

Yesterday I mentioned that a new release of CodeIgniter was right around the corner.  Well, today we made it official and released CodeIgniter 1.6.2.

As always, a lot of work has gone into it.  Thirty four (at last count) new features or enhancements are in there, notably including speed and security related code.  The File Helper has seen a series of new capabilities added into it, a Compatibility Helper was added for those of you still stuck on PHP4.  Also, the Zip library is remarkably faster.  Each of those last 2 contributions came from the community (thanks Seppo and StanleyXu) as well as many, many smaller fixes shared by the CI community.  CI rocks.

Paired with this release is the introduction of Tags in the Subversion server for version snapshots.  CLI geeks, starting with version 1.6.1, you can checkout/export full release versions directly from Subversion.

There aren’t any “earth shattering” changes here, but CodeIgniter should now run smoother, faster, and be more friendly.  Also, some groundwork has been laid for some larger changes in the next release.

CodeIgniter1.6.2 just around the corner

May 12th, 2008

I just wrote this on the CodeIgniter forums.

There’s been some notable work dropped into CodeIgniter recently. We’re working on finishing up a few things for a 1.6.2 release. A few noteworthy items include enhancements to Active Record, a new compatibility helper to allow the use of several common PHP5 only functions in PHP4 and come enhancements/behavioural changes in unit testing, form, url, directory and download helpers.

There have been several speed and security enhancements as well, in both CI “proper” (and various libraries and helpers), and of course, the usual round of bug fixes and doc changes. In fact the documentation has grown by 2 pages (Reserved names and Common functions).

If you want to leave a note, by all means feel free. I'm closing comments on this post to keep everything in one place (in this case, the CI forums).

Opera DragonFly released

May 06th, 2008

Since I gave some dap to IE for getting a developer toolkit embedded into Internet Explorer 8, I feel like I should also give kudos to Opera for releasing the top-secret and closely guarded Dragonfly.  Opera annoyed the hell out of me at SxSW when they devoted an entire booth to promoting “Dragonfly”, but refused to tell me anything about it.

I’ve only had a quick look of it, but it does look like a pretty slick tool.  The main problem I see for them here, is that they are fourth in the market (IE, Firefox, Safari, Opera) and fourth to get a developer toolkit.  Its hard to work from a position of weakness like that.  I hope they prove me wrong, since competition is always good for what we do, and I have to say, I’ve always had a soft spot for Opera.

Opera Dragonfly

If you have the chance to play, please leave comments with what you think of it!  How does it compare to Firebug?  How does it compare to IE?

Stupid pet tricks

May 06th, 2008

Ever get so wrapped up in your work that you forgot to eat?  I found an alternate source of sustenance.  My cat.

jQuery User Interface is officially out

May 05th, 2008

Well, I was greeted pleasantly by my RSS feeds today, it seems that the jQuery User Interface project has officially released. 
jQuery UI screen capture

This is great news, and I have to say (I’ve been using the UI components in beta) that they are brilliantly done.

CodeIgniter textmate bundle and other stuff that’s saving me time

May 04th, 2008

I was thrilled to see that there was an update yesterday to the CodeIgniter Textmate bundle for CI 1.6.  If you use Textmate or E-Texteditor (Windows) then download it and give it a shot.  Nice work… thanks, I’m using it right now!

A few other little utilities I’ve been getting a lot of use out of recently.  The first is the excellent clipboard utility Jumpcut.  It keep track of the last 10 (that’s configurable) things that you’ve copied and makes them available to you.
jumpcut screenshot

There are also handy keyboard shortcuts to get at it.  Normally not super-useful, but I’ve been doing a lot of work that has needed me to copy and paste language keys, and this let’s me buffer up a whole page worth of

$this->lang->line('something');

and paste it all at once.  Sure faster then copy > flip page > paste > flip back > copy > flip page > paste > repeat again and again.  Its also open sourced under the MIT License.

Another great little tool I’ve discovered recently is for my mouse.  I’m one of those guys that needs and uses the 4th and 5th buttons on my mouse.  The left I use for copying, and the right for paste (see a pattern here), but in Leopard, those buttons default to… jeez I don’t remember… Expose I think.  Reconfiguring them was a bit of a pain.  Fortunately, I found the excellent USB Overdrive, which you can use to re-program your mouse buttons.  Aside from having what might be the ugliest website I’ve seen this year, the little shareware application has been fantastic, and is well worth plunking down my $20 for it (although to be clear, the downloaded version is 100% functional and remains so).

On the topic, other little known utilities that I love include caffeine (temporarily prevent your computer from sleeping) and AppDelete (gets rid of stray files when deleting a program).  That’s hardly an exhaustive list… just 2 little quickies for anyone reading this ;)

Derek Allard

I'm Derek Allard, a programmer, author, and award-winning instructor. I'm also a Technology Architect at EllisLab, and the programmer behind BambooInvoice, a simple, Open Source, web-based invoicing application. [ more about Derek ]

Recent Archives

Categories