Let's suppose an HTML page accessed via http://www.example.com/page?id=xxxxx where id identifies the persisted object displayed in the page.
This HTML page has several kendo ui widgets bound to an observable view model via MVVM in complaince with the framework.
The requirement is to have this page properly indexed by search engines. In other words, we need this page to display the persisted object with a text browser (no javascript). What is the proper way to achieve this?
My current approach is to load values in input controls server side, with a serialized copy of the persisted object in a hidden field.
When the page with layout and data reaches the browser, the view model reads its values from the hidden field and the input controls are initialized to display as Kendo UI widgets and bound to the view model.
When the page is read by a search engine crawler, the data is indexed whether the crawler has some Javascript capabilities or not.
Is there a better approach?
This HTML page has several kendo ui widgets bound to an observable view model via MVVM in complaince with the framework.
The requirement is to have this page properly indexed by search engines. In other words, we need this page to display the persisted object with a text browser (no javascript). What is the proper way to achieve this?
My current approach is to load values in input controls server side, with a serialized copy of the persisted object in a hidden field.
When the page with layout and data reaches the browser, the view model reads its values from the hidden field and the input controls are initialized to display as Kendo UI widgets and bound to the view model.
When the page is read by a search engine crawler, the data is indexed whether the crawler has some Javascript capabilities or not.
Is there a better approach?