Hi,

i am wondering, in the context of an RIA, how the idea of exposing a
server-side SQLAchemy class model to the client via something like
[xml-rpc] could possibly work out in practice. 

For starters, this would at least require replicating the class model in
whatever technology the RIA client needs e.g. javascript or actionscript.
Then, the underlying "dot-attribute" lookup operations need to be
implemented to transparently go over rpc... this need not go too far (so
far as to replicate all of sa orm & session conveniences on the RIA client)
but even if minimal, a priori it seems to be a daunting implementation task
(before even considering the underlying network traffic this might
generate). But, the attraction would be that one could trivially
add/modify/save objects transparently directly from within the RIA client,
as if they were local. 

Any thoughts on if at all, how, when, and with what constraints such an
idea could make practical sense? Has anyone explored this route in any way?


Any suggestions for practical alternatives, that minimize the duplication
of equivalent (over client and server) class/object definitions?

mario

[xml-rpc]
http://wiki.pylonshq.com/display/pylonsdocs/Using+the+XMLRPCController


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to