[development] namespaced global variables [WAS: Drupal 6.2 theme system standalone]
earnie at users.sourceforge.net
Sat Jun 14 16:31:06 UTC 2008
Quoting Syscrusher <syscrusher at 4th.com>:
> On Sat, 2008-06-14 at 16:47 +0200, Adrian Rossouw wrote:
>> Dries didn't like the idea when i floated it 5 years ago, but maybe
>> it's time =)
> If we're talking about that kind of a major change, is it time to
> revisit the question of whether Drupal should use PHP's OOP features,
> now that the PHP language has better OO support than it did several
> years ago?
My opinion is that no and yes. Some modules would benefit from the use
of OO while the Drupal core functionality should remain procedural.
> I realize this has been discussed before, and I'm not trying to open a
> flame war here. If the answer is "Hell no!", then I will not start a
> fight about it. I just thought we might be trying with things like
> home-grown contexts to reinvent a wheel that's already solved by
Put your flames to http://drupal.org/node/270538 if you wish. I'm
working on a feature that we can use to namespace all variables.
Earnie -- http://for-my-kids.com/
More information about the development