Upload
einar-ingebrigtsen
View
1.221
Download
6
Tags:
Embed Size (px)
Citation preview
Web
Building maintainable real-time web applications
Web
Web
AgendaKnockout JS
SignalRSingle Page Application
We will see Require JS, RavenDB ++
Web
what - why - how
Web
๏ MVVM for JavaScript
๏ Built by Steve Sanderson
๏ Works for Microsoft
๏ Current version 2.3.0 - 3.0 coming soon
What:Knockout
Web
MVVMModelModelModelModel
ViewViewViewView
ViewModelViewModelViewModelViewModel ObservableObservableObservableObservable
ObservesObservesObservesObserves
Get from serverGet from serverGet from serverGet from server
Web
Event AggregatorViewModel 1ViewModel 1ViewModel 1ViewModel 1 ViewModel 2ViewModel 2ViewModel 2ViewModel 2
Web
๏ Decouples view from logic
๏ More testable code
๏ More maintainable code
๏ Lego pieces
Why
Web
What:SignalR๏ Abstraction for keeping persistent connections
between clients and server
๏ .net, JavaScript, Silverlight, WinJS, Windows Phone 7 / 8, WinRT, Mono
๏ Built for scale
๏ Redis
๏ Azure ServiceBus
๏ SqlServer
Web
Why....
๏ “RealTime”
๏ Concurrency
๏ Better for load - scaling
๏ Asynchronously - Eventual consistency
Environmental friendly
Web
Why....
Improve the usersexperience
Web
how
Web
Shameless plug
http://www.packtpub.com/signalr-realtime-dotnet-application-development/book
Web
Houston, we have a problem
Houston, we have a problem
Web
Web
Resources๏ http://knockoutjs.com
๏ http://www.nuget.org/packages/knockoutjs
๏ http://github.com/signalr
๏ http://www.asp.net/signalr
๏ http://www.nuget.org/packages/Microsoft.AspNet.SignalR/
Architecture
Thanks for Thanks for your your
attentionattention