|
|
|
|
|
|
|
|
1. |
Record Nr. |
UNINA9910463298203321 |
|
|
Autore |
Johanan Joshua |
|
|
Titolo |
Building scalable apps with Redis and Node.js : develop customized, scalable web apps through the integration of the Node.js frameworks / / Joshua Johanan |
|
|
|
|
|
|
|
Pubbl/distr/stampa |
|
|
Birmingham, [England] : , : Packt Publishing, , 2014 |
|
©2014 |
|
|
|
|
|
|
|
|
|
ISBN |
|
|
|
|
|
|
Edizione |
[1st edition] |
|
|
|
|
|
Descrizione fisica |
|
1 online resource (316 p.) |
|
|
|
|
|
|
Collana |
|
Community experience distilled |
|
|
|
|
|
|
Disciplina |
|
|
|
|
|
|
Soggetti |
|
Web applications |
Electronic books. |
|
|
|
|
|
|
|
|
Lingua di pubblicazione |
|
|
|
|
|
|
Formato |
Materiale a stampa |
|
|
|
|
|
Livello bibliografico |
Monografia |
|
|
|
|
|
Note generali |
|
|
|
|
|
|
Nota di contenuto |
|
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 |
|
|
|
|