Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Do you really want to delete this prezi?
Neither you, nor the coeditors you shared it with will be able to recover it again.
Make your likes visible on Facebook?
You can change this under Settings & Account at any time.
Single Page Applications
Transcript of Single Page Applications
Loads all necessary code with a single page load
Redraw the UI without roundtripping Why build a SPA? Richer user experience with less
round tripping maintain navigation, history, deep linking
fits on a single web page
persisting important state on the client
fully (or mostly) loaded in the initial page load
progressively downloads features as required Why? Common traits of a SPA Demo application Let's get dirty! What is the goal? Durandal.js Takes care of the UI plumming
Little incremental work as the SPA grows
Main features View and viewmodel composition
Dynamically load modules as required
Asynchronous programming with promises
Convention based Leverages popular libraries Knockout.js for data binding
Require.js for modules
jQuery for DOM manipulation Knockout.js Require.js Create a module named 'shell', in shell.js Hot Towel template by John Papa
Server ASP.NET Web Api
Entity Framework Client durandal.js
bootstrap http://bit.ly/14tF2yw Because we do so much more than displaying data! Some desired rich data features Let's do it :) Let's look at an example Why not build a SPA? Static web sites where SEO is important