1. #11
    Sencha User
    Join Date
    Jan 2012
    Posts
    17
    Answers
    1
    Vote Rating
    0
    mminnie is on a distinguished road

      0  

    Default


    No static IDs. Got it. I wasn't planning on keeping them, it was just part of a newbie's testing and figuring things out. Gone....and never again!

  2. #12
    Sencha User skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,338
    Answers
    498
    Vote Rating
    248
    skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of

      0  

    Default


    I've had a bit more of a think about my last post. I'm not convinced my logic actually holds up. If you have a button (a view) with the caption 'Edit User' then the view already implicitly has knowledge of how that view is controlled. My claim that having it fire an editUser event would be moving logic from the controller to the view is dubious at best.

    What I would say instead is that mapping a click event to an editUser event is adding an extra layer of abstraction and you should think carefully about whether you need that extra abstraction before adding it to all your views.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar