图书标签: WebSocket html5 Web HTML5 web apress Javascript CS
发表于2024-12-25
The Definitive Guide to HTML5 WebSocket pdf epub mobi txt 电子书 下载 2024
The browser is, hands down, the most popular and ubiquitous deployment platform available to us today: virtually every computer, smartphone, tablet, and just about every other form factor imaginable can now execute JavaScript, render a web page, and of course, talk HTTP. This, on its own, is a remarkable achievement, especially when you realize that it only took us a little over a decade to get to this stage. However, this is also just the beginning. The browser of yesterday looks nothing like what we now have access to thanks to all of the innovations of HTML5.
It is hard to overstate the importance of what HTML5 WebSocket enables: up until
now, the browser could only speak one language (HTTP), and that language was not
designed for the requirements of the modern, real-time Web. Yes, we’ve made progress
with interim solutions such as long-polling and Flash sockets, but the complexity and cost
of these solutions has always limited the capabilities of what we could do. WebSockets
changes all of that: it is designed from the ground up to be data agnostic (binary and text),
full-duplex, and optimized for minimum overhead, both in bytes and in latency.
WebSockets is TCP for the web-browser, except with a more robust and much easier
to use API. Suddenly, our client is able to implement any network protocol directly in
the browser, which opens up an entire new world of possibilities. An XMPP chat client?
Easy. Need to connect your client to a custom binary protocol deployed on your existing
network? No problem! Even better, you can script, style, and deploy these clients directly
in the browser with all the web authoring tools you already know, love, and use.
The browser of yesterday talked to an HTTP server. With WebSockets, the browser
can talk to anyone and implement any protocol: complete the HTTP handshake,
upgrade the connection, and you are off to the races. We are no longer talking about
building slightly better or more interactive pages. With WebSockets we can build entirely
new types of apps and experiences that can be delivered to your users today, directly in
their browser.
This book provides a great from-the-ground-up discussion of what WebSockets are,
what problems they are helping us to solve, as well as a number of practical examples
that will get you up and running in no time. You will be pleasantly surprised how easy
it is to work with WebSocket and how much you can accomplish with very little code.
Working with WebSockets is a blast, and this book by Vanessa, Frank, and Peter is a
fitting guide. Enjoy!
Vanessa Wang is an HTML5 and WebSocket enthusiast who has spent more than fifteen years writing about such diverse subjects as complex database application tools and cutting-edge web technologies. She is currently Manager of Technical Publications at Kaazing and co-organizer of the San Francisco HTML5 User Group. When she is not writing, she enjoys organizing community events for HTML5 and related technologies, kickboxing, riding her motorcycle, and playing her cello. Follow her on Twitter (@vjwang).
Frank Salim is a software engineer at Google. Previously, he was one of the original engineers at Kaazing who helped craft the WebSocket gateway and client strategy. Frank is a San Diego native currently residing in San Francisco, California. He holds a degree in computer science from Pomona College. When he is not programming, Frank enjoys reading, painting, and inline skating. In 2010, Frank co-authored "Pro HTML5 Programming" (Apress).
Peter Moskovits heads up real-time solutions development at Kaazing, a software company enhancing the way business and customers communicate across the Web using the new HTML5 WebSocket standard. Peter works closely with architects and the developer community to build and deploy the best possible web communication solutions. Before joining Kaazing, in various product management leadership roles Peter was responsible for Oracle's portal product strategy. Peter is a frequent speaker at conferences and industry events, such as GoTo, YOW!, JavaOne, Oracle OpenWorld, HTML5DeConf, DevCon5, and various user group meetings. He is also the co-author of the Oracle WebCenter 11g Handbook.
WebSocket本身确实没多少东西。Definitive Guide也就200来页。前面介绍了API和WS协议。后几章简单介绍了高层协议XMPP,STOMP。很快看完。对后端WS开发没怎么说(当然书名是HTML5xxxx)。还是学要结合实际应用。
评分作为 introduction 还差不多,definitive guide 么…… websocket 就这么点东西
评分WebSocket本身确实没多少东西。Definitive Guide也就200来页。前面介绍了API和WS协议。后几章简单介绍了高层协议XMPP,STOMP。很快看完。对后端WS开发没怎么说(当然书名是HTML5xxxx)。还是学要结合实际应用。
评分WebSocket本身确实没多少东西。Definitive Guide也就200来页。前面介绍了API和WS协议。后几章简单介绍了高层协议XMPP,STOMP。很快看完。对后端WS开发没怎么说(当然书名是HTML5xxxx)。还是学要结合实际应用。
评分作为 introduction 还差不多,definitive guide 么…… websocket 就这么点东西
评分
评分
评分
评分
The Definitive Guide to HTML5 WebSocket pdf epub mobi txt 电子书 下载 2024