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, May 17th, 2007

Follow Coding Standards

Being a self-taught beginner at one stage, I understand that code formatting and other concerns NOT regarding syntax is taken for granted, I mean, when you pick up your first programming language, the one thing you want is for your application to work, heck, when some beginners first started programming PHP, they have no idea what a “coding standard” is let alone it’s existence and haphazardly hack away line for line at their scripts without regard.

More…

Leave a comment » Filed under Tips for beginners by rvdavid at 21:07.

back to top

Monday, May 14th, 2007

Format your PHP Code

After fixing my wireless issues with Kubuntu Feisty, I went on a little break. I was sick of looking at my dual monitors and eye-candy rotating desktop cube *rotates cube* - well ok… maybe not the cube, but now that I’m back, I’d like to bring your attention to formatting your PHP code.
More…

Leave a comment » Filed under Tips for beginners by rvdavid at 1:09.

back to top

Credits:

© rvdavid blogs: Web Development | Powered by WP 2.3.1

Tree theme modified based on headsetoptions