Archive for the 'Tips and tricks' Category

Implementing rich GUIs in Symfony

Friday, March 30th, 2007

When it comes to rich graphical interfaces, we’re currently being swarmed by all these big and small players readily available on the net - there’s Script.aculo.us, YahooUI, Yui-Ext, Moofx, to name a few of the most prominent. All’s fine and dandy until you try coding some of the stuff inside views of actions.

Getting advanced with objects

Thursday, January 25th, 2007

Just a quick note - if you’re into strict systems specification and architecture, you’re no doubt no stranger to object-oriented patterns and interfaces. In case you were ever tempted to use interfaces in your application, Symfony has a simple way of declaring an instance and having it autoload into the program stack: just declare your […]

Fixing the column problem in IE6

Wednesday, January 24th, 2007

I’ve just stumbled upon a bug in IE6 that doesn’t manifest itself in IE7, and it has to do with floated elements. I’ve used 4 floated columns to display 4 independent DIVs and floated them all left within a container DIV element. During development, I’ve been changing widths of the columns to get them aligned just […]

Fuzziness helps keep focus

Tuesday, January 23rd, 2007

Now, this may sound as an oxymoron in itself - how exactly does vagueness help keep the overall picture in focus? It’s been proven that the human brain can perceive information and filter it to effectively perceive the environment - just imagine each eye capturing something like 8-megapixels’ worth of data every 1/30th of a […]

Generating permalinks

Saturday, January 20th, 2007

We’ve all been there - SEO can be quite a pain in the ass when you’re competing against others for exposure. Turns out, much of the tedious content optimization can be resolved in the development phase, using nice and descriptive URLs.

Back to basics: templating with helpers

Wednesday, January 10th, 2007

If you’re like me (eg. lazy), you’ll have probably tried to make your code as efficient as possible, when it comes to generating output code. And in some cases, you can’t get around declaring your own functions to do your bidding. That’s where helpers come in.

Making your life easier with Factory design patterns

Friday, January 5th, 2007

This time round, I’d like to share a quick tip to those that may not be aware of how to simplify common tasks, such as fetching a specific group of entries within a table.