Book description
Develop customized, scalable web apps through the integration of powerful Node.js frameworks
In Detail
Node.js is a JavaScript runtime-based, scalable platform used to develop web applications and network programs on the server side. It allows web designers to access the backend of their projects while also allowing developers, who are willing to learn JavaScript, a chance to design. There are many frameworks that have popped up in recent years, but what makes Node.js unique is that it opens up a whole new frontier for web development and takes a hybrid approach.
This book will help you get to grips with Node.js and implement the knowledge to build efficient web applications. You start with developing a backend web application followed by a frontend interface, and later on deploy it to the cloud platform. This book takes a holistic approach to server-side programming using Node.js in conjunction with different frameworks and tools.
What You Will Learn
- Build and implement your custom middleware for Express
- Integrate Socket.IO with Express and use the same authentication
- Create a secure local store for passwords
- Use message queues to break down your application into manageable pieces
- Leverage the power of Redis to create a shared state across many different servers
- Implement Backbone, Socket.IO, and React together for a fast, dynamic, and real-time frontend
- Automate your build process with the use of the Grunt.js task runner
- Build deployment scripts to get servers running your application in the cloud
Table of contents
-
Building Scalable Apps with Redis and Node.js
- Table of Contents
- Building Scalable Apps with Redis and Node.js
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Backend Development with Express
-
2. Extending Our Development with Socket.IO
- Node package versions
- Building a simple Socket.IO app
- Broadcasting a message
- Using the disconnect event
- Creating namespaces
- Adding rooms
- Using namespaces or rooms
- Using namespaces and rooms together
- Using Socket.IO and Express together
- Adding application-specific events
- Using Redis as the store for Socket.IO
- Socket.IO inner workings
- Ideas to take away from this chapter
- Summary
-
3. Authenticating Users
- Node package versions
- Let's build our authentication
- Registering a Facebook application
- Using Passport to authenticate to Facebook
- Using Google for authentication
- Adding Google authentication to our application
- Adding more OAuth providers
- Adding secure local authentication
- Password-storing theory
- OAuth process
- Summary
- 4. RabbitMQ for Message Queuing
- 5. Adopting Redis for Application Data
- 6. Using Bower to Manage Our Frontend Dependencies
- 7. Using Backbone and React for DOM Events
- 8. JavaScript Best Practices for Application Development
- 9. Deployment and Scalability
- 10. Debugging and Troubleshooting
- Index
Product information
- Title: Building Scalable Apps with Redis and Node.js
- Author(s):
- Release date: September 2014
- Publisher(s): Packt Publishing
- ISBN: 9781783984480
You might also like
book
Reactive Programming with Node.js
Learn how to institute Reactive Programming (RP) for your back-end development with Node.js. Up to now, …
book
Pro REST API Development with Node.js
Pro REST API Development with Node.js is your guide to managing and understanding the full capabilities …
book
Node: Up and Running
This book introduces you to Node, the new web development framework written in JavaScript. You'll learn …
book
Get Programming with Node.js
Get Programming with Node.js Get Programming with Node.js teaches you to write server-side code in JavaScript …