LEADER 05054nam 2200637 450 001 9910808996803321 005 20200520144314.0 010 $a1-78398-449-X 035 $a(CKB)2670000000569445 035 $a(EBL)1800646 035 $a(SSID)ssj0001375549 035 $a(PQKBManifestationID)11888263 035 $a(PQKBTitleCode)TC0001375549 035 $a(PQKBWorkID)11337164 035 $a(PQKB)11304373 035 $a(Au-PeEL)EBL1800646 035 $a(CaPaEBR)ebr10944917 035 $a(CaONFJC)MIL647870 035 $a(OCoLC)892044289 035 $a(CaSebORM)9781783984480 035 $a(MiAaPQ)EBC1800646 035 $a(PPN)228036097 035 $a(EXLCZ)992670000000569445 100 $a20141014h20142014 uy 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aBuilding scalable apps with Redis and Node.js $edevelop customized, scalable web apps through the integration of the Node.js frameworks /$fJoshua Johanan 205 $a1st edition 210 1$aBirmingham, [England] :$cPackt Publishing,$d2014. 210 4$dİ2014 215 $a1 online resource (316 p.) 225 1 $aCommunity experience distilled 300 $aIncludes index. 311 $a1-78398-448-1 311 $a1-322-16613-7 327 $aCover; 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 327 $aMethods 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 327 $aAdding 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 327 $aPassword-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 327 $aNode 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 327 $aUsing Backbone collections 330 $aIf 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. 606 $aWeb applications 615 0$aWeb applications. 676 $a016.973460924 700 $aJohanan$b Joshua$01684265 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910808996803321 996 $aBuilding scalable apps with Redis and Node.js$94116246 997 $aUNINA