1. #11
    Sencha User
    Join Date
    Jun 2012
    Posts
    14
    Answers
    2
    Vote Rating
    0
    jcorredor is on a distinguished road

      0  

    Default


    I see that we like to digress in this thread. Not using controllers is possible, but it is definitely not the way Sencha intended us to do things, so it's off the table. I found the solution and it is discussed here.http://docs.sencha.com/touch/2-0/#!/video/mvc-part-2However, I'm wondering if it is possible to use the application functions inside the control field or if only queries are possible. I hope the Event Bus solution was taken into account in 2.1.

  2. #12
    Sencha User
    Join Date
    Jun 2012
    Posts
    14
    Answers
    2
    Vote Rating
    0
    jcorredor is on a distinguished road

      0  

    Default


    Sencha discusses a great architecture solution in the video above (around minute 11:30). They call it the Event Bus. It basically means that the controllers can communicate with other controllers by throwing global events which are then handled by another controller.

    This is the way they handle the event...
    Code:
    ...init: function() {
    	...
    	this.application.on({
    		stationstart: this.onStationStart,
    		scope: this
    	});
    }
    ...
    Is it possible to handle this global event under the control field rather than having to use the init function???

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