How about something like this?

db=DAL(.....)
db.define_table('mytable',....)
#in controller:
@auth.requires_login()
def mydalservice(): return db.as_xmlrpc()

and on another app:

db=DAL('https://username:passw...@theabovehost/path/mydalservice')
db.mytable.insert(....)

Pros/Cons? xmrrpc vs rest? Either case is there a standard so that
this could work with it?

Massimo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to