Books: 4

WebSockets

CoverTitleYear
Explore and master modern JavaScript techniques with ES2015 in order to build large-scale web applications
ABOUT THIS BOOK * This course offers an expert's eye on the latest ES6 features and how these advanced tasks fit together in JavaScript as a whole * Discover robust JavaScript implementations of classic and advanced design patterns * Learn about modern web architectures and build real-world apps on more » top of them WHO THIS BOOK IS FOR This course is for experienced developers familiar with other object-oriented languages who wants to learn new capabilities of ES-2015 to improve their web development skills and build professional-quality web applications. This also goes for those who want to explore some modern JavaScript features, techniques, and architectures in order to develop cutting-edge web applications. WHAT YOU WILL LEARN * Get a run through of the basic language constructs, Functions, and Closures of JavaScript * Code using the powerful object-oriented feature in JavaScript * Master DOM manipulation, cross-browser strategies, and ES6 * Harness the power of patterns for tasks ranging from application building to code testing * Identify the best use cases for microservices * Gain expertise in responsive and dynamic website design * Enable real-time communications between client-client and client-server/server-client * Write complete applications using functional reactive programming IN DETAIL JavaScript is a high-level, dynamic, untyped, lightweight, and interpreted programming language. Mastering modern JavaScript techniques and the toolchain are essential to develop web-scale applications. This Learning Path will upgrade your skills to ES2015, and you will get to introduce yourself to popular frameworks like React and Angular 2. In the first module, you will get familiar with the language constructs and how to make code easy to organize. You will gain a concrete understanding of variable scoping, loops, and best practices on using types and data structures, as well as the coding style and recommended code organization patterns in JavaScript. By the end of the module, you will understand how reactive JavaScript is going to be the new paradigm. Over the course of the next module, you will explore how design patterns can help you improve and organize your JavaScript code. You'll get to grips with creational, structural, and behavioral patterns and get a deeper look at patterns used in functional programming, as well as model view patterns and patterns to build web applications. By the end of the module, you'll be saved of a lot of trial and error and developmental headaches, and you will be on the road to becoming a JavaScript expert. In the last leg of this course, you will shift your focus to network programming concepts as you build a real-time web application with websockets. Along the way, you'll explore how the power of JavaScript can be increased multi-fold with high performance techniques. By the end of this module, you'll be a skilled JavaScript developer with a solid knowledge of the latest JavaScript techniques, tools, and architecture to build modern web apps. This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products: * Mastering JavaScript by Ved Antani * Mastering JavaScript Design Patterns, Second Edition by Simon Timms * Modern JavaScript Applications by Narayan Prusty STYLE AND APPROACH This course is a comprehensive guide with a clear focus on practical use cases and patterns. Each chapter consists of best practices, useful advice, and a bunch of easy-to-follow examples that will build up your skills as you advance. « less
2017
Leverage the awesome features of Play Framework to build scalable, resilient, and responsive applications
ABOUT THIS BOOK * Demystify the quandaries of web development using Play Framework * Test and debug your apps by using Play's built in testing framework * Master the core features of Scala through a comprehensive coverage of code and examples for different scenarios WHO THIS BOOK IS FOR This book more » is intended for those developers who are keen to master the internal workings of Play Framework to effectively build and deploy web-related apps. WHAT YOU WILL LEARN * Customize your framework to accommodate the specific requirements of an application * Develop responsive, reliable, and highly scalable applications using Play Framework * Build and customize Play Framework plugins that can be used in multiple Play applications * Familiarize yourself with third-party APIs to avoid rewriting existing code * Gain an insight into the various aspects of testing and debugging in Play to successfully test your apps * Get to know all about the concepts of WebSockets and Actors to process messages based on events IN DETAIL Play Framework is an open source web application framework that is written in Java and Scala. It follows the Model-View-Controller architectural pattern and enables the user to employ Scala for application development, while keeping key properties and features of Play Framework intact. Starting off by building a basic application with minimal features, you get a detailed insight into handling data transactions and designing models in Play. Next, you venture into the concepts of Actors and WebSockets, the process of manipulating data streams, and testing and debugging an application in Play. Finally, you gain an insight into extending the framework by writing custom modules or plugins in Play. Each chapter has a troubleshooting section that helps you out by discussing the causes of, and solutions to, some commonly faced issues. « less
2015
Develop and deploy your first secure and scalable real-time web application
WebSockets are capable of bi-directional, full-duplex communication over a persistent TCP connection They provide many benefits compared to the alternatives (for example, long-polling or Comet), such as lower overhead, persistent connections, and low latency. In short, it is the most technically challenging more » HTML5 feature to implement, but for truly interactive websites, it's a technology worth learning. Getting Started with HTML5 WebSocket Programming gives you the true power of bi-directional communication, implemented by using the brand new HTML5 WebSocket API. You’ll learn how to configure the server and clients, how to transmit different types of data and how to secure the whole system. This book will introduce you to the WebSocket world. We start by introducing the WebSocket API, and continue with practical, real-world examples until we can determine how to build multi-functional web apps for any type of device. You will learn how to configure a web client and a web server that will help you send messages to others using easy-to-use mechanisms. We will also find out how different data types, such as images and videos, can be transferred with little effort. We present additional fallback techniques and solutions for older browsers too. Finally, we will secure our clients from malicious attacks and other threats. « less
2013
Creating Fun with HTML5, CSS3, and WebGL
Discover new opportunities for building 2D and 3D games with HTML5 The newest iteration of HTML, HTML5 can be used with JavaScript, CSS3, and WebGL to create beautiful, unique, engaging games that can be played on the web or mobile devices like the iPad or Android phones. Gone are the days where games more » were only possible with plugin technologies such as Flash and this cutting-edge book shows you how to utilize the latest open web technologies to create a game from scratch using Canvas, HTML5 Audio, WebGL, and WebSockets. You'll discover how to build a framework on which you will create your HTML5 game. Then each successive chapter covers a new aspect of the game, including user input, sound, multiplayer functionality, 2D and 3D graphics, and more. * Aims directly at a new way to develop games for the web through the use of HTML5 * Demonstrates how to make iOS and Android web apps * Explains how to capture player input; create 3D graphics; and incorporate textures, lighting, and sound * Guides you through the process of creating a game from scratch using Canvas, HTML5 Audio, WebGL, and WebSockets By the end of this invaluable book, you will have created a fully functional game that can be played in any compatible browser or on any mobile device that supports HTML5. « less
2011