Thanks Massim. This week and next I am focusing on  RPC in different
flavors
for the work I am doing

On Nov 8, 2:33 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> there are two parts of Pyjamas.
>
> 1) the script that takes Python code and generates JS. web2py does not
> include it but if you have it installed you can use it. You can also
> call it from web2py as you would call any other module but most
> likely  you would generate js outside of web2py.
>
> 2) the ability of web2py to expose methods as jsonrpc so that they can
> be called by Pyjamas. that is easy. define a function in a model or
> controller and decorate it with
>
> @service.jsonrpc
> def myfunction(a,b,c): return a+b+c
>
> And you can call it from pyjamas. There is a section in the web2py
> book on this topic written by the creators of Pyjamas.
>
> Massimo
>
> On Nov 8, 12:58 pm, dbb <debe...@yahoo.com> wrote:
>
>
>
> > sorry I men pyjamas not pjamas
>
> > On Nov 8, 12:57 pm, dbb <debe...@yahoo.com> wrote:
>
> > > Do we have the ability to call pjamas from web2py (or incorporated in
> > > gluon) or do we have a similar function in web2py; the functions I am
> > > looking is to get data remotely and to post data remotely and the
> > > remote side to have intelligence( to know) to update the data when the
> > > data is accessed and also to know who accessed the data, e.g., I have
> > > a set of attributes x, y,z to send , and get results w, m, k from the
> > > remote site related x, y,z. The other side my use C++, python, java,
> > > javascript etc, on my side I have web2py- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to