このページは http://www.slideshare.net/domenicdenicola/streams-for-the-web-31205146 の内容を掲載しています。
Streams are a fundamental programming primitive for representing the flow of data through your sy...
Streams are a fundamental programming primitive for representing the flow of data through your system. It’s time we brought this powerful tool to the web. What if we could stream data from a HTTP request, through a web worker that transforms it, and then into a <video> tag? Over the last year, I’ve been working on the WHATWG streams specification, which builds upon the lessons learned in Node.js, to provide a suitable abstraction for needs of the extensible web.
I’ll discuss briefly why streams are important, what they enable, and the role we envision them playing in the future of the web platform. Mostly, though, I want to help you understand streams, at a deep level. In the course of writing this specification, I’ve learned a lot about streams, and I want to share that knowledge with you. At the core, they are a very simple and beautiful abstraction. I think we’ve done a good job capturing that abstraction, and producing an API the web can be proud of. I’d love to tell you all about it.