This is a migrated thread and some comments may be shown as answers.

Managing Views in Single Page Application

3 Answers 146 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
Luc
Top achievements
Rank 1
Luc asked on 27 Mar 2012, 12:16 AM
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

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 27 Mar 2012, 07:43 AM
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!
0
Luc
Top achievements
Rank 1
answered on 27 Mar 2012, 11:52 AM
Thanks Atanas, I casted my vote.

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

Regards
0
Atanas Korchev
Telerik team
answered on 27 Mar 2012, 11:55 AM
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!
Tags
MVVM
Asked by
Luc
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Luc
Top achievements
Rank 1
Share this question
or