Practically just finished my little proof-of-concept social-network backend 
(DAL+controller) & web-frontend (web2py views).

Now I plan to make the mobile app with PhoneGap <http://phonegap.com>. 
PhoneGap allows you to create native mobile-apps for 7 different mobile 
platforms in HTML+JS+CSS.

I plan on developing this frontend first by exposing JSONRPC methods 
server-side—by decorating controllers—then interfacing with the API on the 
client-side using JavaScript.

Reading "web2py Application Development Cookbook", and on page 217 (chapter 
7) it tells me that to make authentication work for RPC calls I need to 
break regular authentication methods.

Is there a way to avoid this? — Note that I'm currently logging in using 
the normal method, but will be using Facebook auth in production.

Also, if there is a way to avoid rewriting the frontend from scratch that 
will work with PhoneGap, please tell me.

Thanks for all suggestions,

Alec Taylor

-- 



Reply via email to