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, PHP 5, System Architecture
Tags: classes, objects php 5, OOP, PHP, superglobals
Have you ever written code like this?
Monday, December 15th, 2008 @ 1:41 pm |
Comment (1) |
Categories: Best Practices, Usability, Web Architecture
Tags: classes, objects php 5, superglobals