1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    2
    Vote Rating
    0
    KFrederix is on a distinguished road

      0  

    Default Best way to structure re-usable code with sencha?

    Best way to structure re-usable code with sencha?


    Hi all,

    I'm looking for a good way to structure code that will be used in several different sencha apps.

    Let's say I have a few controller, model and view .js files that I would like to re-use across different Sencha Touch apps. How can I set this up without having to copy those files to each of those apps' app/controller, app/model and app/view folders.

    I would like to do this in a way that allows me to modify those files in 1 central place, and then automatically have the modified files in all projects/apps without having to copy them.

    Any ideas on how to do this?

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi!

    take a look on :-
    http://www.sencha.com/learn/sencha-class-system/

    it includes samples for creating & extending a class from another class, its constructor, name spacing, inheritance & processing
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    2
    Vote Rating
    0
    KFrederix is on a distinguished road

      0  

    Default


    I think you misunderstood my question.
    I wrote a few re-usable classes, using the Sencha MVC architecture.

    The point of my question was: how can I maintain these MVC classes in a central place and have them distributed to several different apps without having to (re-)copy them every time a modification is made?

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