Re: [fw-general] RFC: Zend_Dojo_Data associative arrays

2009-04-27 Thread Giorgio Sironi
2009/4/27 lightflowmark 1...@lightflowinterrupted.com I really don't see this as being a big enough enhancement to merit a proposal; hopefully this code will prove useful in the next iteration of Zend_Dojo_Data (and the hoped-for dijit.Tree view helper ;-)) I see the need for matching the

Re: [fw-general] RFC: Zend_Dojo_Data associative arrays

2009-04-24 Thread lightflowmark
OK, I'll put together some code try to turn it into a proposal in the next week or so. Thanks for the input to this. Matthew Weier O'Phinney-3 wrote: -- lightflowmark 1...@lightflowinterrupted.com wrote (on Thursday, 23 April 2009, 05:39 AM -0700): Is there a bonus to describing the

Re: [fw-general] RFC: Zend_Dojo_Data associative arrays

2009-04-23 Thread lightflowmark
Hi Matthew, Not totally sure what you mean by $testArr is a single item - it's an array, surely, in the same way that array($testArr) is an array? It's just an assoc. array rather than a simple array (if that's the right term - simple array?) In any event, it's actually worse than that -

Re: [fw-general] RFC: Zend_Dojo_Data associative arrays

2009-04-23 Thread Matthew Weier O'Phinney
-- lightflowmark 1...@lightflowinterrupted.com wrote (on Thursday, 23 April 2009, 03:05 AM -0700): Not totally sure what you mean by $testArr is a single item - it's an array, surely, in the same way that array($testArr) is an array? It's just an assoc. array rather than a simple array (if

Re: [fw-general] RFC: Zend_Dojo_Data associative arrays

2009-04-23 Thread lightflowmark
Is there a bonus to describing the deeper-nested objects as references rather than directly as in this example: http://www.nabble.com/file/p23196054/order_combined.json order_combined.json ? It seems to add obfuscation for deeply-nested arrays. Would code to convert my original $testArr to

Re: [fw-general] RFC: Zend_Dojo_Data associative arrays

2009-04-23 Thread Matthew Weier O'Phinney
-- lightflowmark 1...@lightflowinterrupted.com wrote (on Thursday, 23 April 2009, 05:39 AM -0700): Is there a bonus to describing the deeper-nested objects as references rather than directly as in this example: http://www.nabble.com/file/p23196054/order_combined.json order_combined.json ?

[fw-general] RFC: Zend_Dojo_Data associative arrays

2009-04-22 Thread lightflowmark
I've been trying to assemble data suitable for building a Dojo tree widget. I've assembled my data as an associative array (actually an assoc. arr. of objects, but that's not relevant), which seems intuitive to me - in any event, there's no way around it that I can see for my use-case. The

Re: [fw-general] RFC: Zend_Dojo_Data associative arrays

2009-04-22 Thread Matthew Weier O'Phinney
-- lightflowmark 1...@lightflowinterrupted.com wrote (on Wednesday, 22 April 2009, 05:44 AM -0700): I've been trying to assemble data suitable for building a Dojo tree widget. I've assembled my data as an associative array (actually an assoc. arr. of objects, but that's not relevant), which