[development] namespaced global variables [WAS: Drupal 6.2 theme system standalone]

Adrian Rossouw adrian at bryght.com
Sat Jun 14 15:13:50 UTC 2008


On 14 Jun 2008, at 5:00 PM, Syscrusher wrote:

>
> 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
> classes.
>
Classes do not give us any benefits here over a simple , easy to  
debug, easy to understand function
which works exactly like variable_get and variable_set.

Query builders, data api, forms api.. these are things where objects  
would be beneficial.

not something as simple as this.



More information about the development mailing list