Sunday, November 8, 2009

Enriching our RunAroundUser model with utility methods

Very much like PHP runaround application I have added some static and some instance methods which provider useful information such as:
  • Get the logged in user (either native user or the one which has used Facebook)
  • Get the name and email of user  (from facebook or the one stored in DataStore) 
  • Register the Facebook user in our datastore
  • Register the user to Facebook (Still in construction ......)
  • Methods to login and logout the user

0 comments:

Post a Comment