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. #1
    Ext User
    Join Date
    Apr 2008
    Location
    Austria
    Posts
    58
    Vote Rating
    0
    maku is on a distinguished road

      0  

    Default GXT MVC implementation maturity

    GXT MVC implementation maturity


    HI,

    I played around with the MVC implementation of GXT and wondered about the implementation.

    From my point of view the concept of initializing controller and view isn't really helpfull implemented.

    For example: when I've to explicitly do the initializing (calling the initialize method) of the controller I've no possibility to set the initialize flag of the controller. But the Dispatcher checks this flag and calls initialize method when it is false (and so on).
    For the view initializing, the behaviour is also funny (initializing in context of forwarding an event to a view).

    (BTW, the implementation style is not Java like)

    Could anybody of you share thoughts about the implementation and the experience with it?


    TIA

    Martin

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    2
    gslender is on a distinguished road

      0  

    Default


    Yep, I tried to add it into my project and then removed it... I'm not sure yet if the implementation lends itself well as I only had short attempt and couldn't model a useful use so I decided to remove it for a later stage.

  3. #3
    Ext User
    Join Date
    Apr 2008
    Posts
    376
    Vote Rating
    0
    zaccret is on a distinguished road

      0  

    Default


    Quote Originally Posted by gslender View Post
    Yep, I tried to add it into my project and then removed it... I'm not sure yet if the implementation lends itself well as I only had short attempt and couldn't model a useful use so I decided to remove it for a later stage.
    So what do you use instead ? Did you implement your own MVC design ? Are you massively using Composite widgets like in the GWT samples ?

  4. #4
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    2
    gslender is on a distinguished road

      0  

    Default


    Quote Originally Posted by zaccret View Post
    Are you massively using Composite widgets like in the GWT samples ?
    Yup... and it sucks....!!

  5. #5
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Martin
    I have updated the visibility of most of the fields in Controller and View to be protected including initialized.

  6. #6
    Ext User
    Join Date
    Apr 2008
    Location
    Austria
    Posts
    58
    Vote Rating
    0
    maku is on a distinguished road

      0  

    Default


    Quote Originally Posted by darrellmeyer View Post
    Martin
    I have updated the visibility of most of the fields in Controller and View to be protected including initialized.
    Thanks, this makes life easier. I assume the change will be available in beta3.

    BTW, from my point of view it would be helpfull to provide "Java like" getter and setters for working with class members.

  7. #7
    Ext User
    Join Date
    Apr 2008
    Posts
    376
    Vote Rating
    0
    zaccret is on a distinguished road

      0  

    Default


    Quote Originally Posted by maku View Post
    BTW, from my point of view it would be helpfull to provide "Java like" getter and setters for working with class members.
    I agree with you, but only for the cases we want public access to members. Here we wan't protected access so no need for getters/setters. Take a look at http://extjs.com/forum/showthread.ph...327#post164327 . By the way, darell, there is still some classes with public members.

  8. #8
    Ext User
    Join Date
    Apr 2008
    Posts
    376
    Vote Rating
    0
    zaccret is on a distinguished road

      0  

    Question


    Quote Originally Posted by gslender View Post
    Yup... and it sucks....!!
    I've seen another approach in the explorer demo. There are only 3 Views (Content, App and Navigation) and you have a lot of objects extending LayoutContainer and overriding onRender. This is confusing me, here I don't clearly see the responsibility of View since most of the UI rendering logic is implemented in these Containers.

  9. #9
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    The explorer demo pages are unique as they need to run in isolation. This is why each demo page implements EntryPoint and does not extend any or directly reference any demo specific classes.