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