Declined
Last Updated: 10 May 2016 15:25 by ADMIN
Imported User
Created on: 19 May 2013 08:13
Category: SPA
Type: Feature Request
95
SPA View Locator and Collector
Hi,
i think SPA View needs to be extended with tools to dynamically load new view template/scripts for scenarios (if already loaded dont call server load) in with there are many views that cannot be loaded af first time. Maybe it could implement it as a sort of view datasource for example based on server side with web-api or similar. It can be also extended with a binding for initial view script execution. It will be interesting also the ability of collect rendered or loaded view to quick reuse them with switch transition (extend layout switch with animation switch).
2 comments
ADMIN
Petyo
Posted on: 10 May 2016 13:49
The feature in question definitely makes sense in robust SPA frameworks like Angular, where the navigation is tightly coupled with the view layer - this is not the case with the Kendo UI View/Router, which are intentionally separated.

My guess is that the underlying reason for this request is the need to load certain UI parts on demand. Tools like Webpack approach this from a different angle, providing support for code splitting - https://webpack.github.io/docs/code-splitting.html.
Mike
Posted on: 08 Mar 2014 20:26
Despite the huge bandwidth increases, websites don’t get much faster. This is because the biggest botteneck in loading web pages is latency.

Latency is inevitable with today’s internet architecture so "cheating" by preloading links you are likely to click on, will speed up a SPA. 

Before visitors click on a link, they hover over that link. Between these two events, 200 ms to 300 ms usually pass by. 

Example implementation: InstantClick makes use of that time to preload the page, so that the page is already there when you click: http://instantclick.io/