skip to content

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

Freakauth : community driven CodeIgniter authentication

August 26th, 2008

FreakAuth

It is often said, but one of the great things about the CodeIgniter project is the community that sprung up around it.  Hardworking, smart, insightful, patient people. A true “open source” community willing to share in their time, expertise and enthusiasm.  Too often these people don’t get the recognition they deserve.  I just wanted to take a moment to mention one that I’ve always admired - FreakAuth.

FreakAuth is mostly driven by danfreak and grahack.  The project is well documented, highly popular, and frankly, very useful.  The kind of project we’re lucky to have.  Show your appreciation by dropping them a “thank you” or as I did, make a small donation to a worthwhile project.

Thanks Dan and Grahack.

BambooInvoice 0.87 Release

August 25th, 2008

BambooInvoice screenThis release is mostly a bug-fix release, but includes a few features that I had been meaning to get around to, and also has some architectural changes that should allow for some neat things in the future.  Mostly though, some real effort went into trying to make Bamboo as intuitive as possible - the growth in popularity has meant that I’m now seeing it installed in some rather “unconventional” server setups (GoDaddy… I hate you). 

This version of Bamboo also includes an automated “new version check”.  I’m hoping this will reduce the number of very old installations I’m seeing - the newer versions really are superior.  The new version check is just a simple file read from the BambooInvoice website, no information is transmitted, but it can be easily disabled in Settings > Advanced Settings > Automatically check for new versions.

You can get the new version from the BambooInvoice website.

If you are a Bamboo user, and discover any issues with this version, please let me know and I’ll get them fixed right up.

Here’s a small sample from the changelog:

  • Naming changes on “private” invoice notes.
  • Further adjustments to how logos get included.  I think this time all the issues are resolved.
  • Uploading a logo now changes both the web and PDF views.
  • Moved logo insertion code into a centralized location.
  • Added “Edit” option to Ajax client contact creation, move text into language variables.
  • Specified that logo inserts must be jpg or gif for PDF creation.
  • Flushed out new version check tool in utilities.  Its functional now.

Happy Bamboo’ing!

CodeIgniter session changes when using a database

August 21st, 2008

An oft-requested feature has been implemented in CodeIgniter’s session class.  If you use a database to store your session info, then all user data will now be in the database, rather then an encrypted cookie.  From the subversion repository’s changelog

Updated the Sessions class so that any custom data being saved gets stored to a database rather than the session cookie (assuming you are using a database to store session data), permitting much more data to be saved.

More details available in the manual.  Please read the svn upgrading instructions, as a new field needs to be added to the database for this.

“You gotta get up to get down” - Name that tune

August 15th, 2008

So, its undoubtedly the long nights of coding, and repeated triangle chokes I’ve been enduring, but I’ve had this 80’s song in my head and I can’t get it out.  I don’t know the name of the song, or the artist, and I now consider it my personal mission to figure it out.  This song is my white whale.  Its a poorly rapped song, and between every verse is some dude in the background singing “you got to get up to get down… you got to get up to get down...”

I know that’s not much to go on… but if you’re a child of the 80s, it should be enough.  Now I know all you whipper-snappers won’t know it, so if you want to participate, but don’t know the song, then just tell me what song was your white whale.  Sharing in my misery will make me feel better ;)

Please, I beg you.  If you know this song, throw me a lifeline! If you’ve never commented on a blog ever before in your life, make this a first.

Things are getting scary.  A video search for “gotta get up to get down” brought me
this video, which is probably the single most scary thing I’ve ever watched.  And yeah… I’m ashamed to say that I did watch nearly all of it.  Its like a car accident… you know you shouldn’t look but you can’t avert your eyes..

What a bad… bad… bad song!

I hereby pledge that ExpressionEngine 2 will not be released until I have an answer for this.  Jones, Ellis, Camacho… you guys listening!

CodeIgniter Libraries in subfolders

August 12th, 2008

Quietly last night CodeIgniter gained the oft-requested ability to load libraries from subfolders.

Added the ability to store libraries in subdirectories within either the main “libraries” or the local application “libraries” folder.

Many more good things abound in CI-land.

Where’s that file coming from?

August 05th, 2008

Courtesy of PHP::Impact ( [str Blog] ), here's a detailed "map" of the CodeIgniter system's file structure when loading files. Its beautiful.

CodeIgniter File structure

Cool Stuff for Cool People

July 22nd, 2008

Man there’s good stuff on the net, and sometimes I even get a moment to read it!

  • Jamie Rumbelow‘s, got a good start to a series of CodeIgniter articles with his first part of The Guide to CI Databases.
  • From the “D’uh, why didn’t I think of that!” department comes the excellent (and funny) CleverAndy.  You know all those designs you do that your clients pass on for one reason or another?  CleverAndy helps you find them homes so they don’t go to the island for misfit toys (or um… whatever the design equivalent is).
  • 36 seconds!  Fedor Emelianenko… wow.  You are a bad, bad man.  But seriously… Megadeth?
  • Learning ExpressionEngine?  Micheal Boyink (he of the mighty pogo) has put together Train -EE just for you.  Fantastic resources, including instructor led workshop training.  Congrats Mike, this is the way it’s meant to be done!
  • jQuery sparklines.  Looks to sweet to pass on.

BambooInvoice 0.86 Release

July 15th, 2008

Get it while its hot!  BambooInvoice 0.86 features a slew of features and bug fixes including some obvious and useful ones, as well as a few treats. 

For full details, see the changelog.

Turning off smileys in iChat 4

July 10th, 2008

Instant message has become a part of my daily life.  I use it pretty much non stop for work, and my work involves writing a lot of code.  It isn’t uncommon for me to send something like

if ($a=($b+$c))

I like iChat (Adium of course is the old favourite, but hasn’t been used much since I moved to Leopard and Apple improved iChat so much), but sometimes it’s too cute for its own good.  This is especially true of the “helpful” way it converts :) and ;) into :) and ;) respectively. Helpful in the same way that Clippy was helpful.

This behaviour gets very annoying when one is trying to look at code.  The above code example becomes if ($a=($b+$c)).  You can image how annoying this is when every third line of chat is code.  So I went hunting through the iChat preferences to find a little box I could uncheck and turn off smileys, only there was no box to be found.

A quick trip through google didn’t turn up too much either, but I was able to figure out where iChat kept its preferences for that.  A minute later, I had figured out a way to turn them off.  Here’s how:

Browse to /Applications/iChat.app, and “Show Package Contents”.
Show Package Contents

Next up, browse into Contents/Resources/English.lproj and look for a file called SmileyTable.plist.  This is where all the smiley definitions are stored.  Without it, iChat can’t translate smiles, so rename it to “SmileyTable.plist.banished”.  If you ever want smileys back, just reverse the process!

code with no smiles in it

There, that feels better ;)

My robots have taken over Firefox 3

July 04th, 2008

Or maybe… just maybe… the Firefox team has been plotting all along, and have actually taken over my site.  Oh well, I can think of many worse things!

If you’re on Firefox 3, then type about:robots into your location bar.

about:robots

Brilliant, funny, witty.  Robots.  What’s not to love?  This is the second time Firefox 3 has impressed me with their wit.  I also wrote about Beta software? Firefox “gets it” last year.

 1 2 3 >  Last »

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