Superglobals In Classes: Revisited

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.
(more…)

Monday, July 13th, 2009 @ 6:00 pm | Comment (11) | Categories: PHP 5, Best Practices, System Architecture
Tags: , , , ,

Keeping Superglobals Out Of Classes

Have you ever written code like this?
(more…)

Monday, December 15th, 2008 @ 1:41 pm | Comment (1) | Categories: Best Practices, Usability, Web Architecture
Tags: , ,


Copyright © 2023 by Brandon Savage. All rights reserved.