Latest Photos

Archive

Blog Archive for March, 2009

Book meme #1

Tuesday, 31 March 2009
Tagged: Website, General

The rules: Grab the nearest book to you, using no discrimination or judgement, just the nearest book. Open to page 56, and quote the 5th sentence from that page.

This is the first time that I have done this, so here we go...

1 Comment  |  Continue Reading >

Ditching enum for something more portable and maintainable with CakePHP

Friday, 27 March 2009
Tagged: Website, General

It's one of those questions that I see more and more these days in the CakePHP IRC Channel: "Why doesn't schema support enum?". The reason is that the portability of the enum storage type is not complete. In the interest of keeping portability at a maximum, enum is not supported for schemas.

So what now? Well, fortunately there is not only a solution to the problem, there is a method of achieving an enum style storage type using simple tables, and getting a more maintainable set of data in the process. I'll explain how:

4 Comments  |  Continue Reading >

Calling all iPhone users for App ideas

Wednesday, 25 March 2009
Tagged: Website, General

For those of you that know me well enough, you already know that I have bought into the Apple Developer program and have been building some basic little apps to test out Objective C, the iPhone SDK and the device in general. Code to date can be found over at The Chaw.

The iPhone is pretty popular out there. Now, I don't want this to become a spam-fest fighting for your Smart-Phone of choice, but the fact is that Apple has a grip on the market, and the device is selling pretty well. What I am looking for is some creative ideas for apps that you would use, to try and engage myself in more active iphone development, as well as deliver something useful...

0 Comments  |  Continue Reading >

CakePHP CakeFest 2009 Berlin

Tuesday, 24 March 2009
Tagged: Website, General

Look out Berlin! You're going to be invaded by hoards of eager to learn CakePHP nerds.. I don't know how one prepares for that kind of scenario.

CakeFest is exciting. Being somewhat remote here in Australia, and with finances not so great at the moment overall, attendance is shakey for me.. But there is no doubt I will be keeping up to date as the event happens by hanging out online in IRC and keeping up to date on the google groups and such.

0 Comments  |  Continue Reading >

CakePHP fieldsets to keep your forms organized

Friday, 20 March 2009
Tagged: Website, General

This one is pretty simple, but useful for keeping things organised and easy to understand for your users when going through longer form sets.

The fieldset element isn't used as much as it should be. Its great for grouping content, and allowing a mental breakup for the user to make forms easier to comprehend. Guess what, CakePHP makes it super easy to implement!

4 Comments  |  Continue Reading >

Using jQuery to highlight required fields

Friday, 20 March 2009
Tagged: Website, General

One of the things that can get to be a pain in the bum to manage is the little indicator element that your designer has chosen to indicate required fields in a form.

The designer I am currently working with likes to use an asterisk to indicate a required field, and while that is not a problem, it gets fiddly and frustrating to manage down the line as form fields and required data changes through the evolution of a website. jQuery to the rescuse with a cross browser solution for CakePHP, inspired by the :after CSS pseudo class.

1 Comment  |  Continue Reading >