I'm planning to build an ExtJS client with AdobeAIR which communicate with a dedicated data center (PHP). The communication will be using REST web service.

Basically, in the client (ExtJS):
  1. There will be a login form.
  2. On login success, the viewport is available with panels of which the user's role has access.
And in the server (PHP)
  1. Only admins can login directly in it.
  2. User creation, role assignments are handled here.
I already have the server part running. Currently I'm having difficulties in the client side. Any direction about tutorial, link or anything is much appreciated.