Re: [PHP-DEV] Objectified Request Parameters

2007-01-29 Thread Andrei Zmievski
And I've been trying to get us all to talk about this specific area for a few months now. Incredibly frustrating. At least now we're getting to what people _don't_ like.. -A On Jan 27, 2007, at 4:13 PM, Andi Gutmans wrote: Thanks Sara for the additional insight. Give me a few days to look in

Re: [PHP-DEV] Objectified Request Parameters

2007-01-29 Thread Andrei Zmievski
Why won't it be easy? I think our goal should be make it as transparent as possible, and so far we've been doing a good job of it, IMHO. -A On Jan 29, 2007, at 12:16 AM, Dmitry Stogov wrote: +1 I like this solution and I don't think that BC break is important for many applications. Not a l

Re: [PHP-DEV] Objectified Request Parameters

2007-01-29 Thread Pierre
Hi, strong -1. On 1/29/07, Dmitry Stogov <[EMAIL PROTECTED]> wrote: +1 I like this solution and I don't think that BC break is important for many applications. I disagree: $d = $_GET; $f->do($d); class foo { function do(array $d) {} or function do($d) { if (!is_array())... } } or a simple

Re: [PHP-DEV] Objectified Request Parameters

2007-01-29 Thread Jochem Maas
Dmitry Stogov wrote: > +1 > > I like this solution and I don't think that BC break is important for many > applications. > Not a lot of them use is_array($GET), and I believe no one use > is_object($_GET). > $get = $_GET may be a problem, but moving from PHP5 to PHP6 won't easy in > any case. a c

RE: [PHP-DEV] Objectified Request Parameters

2007-01-29 Thread Dmitry Stogov
+1 I like this solution and I don't think that BC break is important for many applications. Not a lot of them use is_array($GET), and I believe no one use is_object($_GET). $get = $_GET may be a problem, but moving from PHP5 to PHP6 won't easy in any case. Dmitry. > -Original Message- >

Re: [PHP-DEV] Objectified Request Parameters

2007-01-27 Thread Pierre
On 1/27/07, Sara Golemon <[EMAIL PROTECTED]> wrote: > Btw, having a request object was one of the #1 requests in framework :) People actually really like encapsulating this because it > also makes unit testing easier down the road... > Just mentioning this because I don't think we should be to

RE: [PHP-DEV] Objectified Request Parameters

2007-01-27 Thread Andi Gutmans
Thanks Sara for the additional insight. Give me a few days to look into this further and catch the various people in person. Unfortunately I'm going to be at a four day offsite Monday-Thursday but I'll still try my best to touch base and try and find some agreed upon solution. Right now, I would