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