Managing Views in Single Page Application

4 posts, 0 answers
  1. Luc
    Luc avatar
    42 posts
    Member since:
    Jul 2012

    Posted 26 Mar 2012 Link to this post

    Hi,

    In MVVM samples that I've seen so far, I don't see any way to manage Views in an SPA.

    Namely, I'm wondering how to "swap" Views in and out according to the user's selection in, let's say, a navigation menu.

    Would it be a good idea to use the "visible" binding to show/hide different views ?

    Or is there something built into KendoUI to help us manage this ?

    I took a quick look at the KendoUI Mobile, and it seems that there is built-in View management, with transitions and all, so could we somehow reuse this for desktop browser based apps ?

    Thanks for sharing your ideas.

    Luc
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 27 Mar 2012 Link to this post

    Hello,

     The view management functionality is currently included only in Kendo Mobile. You can cast your vote for this user voice item however: http://kendo.uservoice.com/forums/127393-kendo-ui-feedback/suggestions/2678704-single-page-application-spa- 

    All the best,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Luc
    Luc avatar
    42 posts
    Member since:
    Jul 2012

    Posted 27 Mar 2012 Link to this post

    Thanks Atanas, I casted my vote.

    In the meantime, do you have any recommendation or ideas on how to handle this ?

    Regards
  4. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 27 Mar 2012 Link to this post

    Hello,

     Kendo UI currently does not provide any means to do what you are after. Perhaps you can use the visible binding to hide and show parts of your page. However this may become hard to maintain when the number of views starts to grow.

    Regards,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top