Hey Cris, maybe you'll have a minute to write an article on Wiki
about this?
...Though you should probably wait for another day or so as I am in a
process of upgrading to Confluence 2.0 now. I'll send an update when
this is done...
BTW, current XMLEncoder implementation should still be optimized for
streaming as it serializes objects to in-memory DOM tree first,
adding significant overhead.
Andrus
On Nov 18, 2005, at 10:02 PM, Cris Daniluk wrote:
> Since everybody is evidently on vacation, I'll answer my own
> question :)
>
> The XML stuff absolutely rocks. With its help, I've written a simple
> DataService that allows me to pipe Cayenne objects directly to the
> browser, where I deconstruct them using JSXML and Dojo.
>
> Essentially, I've been able to bind form fields to the database using
> the XML encoding. I think the Ajaxishness of it all would be a huge
> marketing benefit for 1.2.
>
> Great work, Kevin!
>
> Cris
>
> On 11/17/05, Cris Daniluk <cris.danilu..mail.com> wrote:
>
>> Hi,
>>
>> I am considering using the XML support in 1.2 to directly pipe
>> certain
>> object collections directly out to the browser for reading by an Ajax
>> library, so that I can quickly populate dropdown lists.
>>
>> I haven't spent much time investigating the XML support yet, so this
>> may be a trivial question, but is it suitable for this? In other
>> words, is the XML generated roughly comparable to the objects, so
>> that
>> an XPath query would be the same as an OGNL-style query? Or do all
>> objects get described using the same "schema" (i.e. field names and
>> field values are both defined as values)
>>
>> Thanks!
>>
>> Cris
>>
>>
>
>
This archive was generated by hypermail 2.0.0 : Sat Nov 19 2005 - 08:13:52 EST