Thursday, May 25th, 2006

The Singleton Pattern with PHP

The Singleton Pattern is often mistakenly referred to as the OOP nuts “Global variable”.

Admittedly, I myself have been one of those people who had referred to it as such (this is an edited version you are reading), but in fact, the Global Variable tag that has been given to this pattern is actually a side effect - all you need to do is look at the name.

More…

1 comment » Filed under PHP Design Patterns, PHP Programming by rvdavid at 0:33.

back to top

Thursday, May 4th, 2006

Frustrated about learning PHP on your own?! I can relate…

Having learnt how to program in a couple of server side languages (ASP1 and PHP) on my own, I must say it had been a very bumpy ride. Lots of mistakes, lots of spaghetti code, lots of questions which the “experts” answered “RTFM” to and lectured you about googling first then asking later instead of “wasting their time” (do I sound bitter? Well I kind of am) .

One small but important lesson that I’ve picked up from my sojourn toward “Professional Web Developerdom” is that it’s not really a matter of intellect in this age of Information Technology, but more a test of patience and attention to detail.

More…

9 comments » Filed under General by rvdavid at 13:11.

back to top

Credits:

© rvdavid blogs: Web Development | Powered by WP 2.3.1

Tree theme modified based on headsetoptions