Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  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???