I really want to have some "ROP AJAX client" too. Particularily, GWT ROP
CLient, so that we could work on Web client same way (but using async calls,
of course) we do it on ROP client. What I soon found is that currently ROP
client has very complicated logic, in fact it lives its own life. E.g. it
can do resolving lazy relationships as needed (and in the middle of
method!), which is impossible in asynchronous AJAX model. So I ended up
writing simple module that converts server-side objects to JSON.
Another problem is that unlike server-side objects, client-side objects do
not have a map for all properties (anyone knows why it was done so?),
therefore they cannot be resolved without Reflection, and GWT does not have
reflection. But, I really want to fix this in 3.1 as a step to unificate
server-side and client-side objects.
So, creating "GWT ROP Client" is a separate step, which contains several
ideas from ROP, but should have its own architecture.
2009/11/19 Kevin Menard <nirvdru..mail.com>
> On Tue, Nov 17, 2009 at 2:53 PM, Michael Gentry <mgentr..asslight.net>
> wrote:
> > On Tue, Nov 17, 2009 at 2:26 PM, Andrey Razumovsky
> > <razumovsky.andre..mail.com> wrote:
> >> --- ROP: unify client- and server classes. i really want to see classes
> that
> >> can work both on client and server someday.
> >
> > I've never used ROP, but a lot of us here are starting to look into
> > AJAX for use in our applications and I'm wondering if some kind of
> > AJAX/JSON support via ROP would be useful.
>
> We had an SoC project a few summers back that support WSDL for ROP.
> That may be your best bet and it is something I'd like to resurrect.
> Layering JSON on top of that should be rather straightforward.
>
> --
> Kevin
>
-- Andrey
This archive was generated by hypermail 2.0.0 : Thu Nov 19 2009 - 03:22:18 EST