1. #1
    Sencha User
    Join Date
    Nov 2011
    Vote Rating
    zrednaz is on a distinguished road


    Default Unanswered: How to build login feature

    Unanswered: How to build login feature


    I'm trying to create a Sencha Touch prototype app for the first time. So far I have a skeleton app following the MVC pattern. I've managed to create a main view consisting of a Panel with a login button (that does nothing yet).

    I want to implement a login feature that takes a set of user credentials and validates them against my REST/JSON web service. If the credentials are correct, the username/pass must be stored locally and then sent with every subsequent call to the web service for validation.

    Bonus feature: If the credentials ever change on the server, rendering the credentials stored in LocalStorage invalid, the credentais saved in LocalStorage should be wiped and the user should be logged out and sent back to the login screen.

    I'm new here, so any pointers on how to get started on this would be appreciated. What elements do I need, in which files to I place them, how do you tie it together, etc.

    Last edited by zrednaz; 7 Dec 2011 at 7:57 AM. Reason: typo

  2. #2
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Munich (Germany)
    Vote Rating
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all



    for the architecture, i recommend this tutorial:

    it is for ext js 4, but the mvc structure in st 2 is the same.
    Best regards
    Tobias Uhlig

    S-CIRCLES Social Network Engine

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi