As we learned in the previous chapter, Node.js collaborates really well with frontend frameworks such as AngularJS. It's great that we can transfer data from the browser to Node.js and vice-versa. It's even better if we can do in this real time. Nowadays, real-time communication is heavily integrated in almost every web product. It gives a nice user experience and brings a lot of benefits to the application's owners. Usually, when we talk about real-time web components, we mean WebSockets. WebSocket is a protocol that allows us to establish a two-way (bidirectional) conversation between the browser and the server. This opens a whole new world and gives us the power to implement fast and robust apps. Node.js supports WebSockets, and we will see how to build a real-time chat with WebSockets. The application will use Socket.IO. It is a library that is built on top of WebSockets and provides mechanisms to cover the same functionalities if they are...
Node.js Blueprints
By :
Node.js Blueprints
By:
Overview of this book
Table of Contents (19 chapters)
Node.js Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Common Programming Paradigms
Developing a Basic Site with Node.js and Express
Writing a Blog Application with Node.js and AngularJS
Developing a Chat with Socket.IO
Creating a To-do Application with Backbone.js
Using Node.js as a Command-line Tool
Showing a Social Feed with Ember.js
Developing Web App Workflow with Grunt and Gulp
Automate Your Testing with Node.js
Writing Flexible and Modular CSS
Writing a REST API
Developing Desktop Apps with Node.js
Index
Customer Reviews