Date for Desert Code Camp - 2012.1  Saturday, November 17, 2012 8:00:00 AM - Saturday, November 17, 2012 6:00:00 PM

Sharing templates between server and client - An ASP.Net MVC View Engine

Most agree that the web sites we design should have progressive enhancement. But how does this reconcile with the push for more and more dynamic web applications where so much of the data is dynamically loaded via Json... I'll show how I integrated the use of a single templating library, JsRender, on both the server and client side. JsRender is a Javascript library intended as the replacement for jQuery Templates on the web browser. On the server side, I made a ASP.Net MVC View Engine using the .Net Javascript engine, Jurassic, to run the same exact template on the server, providing a completely populated webpage even if Javascript is disabled on the client.

Track

.NET

About the session

The session is approved.

The presenter will allow another presenter.

There are 30 people interested in this session.

Presenters

Nathan Brown

Scheduled

Room
IRN-231
Time
4:45 PM - 5:45 PM
Calendar File
 Download
Heads up!  Log in to sign up to teach or attend this session.
Edit Session