Twitter Bootstrap and the QuickForm2 Callback Renderer

I don’t know about you, but for me building HTML Forms and styling HTML Forms are maybe the most boring things in web development. It’s repetitive and takes a lot of time to do things correctly.

That’s why tools like Twitter’s Bootstrap and PEAR’s HTML_QuickForm2 can help with this part of our job.

Wouldn’t it be nice to have QuickForm2 generate a markup compatible with Bootstrap CSS, so that you could get a nice looking form without to much efforts? Well, that’s what I plan to do here.
Continue reading

Posted in php | Tagged , , , | 6 Comments

PHP with Intl and Gettext on OSX Lion

Mac OSX Lion ships with PHP 5.3.6. There are also other ways to get PHP working on Lion, for example:

These are all very good solutions, but since I prefer to travel light and the version in Lion already comes with a lot of useful extensions, I preferred to go with it.
Continue reading

Posted in mac, php | 6 Comments

From iPhone to Samsung Galaxy S2

Two days ago, I received my new Samsung Galaxy S2, which is a smartphone running Android. Previously, I was using an iPhone 3G but it really started to feel sluggish more and more with time. I was still using iOS 3 since I had no use for version 4 features and was afraid it would just make the phone even slower.
Continue reading

Posted in digital, life | 1 Comment

Getting started with HTML_QuickForm2

QuickForm 2 is a PHP library which makes the development of complex and modern HTML forms easier and faster. It is the natural successor of QuickForm with a new revamped API, PHP5 support, new features and less bloat. Its development was started in 2007 by Alexey Borzov and Bertrand Mansion, and we are very close to a first beta release. I already use QuickForm 2 in production on a dozen of sites and since its code is almost fully unit tested, it is very stable.
Continue reading

Posted in php | Tagged , | Comments Off