Description |
1 online resource |
Series |
Community experience distilled |
|
Community experience distilled.
|
Contents |
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Backend Development with Express; Node.js and Node Package Manager; Using Express in Node; Using middleware in Express; Creating our own middleware; Adding templates to the mix; Layouts; Using sessions in Express; Using cookies in Express; Adding sessions; Redis as a session store; Processing forms; Cross-Site Request Forgery (CSRF); Very simple authentication; Setting up a config file for our app; Route mapping; Updating our app to use the config |
|
Methods to extend an applicationSummary; Chapter 2: Extending Our Development with Socket. IO; Node package versions; Building a simple Socket.io app; Installing the package; Building the client; Using Python to serve our site; Ping-Pong; Creating some interaction; Adding the browser side; Acknowledgments; Broadcasting a message; Using the disconnect event; Creating namespaces; Building our namespace client; Adding rooms; Using namespaces or rooms; Namespaces; Finding namespaces; When to use rooms; Finding rooms; Using namespaces and rooms together; Using Socket.io and Express together |
|
Adding Socket.io to the configWho are you?; Authorization in Socket.io; Adding application-specific events; Using Redis as the store for Socket.io; Socket.io inner workings; WebSockets; Ideas to take away from this chapter; Summary; Chapter 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; Adding registration; Adding a database |
|
Password-storing theoryOAuth process; Summary; Chapter 4: RabbitMQ for Message Queuing; Node package versions; Getting RabbitMQ; Installing on Mac OS X; The RabbitMQ management plugin; Installing on Linux; Installing on Windows; Our first message queue; Using the management interface; Sending messages; Queuing messages; Adding another worker; Sending messages back; Creating StartServer; Building the worker; Charging cards in real-time; Adding message queues to PacktChat; Topic exchange; Building the worker; Message queuing in RabbitMQ; Summary; Chapter 5: Adopting Redis for Application Data |
|
Node package versionsInstalling Redis; Installing on Mac OS X; Installing on Linux; Installing on Windows; Using Redis data structures; Building a simple Redis application; Redis schema; Using a hash; Keys in Redis; Redis persistence; Removing Redis keys; Using Redis as a message queue; Adding Redis to PacktChat; Defining the Redis structures; Creating our Redis functions; Redis is for application state; Summary; Chapter 6: Using Bower to Manage Our Frontend Dependencies; Node package versions; Installing and using Bower; Introducing React; Introducing Backbone; Using Backbone models |
Summary |
If the phrase scalability sounds alien to you, then this is an ideal book for you. You will not need much Node.js experience as each framework is demonstrated in a way that requires no previous knowledge of the framework. You will be building scalable Node.js applications in no time! Knowledge of JavaScript is required. |
Subject |
Node.js.
|
|
Node.js |
|
Web applications.
|
|
Applications Web. |
|
Web applications |
Other Form: |
Print version: Johanan, Joshua. Building scalable apps with Redis and Node.js : develop customized, scalable web apps through the integration of the Node.js frameworks. Birmingham, [England] : Packt Publishing, ©2014 297 pages 9781783984480 |
ISBN |
9781783984497 (electronic bk.) |
|
178398449X (electronic bk.) |
|
1322166137 (electronic bk.) |
|
9781322166131 (electronic bk.) |
|
9781783984480 (electronic bk.) |
|
1783984481 (electronic bk.) |
|