140 likes | 267 Vues
Join Tim Greenfield from Vertigo Software as he introduces Reactive Extensions (Rx) for Silverlight. This talk starts with the fundamentals, explaining how reactive programming works, and demonstrates how to effectively use Rx in your applications. Learn about the advantages of asynchronous and multi-threaded programming, along with practical tips for defining and subscribing to observable sequences. This session is perfect for developers wanting to understand Rx basics, leverage LINQ, and improve the conciseness of their code.
E N D
Reactive Extensions (Rx)for Silverlight Tim Greenfield Vertigo Software
About this Talk • Start with basics and build
About this Talk • Start with basics and build • How it works
About this Talk • Start with basics and build • How it works • How to use
About this Talk • Start with basics and build • How it works • How to use • My Goals (Know it, love it, something for everyone)
About this Talk • Start with basics and build • How it works • How to use • My Goals (Know it, love it, something for everyone) • Assumed: IEnumerable, LINQ, Lambda
What are Reactive Extensions? • ReactiveExtensions
What are Reactive Extensions? • ReactiveExtensions • Push vs. pull
What are Reactive Extensions? • ReactiveExtensions • Push vs. pull • Async, multi-threaded, concise code
What are Reactive Extensions? • ReactiveExtensions • Push vs. pull • Async, multi-threaded, concise code • Nothing you couldn’t already do
How to use • Define • Subscribe • React
Code time! • Download • Add References: System.CoreEx, System.Reactive, System.Observable • 100K compressed
Resources • Download: http://msdn.microsoft.com/en-us/devlabs/ee794896.aspx • Forum: http://social.msdn.microsoft.com/Forums/en-US/rx/threads • Wiki: http://rxwiki.wikidot.com • Docs: C:\Program Files (x86)\Microsoft Cloud Programmability\Reactive Extensions\v1.0.2521.0\SL4\System.Reactive.chm • LINQPad: http://www.linqpad.net • Jeff Wilcox’s blog: http://themechanicalbride.blogspot.com/2009/07/introducing-rx-linq-to-events.html • My blog: http://programmerpayback.com • Channel9: http://channel9.msdn.com/tags/Reactive+Extensions/
Tim Greenfield • Blog: http://programmerpayback.com • Email: tgreenfield@gmail.com • Twitter: @timgreenfield • Vertigo Software (www.vertigo.com) • PuzzleTouch (PuzzleTouch.com)