LEADER 05844nam 2200781 450 001 9910810400303321 005 20151005070350.0 035 $a(CKB)3710000000417253 035 $a(EBL)2057548 035 $a(OCoLC)910282300 035 $a(SSID)ssj0001539141 035 $a(PQKBManifestationID)11833796 035 $a(PQKBTitleCode)TC0001539141 035 $a(PQKBWorkID)11530211 035 $a(PQKB)11250229 035 $a(MiAaPQ)EBC2057548 035 $a(CaSebORM)9781784395711 035 $a(PPN)227985478 035 $a(EXLCZ)993710000000417253 100 $a20150609h20152015 uy 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aNode.js by example $elearn to use Node.js by creating a fully functional social network /$fKrasimir Tsonev ; reviewers, Danny Allen, Alex (Shurf) Frenkel ; commissioning editor, Akram Hussain ; acquisition editors, Purav Motiwalla, Llewellyn Rozario ; content development editor, Shubhangi Dhamgaye ; technical editor, Mrunal M. Chavan ; copy editors, Vedangi Narvekar ; project coordinator, Harshal Ved ; proofreaders, Stephen Copestake, Safis Editing ; indexer, Priya Sane ; production coordinator, Shantanu N. Zagade ; cover work, Shantanu N. Zagade 205 $a1st edition 210 1$aBirmingham, England ;$aMumbai, [India] :$cPackt Publishing,$d2015. 210 4$dİ2015 215 $a1 online resource (220 p.) 225 1 $aCommunity experience distilled 300 $aIncludes index. 300 $a"Community experience distilled"--Cover. 311 $a1-78439-960-4 311 $a1-78439-571-4 327 $a""Cover ""; ""Copyright""; ""Credits""; ""About the Author""; ""About the Reviewers""; ""www.PacktPub.com""; ""Table of Contents""; ""Preface""; ""Chapter 1: Node.js Fundamentals ""; ""Understanding the Node.js architecture""; ""Installing Node.js""; ""Running Node.js server""; ""Defining and using modules""; ""Managing and distributing packages""; ""Creating a module""; ""Using modules""; ""Updating our module""; ""Introducing built-in modules""; ""Creating a server with the HTTP module""; ""Reading and writing to files""; ""Working with events""; ""Managing child processes""; ""Summary"" 327 $a""Chapter 2 : Architecting the Project""""Introducing the basic layers of the application""; ""The task runner and building system""; ""Introducing Grunt""; ""Discovering Gulp""; ""Test-driven development""; ""The Model-View-Controller pattern""; ""Introducing the REST API concept""; ""Summary""; ""Chapter 3 : Managing Assets""; ""Serving files with Node.js""; ""CSS preprocessing""; ""Packing client-side JavaScript""; ""Concatenating with Gulp""; ""Modularity in the browser with RequireJS""; ""Moving from Node.js to the browser with Browserify""; ""Delivering HTML templates"" 327 $a""Defining the templates in script tags""""Loading the template externally""; ""Writing HTML inside the JavaScript""; ""Precompiling templates""; ""Summary""; ""Chapter 4 : Developing the Model-View-Controller Layers""; ""Evolving the current setup""; ""Directory structure""; ""Forming the main server handlers""; ""Implementing the router""; ""Introducing Ractive.js""; ""Constructing the entry point of the application""; ""Defining a controller""; ""Managing our views""; ""Creating a model""; ""Summary""; ""Chapter 5 : Managing Users""; ""Working with the MongoDB database"" 327 $a""Installing MongoDB""""Running MongoDB""; ""Connecting to the database server""; ""Extending the code from the previous chapter""; ""Updating our base model class""; ""Updating page navigation and routing""; ""Registering a new user""; ""Updating the frontend""; ""Updating the backend API""; ""User authentication with sessions""; ""Managing a user's profile""; ""Summary""; ""Chapter 6 : Adding Friendship Capabilities""; ""Finding friends""; ""Adding the search page""; ""Writing the model""; ""Fetching friends from the database""; ""Marking users as friends"" 327 $a""Displaying the linked users on the Profile page""""Summary""; ""Chapter 7 : Posting Content""; ""Posting and storing text""; ""Adding a form to post text messages""; ""Introducing the content's model""; ""Updating the controller of the home page""; ""Storing content in the database""; ""Showing the user's feed""; ""Posting files""; ""Summary""; ""Chapter 8 : Creating Pages and Events""; ""Refactoring the API""; ""Adding a form to create pages""; ""Creating a record in the database""; ""Showing the currently added pages""; ""Showing a specific page""; ""Posting a comment to a page"" 327 $a""Showing the comments"" 330 $aIf you are a JavaScript developer with no experience with Node.js or server-side web development, this book is for you. It will lead you through creating a fairly complex social network. You will learn how to work with a database and create real-time communication channels. 606 $aJavaScript (Computer program language) 606 $aWeb site development 615 0$aJavaScript (Computer program language) 615 0$aWeb site development. 676 $a006.78 700 $aT?Sonev$b Krasimir$01597700 702 $aAllen$b Danny 702 $aFrenkel$b Alex (Shurf) 702 $aHussain$b Akram 702 $aMotiwalla$b Purav 702 $aRozario$b Llewellyn 702 $aDhamgaye$b Shubhangi 702 $aChavan$b Mrunal M. 702 $aNarvekar$b Vedangi 702 $aVed$b Harshal 702 $aCopestake$b Stephen 702 $aSane$b Priya 702 $aZagade$b Shantanu N. 712 02$aSafis Editing, 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910810400303321 996 $aNode.js by example$93919553 997 $aUNINA