1. #1
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Brisbane
    Posts
    244
    Vote Rating
    3
    SuperRoo is on a distinguished road

      0  

    Default question on controllers

    question on controllers


    Hi,
    am going through the doco on controllers & having some conceptual difficulties (with respect to Architect) & hope someone can sort me out.
    1. I am looking at have a separate controller to handle a particular view..is this the correct procedure?
    2. The only way a controller is connected to a control or view is on the "controlQuery" property? (i.e vwLogin cmdLogin...listens to a button called cmdLogin on a view called vwLogin)
    3. What's the difference between adding a view to the Application object or the Controller object?
    That'll do for a start.

  2. #2

  3. #3
    Ext JS Premium Member
    Join Date
    Sep 2010
    Posts
    354
    Vote Rating
    5
    stewardsencha is on a distinguished road

      0  

    Default


    Quote Originally Posted by bharatn View Post
    Adding views to controller is deprecated.
    Huh? SA or in extJS? First I heard of this. We just got started with MVC ?!!

    @superRoo. I am no expert but I feel your confusion. Once you try a few pages it sorts itself out. If logic can be encapsulated/handled within a view, it makes sense to leave it there. I found myself writing extra code to create refs and handle events for a view which was more logically self-contained, and really needed to surface only a few configs and one event to the controller.

    There is no one-size-fits-all answer. Code like crazy, then step back and put on your software engineering hat. It becomes self-evident according to your needs...

  4. #4
    Sencha User
    Join Date
    Jun 2011
    Posts
    350
    Vote Rating
    1
    bharatn is on a distinguished road

      0  

    Default


    I have removed the comment on views in controllers until i get further clarification.
    Bharat Nagwani
    Sencha Designer Development Team

  5. #5
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Brisbane
    Posts
    244
    Vote Rating
    3
    SuperRoo is on a distinguished road

      0  

    Default


    thanks for all your advice guys...I'm using Touch & want to make sure the design is OK.

    your comments and links have helped.

Thread Participants: 2

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