Using the Google Users Service with jQuery Mobile -
i wondering better way let jquery mobile app "know" user of app after completing registration process.since handlers in python google app engine app expect username, decided store username in localstorage
, use part of request made server.but don't think design idea (?).after lot of search, have found jquery mobile not support google login (please correct me if wrong) have decided use users service
server end.i confused on how implement this, since users
service google has it's own sign-in form. possible use same service jquery? if so, can change design of sign-in form blend in design of jquery app?
jquery mobile template designer created directly mobile web applications using mobile web browser. not possess connections server side scripting automatically.
you need create connection using server side scripting.
once login in using google login, app associates google account.
jquery browser scripting. not have automatic connection server unless connect using ajax request server, still need code server using http protocol (as tunnel) , server side scripting language java, python, or php.
if want "username" using javascript, may use rest user information after login. may how json or xml rest created (but putting username on local storage not bad option, without password, may deleted if clear root), knowing connected google sign in, long logged in google, app should able retrieve google username.
udacity contains complete course web development focused on google app engine using python, , how may use cookies, password encryption, user login. detailed information http protocol discussed.
https://www.udacity.com/course/cs253
note course took existed 2 years ago. may different now.
Comments
Post a Comment