Last December, I wrote about the use of PHP superglobals inside of classes (link here). I asserted at the time that superglobals inside of a class violated some basic rules on what a class was supposed to do. Today, I am revisiting that discussion.
Monday, July 13th, 2009 @ 6:00 pm |
Comment (11) |
Categories: Best Practices, System Architecture, PHP 5
Tags: PHP, superglobals, classes, objects php 5, OOP
Have you ever written code like this?
Monday, December 15th, 2008 @ 1:41 pm |
Comment (1) |
Categories: Usability, Web Architecture, Best Practices
Tags: classes, objects php 5, superglobals