• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Knockout.js & SignalR
 

Knockout.js & SignalR

on

  • 4,921 views

 

Statistics

Views

Total Views
4,921
Views on SlideShare
4,541
Embed Views
380

Actions

Likes
4
Downloads
87
Comments
0

2 Embeds 380

http://thorsteinsson.is 379
http://safe.tumblr.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Knockout.js & SignalR Knockout.js & SignalR Presentation Transcript

    • Knockout.js Dynamic Web UIs and the MVVM patternÆgir ÞorsteinssonLandsbankinn@thorsteinssonhttp://thorsteinsson.is/
    • Knockout.jsMVVM for HTML and JavaScript Open source JavaScript library (MIT license – source on GitHub) ~ 1 year old; active community Community project (not run by Microsoft)
    • Knockout.js What is it good for? Rich client-side interactivity Bye bye, overlapping mess of interrelated event handlers Hello, object-oriented JavaScript MVVM pattern and declarative bindings Wide browser support 6+ 2+http://knockoutjs.com
    • MVVM in JavaScript View HTML + declarative bindingsBrowser Automatic ViewModel JavaScript + observables Ajax / form postsServer “Model” Any server-side technology
    • Examples
    • Examples
    • Commonly-used bindings text html visible Content & appearance css attr style event click submit Events value options checked Form fieldsselectedOptions enable disable template Templating Control flow if with foreach (KO 1.3)
    • Knockout.jsHow is it different? Automatic Integrated Declarative dependency templating bindings tracking
    • http://knockoutjs.com
    • SignalRPersistent connection between JS and ASP.NET Open source JavaScript library (MIT license – source on GitHub) ~ 1 year old; active community Community project (not run by Microsoft)
    • SignalRBrowser JavaScript Long polling / web socketsServer ASP.NET
    • SignalR http://aegir.pagekite.me/chat
    • SignalR
    • SignalR
    • SignalR
    • More informationhttp://knockoutjs.comhttp://signalr.nethttp://learn.knockoutjs.comhttp://knockmeout.net
    • Questions?Ægir ÞorsteinssonLandsbankinn@thorsteinssonhttp://thorsteinsson.is/