Single Page Applications mit ASP.NETMVC und der ASP.NET Web API   Alexander Zeitler       PDMLab http://pdmlab.comddc_conf...
Single Page Applications•   „Rich Client“ im Browser•   Responsive•   Best of both worlds•   HTML 5 / JavaScriptddc_confer...
DEMODEMO: Single Page Application in Aktionddc_conference | #ddc12   www.dotnet-developer-conference.de
Single Page Applications•   Angenehme User Experience•   Auf allen Geräten verfügbar•   Offline arbeiten möglich•   via Ap...
SPA: Schema       Server                            UI                          Client                                    ...
SPA: Schema       Server                            UI                          Client                                    ...
DEMODEMO: SPA Entwicklungddc_conference | #ddc12   www.dotnet-developer-conference.de
KnockoutJSvar Viewmodel = function() {        this.title = ko.observable(‚Single Page Applications‘);        this.tags = k...
HTML5 LocalStoragelocalStorage.setItem("key", “value");localStorage.getItem("key");localStorage.removeItem("key");localSto...
AMPLIFYJSamplify.store(„key“,“value“);amplify.store(„key“);LocalStorageSessionStorageGlobalStorage (FF2)UserData (IE)memor...
HTML5 CacheManifest<html manifest=“myapp.appcache"> ...</html>text/cache-manifestCACHE MANIFESTCACHE:NETWORK:FALLBACK: ddc...
http://www.flickr.com/photos/crystaljingsr/391472934                                                                      ...
http://www.flickr.com/photos/nateone/3768979925ddc_conference | #ddc12   www.dotnet-developer-conference.de
Alexander Zeitler                PDMLab      alexander.zeitler@pdmlab.com            http://blog.alexonasp.net            ...
Upcoming SlideShare
Loading in...5
×

Single page applications mit asp.net mvc und der asp.net web api

1,439

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,439
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Single page applications mit asp.net mvc und der asp.net web api

  1. 1. Single Page Applications mit ASP.NETMVC und der ASP.NET Web API Alexander Zeitler PDMLab http://pdmlab.comddc_conference | #ddc12 www.dotnet-developer-conference.de
  2. 2. Single Page Applications• „Rich Client“ im Browser• Responsive• Best of both worlds• HTML 5 / JavaScriptddc_conference | #ddc12 www.dotnet-developer-conference.de
  3. 3. DEMODEMO: Single Page Application in Aktionddc_conference | #ddc12 www.dotnet-developer-conference.de
  4. 4. Single Page Applications• Angenehme User Experience• Auf allen Geräten verfügbar• Offline arbeiten möglich• via App Stores deployableddc_conference | #ddc12 www.dotnet-developer-conference.de
  5. 5. SPA: Schema Server UI Client HTML/CSS Application Navigation JavaScript UI Data access Local Storage HTML/CSS/JS JavaScript Data JSON/XMLddc_conference | #ddc12 www.dotnet-developer-conference.de
  6. 6. SPA: Schema Server UI Client HTML/CSS Application Navigation JavaScript UI Data access Local Storage HTML/CSS/JS JavaScript Data JSON/XMLddc_conference | #ddc12 www.dotnet-developer-conference.de
  7. 7. DEMODEMO: SPA Entwicklungddc_conference | #ddc12 www.dotnet-developer-conference.de
  8. 8. KnockoutJSvar Viewmodel = function() { this.title = ko.observable(‚Single Page Applications‘); this.tags = ko.observableArray([‚webapi‘, ‚knockoutjs‘, ‚spa‘]);}ko.applyBindings(new Viewmodel())<h1 data-bind=„text: title“></h1><ul data-bind=„foreach: tags“> <li data-bind=„text: $data“></ul> ddc_conference | #ddc12 www.dotnet-developer-conference.de
  9. 9. HTML5 LocalStoragelocalStorage.setItem("key", “value");localStorage.getItem("key");localStorage.removeItem("key");localStorage.clear();navigator.onLine ddc_conference | #ddc12 www.dotnet-developer-conference.de
  10. 10. AMPLIFYJSamplify.store(„key“,“value“);amplify.store(„key“);LocalStorageSessionStorageGlobalStorage (FF2)UserData (IE)memory ddc_conference | #ddc12 www.dotnet-developer-conference.de
  11. 11. HTML5 CacheManifest<html manifest=“myapp.appcache"> ...</html>text/cache-manifestCACHE MANIFESTCACHE:NETWORK:FALLBACK: ddc_conference | #ddc12 www.dotnet-developer-conference.de
  12. 12. http://www.flickr.com/photos/crystaljingsr/391472934 3/ddc_conference | #ddc12 www.dotnet-developer-conference.de
  13. 13. http://www.flickr.com/photos/nateone/3768979925ddc_conference | #ddc12 www.dotnet-developer-conference.de
  14. 14. Alexander Zeitler PDMLab alexander.zeitler@pdmlab.com http://blog.alexonasp.net @AlexZeitlerddc_conference | #ddc12 www.dotnet-developer-conference.de
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×