cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Razumovsky <razumovsky.and...@gmail.com>
Subject Re: Plans for the future (aka 3.1 roadmap)
Date Thu, 19 Nov 2009 08:21:26 GMT
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 <nirvdrum@gmail.com>

> On Tue, Nov 17, 2009 at 2:53 PM, Michael Gentry <mgentry@masslight.net>
> wrote:
> > On Tue, Nov 17, 2009 at 2:26 PM, Andrey Razumovsky
> > <razumovsky.andrey@gmail.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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message