Posts Tagged ‘Web Development’

Remembering Field/Column widths in DojoX Datagrid Component

July 11th, 2009

We had to do implement a workaround for a limitation in the Dojox DataGrid component that does not have an easy way of remembering datagrid column widths adjusted by the user.

This took some time to actually get my head around, but I have managed to “will” this solution into existance. I say “will” because i’m not too happy with the implementation. It’s a workaround that works for the mean time anyway.

I’ve written the description here on the “DevProducts on Blogger” blog – Check out the post for more info: Persistent Column Widths in Dojo (dojox) DataGrids

Create meaningful class attributes, not ambiguous arrays, in PHP

December 29th, 2007

Happy holidays guys, it’s been a while since the last update, but I’ve been busy tweaking our framework at devproducts and wrappin’ presents that I’ve not had the time to actually make any valid posts aside from the odd I shopped here and there post, so I thought it would have been best to keep quiet until I had something meaningful to say.

A couple of years ago, when I had come across some code I had coded when I had first started learning OOP. I came across an object coined “DataSpace” from frameworks like WACT which used this uber-cool pattern.

Going through some of my old code, I’ve noticed some serious flaws. This “DataSpace” been applied wayyyy too liberally throughout almost all my applications.

» Read more: Create meaningful class attributes, not ambiguous arrays, in PHP

Classes & Examples Sub-Category

December 6th, 2007

I’ve created a “Classes & Examples” sub category for PHP. This category will be different from actual Design Patterns in a way that these will be more practical examples which you can modify and use in your own code base (all I ask is that you leave my name somewhere in the credits).

The Posts I will be making in the “Classes & Examples” Sub-Category will be formatted in the following way:

» Read more: Classes & Examples Sub-Category

NIH Syndrome in PHP – CURE YOURSELVES YOU HEATHENS!

December 5th, 2007

After browsing through some other web developer’s websites and speaking to other developers, I think it’s a shame that there’s so much of the NIH Syndrome going on in PHP.

I find that PHP is one of the languages where NIH syndrome is rampant, or at least it has been, nowadays people are slowly starting to practicing some “reusage”. This is a good thing.

» Read more: NIH Syndrome in PHP – CURE YOURSELVES YOU HEATHENS!

Our New PHP 5 Framework Cubix developed to 2.1

September 12th, 2007

Exciting news! Cubix Goes 2.1!

For those who may have missed it, Cubix is the name we gave our home grown framework (don’t sweat it haters, it’s not open source and I won’t be putting it up for public consumption, keep those eyeballs “unrolled”).

Cubix was basically created last year after exploring Zend (which was at the time at a very early preview release), Cake (a little rigid and some scalability issues, also looked like it was ready to bloat), Code Igniter (the focus on a small foot print would have hindered scaling an app) and Symfony (there’s a “how to use symfony” book. I did not really want to spend a few months learning Symfony). » Read more: Our New PHP 5 Framework Cubix developed to 2.1