1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    68
    Vote Rating
    1
    slngr is on a distinguished road

      0  

    Default Navigation View MVC example

    Navigation View MVC example


    Hi there,

    is there any best practice for Ext.navigation.View in MVC architecture?
    I'm wondering if anybody has a good example at github for example?

    Greetings,
    Chris

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Posts
    3
    Vote Rating
    0
    martinfilliau is on a distinguished road

      0  

    Default


    We have done some work with NavigationView and MVC (Have a look at the webcams part in particular). Not sure if it is the good way of doing it.

    https://github.com/oucs/mobileoxford-sencha

    NB: this is just a proof-of-concept.

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    68
    Vote Rating
    1
    slngr is on a distinguished road

      0  

    Default


    Thx for your reply, now I get an idea!!

  4. #4
    Sencha User
    Join Date
    Dec 2011
    Posts
    103
    Vote Rating
    0
    mike lebowski is on a distinguished road

      0  

    Default


    Hi Martin, thank you for sharing your code. By any chance have you tried your app in phonegap? I amd developing for phonegap, I have an MVC app, and it was working fine as with a Container at the viewport level. But I need to add Search capability, so I thought, "ok, i should probably factor things out one level so that the current top level container becomes one item in a navigation.View and then search can be another item in the navigation.View.

    However, when I tried the minimalist approach of just changing my top view from Container to navigation.View, I just get a blank screen. So I am beginning to wonder if there might be some phonegap specific issues at work.

  5. #5
    Sencha User
    Join Date
    Dec 2011
    Posts
    103
    Vote Rating
    0
    mike lebowski is on a distinguished road

      0  

    Default


    to followup on my own question. It seems that having this code was giving me the white screen
    Code:
        config: {
            fullscreen: true,
            layout: 'fit',
    That code is harmless at worst for a Container, but it seems it is a toxic combination for navigation.View. If I remove the layout: 'fit' , my view appears.

  6. #6
    Sencha User
    Join Date
    Dec 2011
    Posts
    3
    Vote Rating
    0
    martinfilliau is on a distinguished road

      0  

    Default


    I didn't try our application with PhoneGap, but thanks for your feedback!

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