Saturday, December 29th, 2007

Create meaningful class attributes, not ambiguous arrays, in PHP

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.

More…

Leave a comment » Filed under Tips for beginners by rvdavid at 14:52.

back to top

Thursday, December 6th, 2007

Classes & Examples Sub-Category

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:

More…

Leave a comment » Filed under Classes & Examples by rvdavid at 0:22.

back to top

Wednesday, December 5th, 2007

NIH Syndrome in PHP - CURE YOURSELVES YOU HEATHENS!

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.

More…

3 comments » Filed under PHP Programming by rvdavid at 23:01.

back to top

Credits:

© rvdavid blogs: Web Development | Powered by WP 2.3.1

Tree theme modified based on headsetoptions