Web development with MongoDB and Node.js :: build an interactive and full-featured web application from scratch using Node.js and MongoDB /
Build an interactive and full-featured web application from scratch using Node.js and MongoDB In Detail Node.js and MongoDB are quickly becoming the most popular technologies in the world of full stack JavaScript development. Powered by Google's V8 JavaScript runtime, Node.js caters to easily b...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham, UK :
Packt Publishing,
2014.
|
Schriftenreihe: | Community experience distilled.
|
Schlagworte: | |
Online-Zugang: | Volltext |
Zusammenfassung: | Build an interactive and full-featured web application from scratch using Node.js and MongoDB In Detail Node.js and MongoDB are quickly becoming the most popular technologies in the world of full stack JavaScript development. Powered by Google's V8 JavaScript runtime, Node.js caters to easily building fast, scalable network applications while MongoDB is the perfect fit as a scalable, high-performance, open source NoSQL database solution. Using these two technologies together, web applications can be built quickly and easily and deployed to the cloud with very little difficulty. This book will enable you to leverage the key features of both MongoDB and Node.js in web and mobile app development. Starting with setting up your development environment, it will guide you through how to write your first Node.js web server application from scratch. Along the way, you will learn about best practices and common mistakes while mastering the core concepts of web development. What You Will Learn Set up a development environment and install Node.js and MongoDB Write and configure a web server using Node.js powered by the Express.js framework Build dynamic HTML pages using the Handlebars template engine Persist application data using MongoDB and Mongoose ODM Create and consume RESTful APIs Test your code using automated testing tools Deploy to the cloud using services such as Heroku, Amazon Web Services, and Microsoft Azure Explore Single Page Application frameworks to take your web applications to the next level. |
Beschreibung: | 1 online resource |
ISBN: | 9781783987313 1783987316 1322166056 9781322166056 1783987308 9781783987306 |
Internformat
MARC
LEADER | 00000cam a2200000 a 4500 | ||
---|---|---|---|
001 | ZDB-4-EBA-ocn892044302 | ||
003 | OCoLC | ||
005 | 20241004212047.0 | ||
006 | m o d | ||
007 | cr cnu---unuuu | ||
008 | 141003s2014 enk o 000 0 eng d | ||
040 | |a IDEBK |b eng |e pn |c IDEBK |d EBLCP |d N$T |d OCLCQ |d E7B |d UMI |d OCLCQ |d COO |d OCLCF |d DEBBG |d YDXCP |d TEFOD |d OCLCQ |d AGLDB |d OCLCQ |d OCLCO |d ICA |d K6U |d OCLCQ |d OCLCO |d CCO |d LIP |d PIFAG |d FVL |d ZCU |d MERUC |d OCLCQ |d OCLCO |d U3W |d REB |d D6H |d STF |d OCLCQ |d VTS |d CEF |d ICG |d NRC |d NLE |d INT |d VT2 |d UKMGB |d OCLCQ |d OCLCO |d G3B |d TKN |d OCLCQ |d UAB |d DKC |d OCLCO |d AU@ |d OCLCQ |d M8D |d OCLCQ |d OCLCO |d QGK |d OCLCO |d OCLCQ |d OCLCO |d DXU |d UEJ |d OCLCQ | ||
016 | 7 | |a 018007065 |2 Uk | |
019 | |a 894504509 |a 907286537 |a 1259214313 | ||
020 | |a 9781783987313 |q (electronic bk.) | ||
020 | |a 1783987316 |q (electronic bk.) | ||
020 | |a 1322166056 |q (electronic bk.) | ||
020 | |a 9781322166056 |q (electronic bk.) | ||
020 | |a 1783987308 |q (electronic bk.) | ||
020 | |a 9781783987306 |q (electronic bk.) | ||
020 | |z 9781783987306 | ||
035 | |a (OCoLC)892044302 |z (OCoLC)894504509 |z (OCoLC)907286537 |z (OCoLC)1259214313 | ||
037 | |a CL0500000496 |b Safari Books Online | ||
037 | |a 7ECA0806-780B-42D0-8EDD-9B65E258C900 |b OverDrive, Inc. |n http://www.overdrive.com | ||
050 | 4 | |a QA76.73.J39 |b K76 2014eb | |
072 | 7 | |a COM |x 051310 |2 bisacsh | |
072 | 7 | |a COM |x 051280 |2 bisacsh | |
072 | 7 | |a COM |x 051130 |2 bisacsh | |
082 | 7 | |a 005.2/762 |2 23 | |
049 | |a MAIN | ||
100 | 1 | |a Krol, Jason. | |
245 | 1 | 0 | |a Web development with MongoDB and Node.js : |b build an interactive and full-featured web application from scratch using Node.js and MongoDB / |c Jason Krol. |
260 | |a Birmingham, UK : |b Packt Publishing, |c 2014. | ||
300 | |a 1 online resource | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
347 | |a text file | ||
490 | 1 | |a Community experience distilled | |
588 | 0 | |a Print version record. | |
520 | |a Build an interactive and full-featured web application from scratch using Node.js and MongoDB In Detail Node.js and MongoDB are quickly becoming the most popular technologies in the world of full stack JavaScript development. Powered by Google's V8 JavaScript runtime, Node.js caters to easily building fast, scalable network applications while MongoDB is the perfect fit as a scalable, high-performance, open source NoSQL database solution. Using these two technologies together, web applications can be built quickly and easily and deployed to the cloud with very little difficulty. This book will enable you to leverage the key features of both MongoDB and Node.js in web and mobile app development. Starting with setting up your development environment, it will guide you through how to write your first Node.js web server application from scratch. Along the way, you will learn about best practices and common mistakes while mastering the core concepts of web development. What You Will Learn Set up a development environment and install Node.js and MongoDB Write and configure a web server using Node.js powered by the Express.js framework Build dynamic HTML pages using the Handlebars template engine Persist application data using MongoDB and Mongoose ODM Create and consume RESTful APIs Test your code using automated testing tools Deploy to the cloud using services such as Heroku, Amazon Web Services, and Microsoft Azure Explore Single Page Application frameworks to take your web applications to the next level. | ||
505 | 0 | |a Intro -- Web Development with MongoDB and Node.js -- Table of Contents -- Web Development with MongoDB and Node.js -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Welcome to JavaScript in the Full Stack -- Node.js changed JavaScript forever -- Asynchronous callbacks -- Node Package Manager -- Networking and file IO -- Not just on the web -- Real-time web with Socket.io -- The NoSQL movement -- Node and MongoDB in the wild -- What to expect from this book -- Summary -- 2. Getting Up and Running -- Environment assumptions and requirements -- Installing Node.js -- Mac OS X installation instructions -- Windows 7 or 8 installation instructions -- Linux installation instructions -- Confirming successful Node.js installation -- Bookmarking the online documentation -- Installing the MongoDB server -- Mac OS X installation instructions -- Windows 7 or 8 installation instructions -- Linux installation instructions -- Confirming successful MongoDB installation -- Bookmarking the online documentation -- Writing your first app -- The code -- Launch the sample app -- Check the actual database -- Summary -- 3. Node and MongoDB Basics -- A JavaScript Primer -- Declaring variables -- Declaring functions -- Declaring objects -- Functions are objects -- Anonymous functions and callbacks -- Arrays -- Conditions and comparison operators -- Flow -- JSON -- The basics of NodeJS -- Event driven -- Asynchronous -- Require and modules -- The NodeJS core -- Installing modules using npm -- The basics of MongoDB. | |
505 | 8 | |a The mongo shell -- Inserting data -- Querying -- Updating data -- Deleting data -- Additional resources -- Summary -- 4. Writing an Express.js Server -- What is Express.js? -- Building a complete web application -- Organizing the files -- Server.js -- where it all begins -- Booting up server.js -- Configuration module -- Handlebars view engine -- Other template engines -- Using and understanding middleware -- Introducing Connect -- Activating the configure module -- Routers and controllers -- Custom middleware -- Migrating to Express v4.0.0 -- Using new middleware -- server/configure.js -- server/routes.js -- Summary -- 5. Dynamic HTML with Handlebars -- Basic syntax for Handlebars -- Views -- Layouts -- Partial views -- Handlebars Helpers -- Global helpers -- View-specific helpers -- Rendering the views -- Summary -- 6. Controllers and View Models -- Controllers -- View models -- Updating the home controller -- Updating the image controller -- Displaying an image -- Uploading an image -- Helpers for reusable code -- The sidebar module -- The stats module -- The images module -- The comments module -- Testing the sidebar implementation -- Iterating on the UI -- Summary -- 7. Persisting Data with MongoDB -- Using MongoDB with Node -- Connecting to MongoDB -- Inserting a document -- Retrieving a document -- Introducing Mongoose -- Schemas -- Models -- Built-in validation -- Static methods -- Virtual properties -- Connecting with Mongoose -- Defining the schema and models -- Models index file -- Adding CRUD to the controllers -- The home controller -- The image controller -- Index -- retrieving an image model -- Create -- inserting an image model -- Testing everything out so far -- Like -- updating an image model -- Comment -- inserting a comment model -- Wrapping it up -- Helpers -- Introducing the async module -- The comments helper -- The helper sidebar. | |
505 | 8 | |a Troubleshooting -- The stats helper -- The popular images helper -- Iterating by adding an image removal capability -- Adding a route -- Adding a controller handler -- Updating the Handlebars image page template -- Updating the jQuery -- Refactoring and improvements -- Summary -- 8. Creating a RESTful API -- What is an API? -- What is a RESTful API? -- Introducing Postman REST Client -- Installation instructions -- A quick tour of Postman REST Client -- Using the JSONView Chrome extension -- Creating a Basic API server -- Creating sample JSON data -- Responding to GET requests -- Receiving data -- POST and PUT requests -- Removing data -- DELETE -- Consuming external APIs from Node.js -- Consuming an API endpoint using Request -- Summary -- 9. Testing Your Code -- Tools of the trade -- Running tests with the Mocha framework -- Asserting tests with Chai.js -- Installing Chai.js as a devDependency -- Spies and stubs with Sinon.js -- Stubbing node modules with Proxyquire -- Writing and running your first test -- Writing a test helper -- Testing the application -- Testing the routes -- Testing the server -- Testing a model -- Testing a controller -- Spy and stub everything! -- Summary -- 10. Deploying with Cloud-based Services -- Cloud versus traditional hosting -- Infrastructure as a Service (IaaS) versus Platform as a Service (PaaS) -- Introduction to Git -- Deploying your application -- Nodejitsu -- Heroku -- Amazon Web Services (AWS) -- Create a MongoLab account and database -- Create and configure the AWS environment -- Microsoft Azure -- Digital Ocean -- Summary -- 11. Single Page Applications with Popular Frontend Frameworks -- What is a Single Page Application? -- Why use a frontend framework? -- The TodoMVC project -- Backbone.js -- Ember.js -- AngularJS -- Frontend development tools -- Automated build task managers -- Dependency management. | |
505 | 8 | |a Modularity -- HTML template-rendering engines -- CSS transpiling -- Testing and test-driven development -- PhantomJS headless browser -- Summary -- 12. Popular Node.js Web Frameworks -- Meteor -- Sails -- hapi -- Koa -- Flatiron -- Summary -- Index. | |
630 | 0 | 0 | |a Node.js. |0 http://id.loc.gov/authorities/names/n2013024269 |
630 | 0 | 0 | |a MongoDB. |0 http://id.loc.gov/authorities/names/no2011130709 |
630 | 0 | 7 | |a MongoDB |2 fast |
630 | 0 | 7 | |a Node.js |2 fast |
650 | 0 | |a Web applications. |0 http://id.loc.gov/authorities/subjects/sh2012001728 | |
650 | 6 | |a Applications Web. | |
650 | 7 | |a COMPUTERS |x Programming Languages |x Java. |2 bisacsh | |
650 | 7 | |a Web applications |2 fast | |
776 | 0 | 8 | |i Print version: |a Krol, Jason. |t Web development with MongoDB and Node.js : build an interactive and full-featured web application from scratch using Node.js and MongoDB. |d Birmingham, [England] : Packt Publishing, ©2014 |h vi, 276 pages |k Community experience distilled. |z 9781783987306 |
830 | 0 | |a Community experience distilled. |0 http://id.loc.gov/authorities/names/no2011030603 | |
856 | 4 | 0 | |l FWS01 |p ZDB-4-EBA |q FWS_PDA_EBA |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=855859 |3 Volltext |
938 | |a EBL - Ebook Library |b EBLB |n EBL1800640 | ||
938 | |a ebrary |b EBRY |n ebr10944922 | ||
938 | |a EBSCOhost |b EBSC |n 855859 | ||
938 | |a ProQuest MyiLibrary Digital eBook Collection |b IDEB |n cis29855659 | ||
938 | |a YBP Library Services |b YANK |n 12093943 | ||
994 | |a 92 |b GEBAY | ||
912 | |a ZDB-4-EBA | ||
049 | |a DE-863 |
Datensatz im Suchindex
DE-BY-FWS_katkey | ZDB-4-EBA-ocn892044302 |
---|---|
_version_ | 1816882289946132480 |
adam_text | |
any_adam_object | |
author | Krol, Jason |
author_facet | Krol, Jason |
author_role | |
author_sort | Krol, Jason |
author_variant | j k jk |
building | Verbundindex |
bvnumber | localFWS |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.73.J39 K76 2014eb |
callnumber-search | QA76.73.J39 K76 2014eb |
callnumber-sort | QA 276.73 J39 K76 42014EB |
callnumber-subject | QA - Mathematics |
collection | ZDB-4-EBA |
contents | Intro -- Web Development with MongoDB and Node.js -- Table of Contents -- Web Development with MongoDB and Node.js -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Welcome to JavaScript in the Full Stack -- Node.js changed JavaScript forever -- Asynchronous callbacks -- Node Package Manager -- Networking and file IO -- Not just on the web -- Real-time web with Socket.io -- The NoSQL movement -- Node and MongoDB in the wild -- What to expect from this book -- Summary -- 2. Getting Up and Running -- Environment assumptions and requirements -- Installing Node.js -- Mac OS X installation instructions -- Windows 7 or 8 installation instructions -- Linux installation instructions -- Confirming successful Node.js installation -- Bookmarking the online documentation -- Installing the MongoDB server -- Mac OS X installation instructions -- Windows 7 or 8 installation instructions -- Linux installation instructions -- Confirming successful MongoDB installation -- Bookmarking the online documentation -- Writing your first app -- The code -- Launch the sample app -- Check the actual database -- Summary -- 3. Node and MongoDB Basics -- A JavaScript Primer -- Declaring variables -- Declaring functions -- Declaring objects -- Functions are objects -- Anonymous functions and callbacks -- Arrays -- Conditions and comparison operators -- Flow -- JSON -- The basics of NodeJS -- Event driven -- Asynchronous -- Require and modules -- The NodeJS core -- Installing modules using npm -- The basics of MongoDB. The mongo shell -- Inserting data -- Querying -- Updating data -- Deleting data -- Additional resources -- Summary -- 4. Writing an Express.js Server -- What is Express.js? -- Building a complete web application -- Organizing the files -- Server.js -- where it all begins -- Booting up server.js -- Configuration module -- Handlebars view engine -- Other template engines -- Using and understanding middleware -- Introducing Connect -- Activating the configure module -- Routers and controllers -- Custom middleware -- Migrating to Express v4.0.0 -- Using new middleware -- server/configure.js -- server/routes.js -- Summary -- 5. Dynamic HTML with Handlebars -- Basic syntax for Handlebars -- Views -- Layouts -- Partial views -- Handlebars Helpers -- Global helpers -- View-specific helpers -- Rendering the views -- Summary -- 6. Controllers and View Models -- Controllers -- View models -- Updating the home controller -- Updating the image controller -- Displaying an image -- Uploading an image -- Helpers for reusable code -- The sidebar module -- The stats module -- The images module -- The comments module -- Testing the sidebar implementation -- Iterating on the UI -- Summary -- 7. Persisting Data with MongoDB -- Using MongoDB with Node -- Connecting to MongoDB -- Inserting a document -- Retrieving a document -- Introducing Mongoose -- Schemas -- Models -- Built-in validation -- Static methods -- Virtual properties -- Connecting with Mongoose -- Defining the schema and models -- Models index file -- Adding CRUD to the controllers -- The home controller -- The image controller -- Index -- retrieving an image model -- Create -- inserting an image model -- Testing everything out so far -- Like -- updating an image model -- Comment -- inserting a comment model -- Wrapping it up -- Helpers -- Introducing the async module -- The comments helper -- The helper sidebar. Troubleshooting -- The stats helper -- The popular images helper -- Iterating by adding an image removal capability -- Adding a route -- Adding a controller handler -- Updating the Handlebars image page template -- Updating the jQuery -- Refactoring and improvements -- Summary -- 8. Creating a RESTful API -- What is an API? -- What is a RESTful API? -- Introducing Postman REST Client -- Installation instructions -- A quick tour of Postman REST Client -- Using the JSONView Chrome extension -- Creating a Basic API server -- Creating sample JSON data -- Responding to GET requests -- Receiving data -- POST and PUT requests -- Removing data -- DELETE -- Consuming external APIs from Node.js -- Consuming an API endpoint using Request -- Summary -- 9. Testing Your Code -- Tools of the trade -- Running tests with the Mocha framework -- Asserting tests with Chai.js -- Installing Chai.js as a devDependency -- Spies and stubs with Sinon.js -- Stubbing node modules with Proxyquire -- Writing and running your first test -- Writing a test helper -- Testing the application -- Testing the routes -- Testing the server -- Testing a model -- Testing a controller -- Spy and stub everything! -- Summary -- 10. Deploying with Cloud-based Services -- Cloud versus traditional hosting -- Infrastructure as a Service (IaaS) versus Platform as a Service (PaaS) -- Introduction to Git -- Deploying your application -- Nodejitsu -- Heroku -- Amazon Web Services (AWS) -- Create a MongoLab account and database -- Create and configure the AWS environment -- Microsoft Azure -- Digital Ocean -- Summary -- 11. Single Page Applications with Popular Frontend Frameworks -- What is a Single Page Application? -- Why use a frontend framework? -- The TodoMVC project -- Backbone.js -- Ember.js -- AngularJS -- Frontend development tools -- Automated build task managers -- Dependency management. Modularity -- HTML template-rendering engines -- CSS transpiling -- Testing and test-driven development -- PhantomJS headless browser -- Summary -- 12. Popular Node.js Web Frameworks -- Meteor -- Sails -- hapi -- Koa -- Flatiron -- Summary -- Index. |
ctrlnum | (OCoLC)892044302 |
dewey-full | 005.2/762 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.2/762 |
dewey-search | 005.2/762 |
dewey-sort | 15.2 3762 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>10663cam a2200709 a 4500</leader><controlfield tag="001">ZDB-4-EBA-ocn892044302</controlfield><controlfield tag="003">OCoLC</controlfield><controlfield tag="005">20241004212047.0</controlfield><controlfield tag="006">m o d </controlfield><controlfield tag="007">cr cnu---unuuu</controlfield><controlfield tag="008">141003s2014 enk o 000 0 eng d</controlfield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">IDEBK</subfield><subfield code="b">eng</subfield><subfield code="e">pn</subfield><subfield code="c">IDEBK</subfield><subfield code="d">EBLCP</subfield><subfield code="d">N$T</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">E7B</subfield><subfield code="d">UMI</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">COO</subfield><subfield code="d">OCLCF</subfield><subfield code="d">DEBBG</subfield><subfield code="d">YDXCP</subfield><subfield code="d">TEFOD</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">AGLDB</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">ICA</subfield><subfield code="d">K6U</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">CCO</subfield><subfield code="d">LIP</subfield><subfield code="d">PIFAG</subfield><subfield code="d">FVL</subfield><subfield code="d">ZCU</subfield><subfield code="d">MERUC</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">U3W</subfield><subfield code="d">REB</subfield><subfield code="d">D6H</subfield><subfield code="d">STF</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">VTS</subfield><subfield code="d">CEF</subfield><subfield code="d">ICG</subfield><subfield code="d">NRC</subfield><subfield code="d">NLE</subfield><subfield code="d">INT</subfield><subfield code="d">VT2</subfield><subfield code="d">UKMGB</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">G3B</subfield><subfield code="d">TKN</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">UAB</subfield><subfield code="d">DKC</subfield><subfield code="d">OCLCO</subfield><subfield code="d">AU@</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">M8D</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">QGK</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">DXU</subfield><subfield code="d">UEJ</subfield><subfield code="d">OCLCQ</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">018007065</subfield><subfield code="2">Uk</subfield></datafield><datafield tag="019" ind1=" " ind2=" "><subfield code="a">894504509</subfield><subfield code="a">907286537</subfield><subfield code="a">1259214313</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781783987313</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1783987316</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1322166056</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781322166056</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1783987308</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781783987306</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">9781783987306</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)892044302</subfield><subfield code="z">(OCoLC)894504509</subfield><subfield code="z">(OCoLC)907286537</subfield><subfield code="z">(OCoLC)1259214313</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">CL0500000496</subfield><subfield code="b">Safari Books Online</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">7ECA0806-780B-42D0-8EDD-9B65E258C900</subfield><subfield code="b">OverDrive, Inc.</subfield><subfield code="n">http://www.overdrive.com</subfield></datafield><datafield tag="050" ind1=" " ind2="4"><subfield code="a">QA76.73.J39</subfield><subfield code="b">K76 2014eb</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">051310</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">051280</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">051130</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="082" ind1="7" ind2=" "><subfield code="a">005.2/762</subfield><subfield code="2">23</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Krol, Jason.</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Web development with MongoDB and Node.js :</subfield><subfield code="b">build an interactive and full-featured web application from scratch using Node.js and MongoDB /</subfield><subfield code="c">Jason Krol.</subfield></datafield><datafield tag="260" ind1=" " ind2=" "><subfield code="a">Birmingham, UK :</subfield><subfield code="b">Packt Publishing,</subfield><subfield code="c">2014.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 online resource</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">computer</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">online resource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="347" ind1=" " ind2=" "><subfield code="a">text file</subfield></datafield><datafield tag="490" ind1="1" ind2=" "><subfield code="a">Community experience distilled</subfield></datafield><datafield tag="588" ind1="0" ind2=" "><subfield code="a">Print version record.</subfield></datafield><datafield tag="520" ind1=" " ind2=" "><subfield code="a">Build an interactive and full-featured web application from scratch using Node.js and MongoDB In Detail Node.js and MongoDB are quickly becoming the most popular technologies in the world of full stack JavaScript development. Powered by Google's V8 JavaScript runtime, Node.js caters to easily building fast, scalable network applications while MongoDB is the perfect fit as a scalable, high-performance, open source NoSQL database solution. Using these two technologies together, web applications can be built quickly and easily and deployed to the cloud with very little difficulty. This book will enable you to leverage the key features of both MongoDB and Node.js in web and mobile app development. Starting with setting up your development environment, it will guide you through how to write your first Node.js web server application from scratch. Along the way, you will learn about best practices and common mistakes while mastering the core concepts of web development. What You Will Learn Set up a development environment and install Node.js and MongoDB Write and configure a web server using Node.js powered by the Express.js framework Build dynamic HTML pages using the Handlebars template engine Persist application data using MongoDB and Mongoose ODM Create and consume RESTful APIs Test your code using automated testing tools Deploy to the cloud using services such as Heroku, Amazon Web Services, and Microsoft Azure Explore Single Page Application frameworks to take your web applications to the next level.</subfield></datafield><datafield tag="505" ind1="0" ind2=" "><subfield code="a">Intro -- Web Development with MongoDB and Node.js -- Table of Contents -- Web Development with MongoDB and Node.js -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Welcome to JavaScript in the Full Stack -- Node.js changed JavaScript forever -- Asynchronous callbacks -- Node Package Manager -- Networking and file IO -- Not just on the web -- Real-time web with Socket.io -- The NoSQL movement -- Node and MongoDB in the wild -- What to expect from this book -- Summary -- 2. Getting Up and Running -- Environment assumptions and requirements -- Installing Node.js -- Mac OS X installation instructions -- Windows 7 or 8 installation instructions -- Linux installation instructions -- Confirming successful Node.js installation -- Bookmarking the online documentation -- Installing the MongoDB server -- Mac OS X installation instructions -- Windows 7 or 8 installation instructions -- Linux installation instructions -- Confirming successful MongoDB installation -- Bookmarking the online documentation -- Writing your first app -- The code -- Launch the sample app -- Check the actual database -- Summary -- 3. Node and MongoDB Basics -- A JavaScript Primer -- Declaring variables -- Declaring functions -- Declaring objects -- Functions are objects -- Anonymous functions and callbacks -- Arrays -- Conditions and comparison operators -- Flow -- JSON -- The basics of NodeJS -- Event driven -- Asynchronous -- Require and modules -- The NodeJS core -- Installing modules using npm -- The basics of MongoDB.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">The mongo shell -- Inserting data -- Querying -- Updating data -- Deleting data -- Additional resources -- Summary -- 4. Writing an Express.js Server -- What is Express.js? -- Building a complete web application -- Organizing the files -- Server.js -- where it all begins -- Booting up server.js -- Configuration module -- Handlebars view engine -- Other template engines -- Using and understanding middleware -- Introducing Connect -- Activating the configure module -- Routers and controllers -- Custom middleware -- Migrating to Express v4.0.0 -- Using new middleware -- server/configure.js -- server/routes.js -- Summary -- 5. Dynamic HTML with Handlebars -- Basic syntax for Handlebars -- Views -- Layouts -- Partial views -- Handlebars Helpers -- Global helpers -- View-specific helpers -- Rendering the views -- Summary -- 6. Controllers and View Models -- Controllers -- View models -- Updating the home controller -- Updating the image controller -- Displaying an image -- Uploading an image -- Helpers for reusable code -- The sidebar module -- The stats module -- The images module -- The comments module -- Testing the sidebar implementation -- Iterating on the UI -- Summary -- 7. Persisting Data with MongoDB -- Using MongoDB with Node -- Connecting to MongoDB -- Inserting a document -- Retrieving a document -- Introducing Mongoose -- Schemas -- Models -- Built-in validation -- Static methods -- Virtual properties -- Connecting with Mongoose -- Defining the schema and models -- Models index file -- Adding CRUD to the controllers -- The home controller -- The image controller -- Index -- retrieving an image model -- Create -- inserting an image model -- Testing everything out so far -- Like -- updating an image model -- Comment -- inserting a comment model -- Wrapping it up -- Helpers -- Introducing the async module -- The comments helper -- The helper sidebar.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Troubleshooting -- The stats helper -- The popular images helper -- Iterating by adding an image removal capability -- Adding a route -- Adding a controller handler -- Updating the Handlebars image page template -- Updating the jQuery -- Refactoring and improvements -- Summary -- 8. Creating a RESTful API -- What is an API? -- What is a RESTful API? -- Introducing Postman REST Client -- Installation instructions -- A quick tour of Postman REST Client -- Using the JSONView Chrome extension -- Creating a Basic API server -- Creating sample JSON data -- Responding to GET requests -- Receiving data -- POST and PUT requests -- Removing data -- DELETE -- Consuming external APIs from Node.js -- Consuming an API endpoint using Request -- Summary -- 9. Testing Your Code -- Tools of the trade -- Running tests with the Mocha framework -- Asserting tests with Chai.js -- Installing Chai.js as a devDependency -- Spies and stubs with Sinon.js -- Stubbing node modules with Proxyquire -- Writing and running your first test -- Writing a test helper -- Testing the application -- Testing the routes -- Testing the server -- Testing a model -- Testing a controller -- Spy and stub everything! -- Summary -- 10. Deploying with Cloud-based Services -- Cloud versus traditional hosting -- Infrastructure as a Service (IaaS) versus Platform as a Service (PaaS) -- Introduction to Git -- Deploying your application -- Nodejitsu -- Heroku -- Amazon Web Services (AWS) -- Create a MongoLab account and database -- Create and configure the AWS environment -- Microsoft Azure -- Digital Ocean -- Summary -- 11. Single Page Applications with Popular Frontend Frameworks -- What is a Single Page Application? -- Why use a frontend framework? -- The TodoMVC project -- Backbone.js -- Ember.js -- AngularJS -- Frontend development tools -- Automated build task managers -- Dependency management.</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Modularity -- HTML template-rendering engines -- CSS transpiling -- Testing and test-driven development -- PhantomJS headless browser -- Summary -- 12. Popular Node.js Web Frameworks -- Meteor -- Sails -- hapi -- Koa -- Flatiron -- Summary -- Index.</subfield></datafield><datafield tag="630" ind1="0" ind2="0"><subfield code="a">Node.js.</subfield><subfield code="0">http://id.loc.gov/authorities/names/n2013024269</subfield></datafield><datafield tag="630" ind1="0" ind2="0"><subfield code="a">MongoDB.</subfield><subfield code="0">http://id.loc.gov/authorities/names/no2011130709</subfield></datafield><datafield tag="630" ind1="0" ind2="7"><subfield code="a">MongoDB</subfield><subfield code="2">fast</subfield></datafield><datafield tag="630" ind1="0" ind2="7"><subfield code="a">Node.js</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Web applications.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh2012001728</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Applications Web.</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS</subfield><subfield code="x">Programming Languages</subfield><subfield code="x">Java.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Web applications</subfield><subfield code="2">fast</subfield></datafield><datafield tag="776" ind1="0" ind2="8"><subfield code="i">Print version:</subfield><subfield code="a">Krol, Jason.</subfield><subfield code="t">Web development with MongoDB and Node.js : build an interactive and full-featured web application from scratch using Node.js and MongoDB.</subfield><subfield code="d">Birmingham, [England] : Packt Publishing, ©2014</subfield><subfield code="h">vi, 276 pages</subfield><subfield code="k">Community experience distilled.</subfield><subfield code="z">9781783987306</subfield></datafield><datafield tag="830" ind1=" " ind2="0"><subfield code="a">Community experience distilled.</subfield><subfield code="0">http://id.loc.gov/authorities/names/no2011030603</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="l">FWS01</subfield><subfield code="p">ZDB-4-EBA</subfield><subfield code="q">FWS_PDA_EBA</subfield><subfield code="u">https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=855859</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBL - Ebook Library</subfield><subfield code="b">EBLB</subfield><subfield code="n">EBL1800640</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">ebrary</subfield><subfield code="b">EBRY</subfield><subfield code="n">ebr10944922</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBSCOhost</subfield><subfield code="b">EBSC</subfield><subfield code="n">855859</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">ProQuest MyiLibrary Digital eBook Collection</subfield><subfield code="b">IDEB</subfield><subfield code="n">cis29855659</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">YBP Library Services</subfield><subfield code="b">YANK</subfield><subfield code="n">12093943</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">GEBAY</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-4-EBA</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-863</subfield></datafield></record></collection> |
id | ZDB-4-EBA-ocn892044302 |
illustrated | Not Illustrated |
indexdate | 2024-11-27T13:26:14Z |
institution | BVB |
isbn | 9781783987313 1783987316 1322166056 9781322166056 1783987308 9781783987306 |
language | English |
oclc_num | 892044302 |
open_access_boolean | |
owner | MAIN DE-863 DE-BY-FWS |
owner_facet | MAIN DE-863 DE-BY-FWS |
physical | 1 online resource |
psigel | ZDB-4-EBA |
publishDate | 2014 |
publishDateSearch | 2014 |
publishDateSort | 2014 |
publisher | Packt Publishing, |
record_format | marc |
series | Community experience distilled. |
series2 | Community experience distilled |
spelling | Krol, Jason. Web development with MongoDB and Node.js : build an interactive and full-featured web application from scratch using Node.js and MongoDB / Jason Krol. Birmingham, UK : Packt Publishing, 2014. 1 online resource text txt rdacontent computer c rdamedia online resource cr rdacarrier text file Community experience distilled Print version record. Build an interactive and full-featured web application from scratch using Node.js and MongoDB In Detail Node.js and MongoDB are quickly becoming the most popular technologies in the world of full stack JavaScript development. Powered by Google's V8 JavaScript runtime, Node.js caters to easily building fast, scalable network applications while MongoDB is the perfect fit as a scalable, high-performance, open source NoSQL database solution. Using these two technologies together, web applications can be built quickly and easily and deployed to the cloud with very little difficulty. This book will enable you to leverage the key features of both MongoDB and Node.js in web and mobile app development. Starting with setting up your development environment, it will guide you through how to write your first Node.js web server application from scratch. Along the way, you will learn about best practices and common mistakes while mastering the core concepts of web development. What You Will Learn Set up a development environment and install Node.js and MongoDB Write and configure a web server using Node.js powered by the Express.js framework Build dynamic HTML pages using the Handlebars template engine Persist application data using MongoDB and Mongoose ODM Create and consume RESTful APIs Test your code using automated testing tools Deploy to the cloud using services such as Heroku, Amazon Web Services, and Microsoft Azure Explore Single Page Application frameworks to take your web applications to the next level. Intro -- Web Development with MongoDB and Node.js -- Table of Contents -- Web Development with MongoDB and Node.js -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Welcome to JavaScript in the Full Stack -- Node.js changed JavaScript forever -- Asynchronous callbacks -- Node Package Manager -- Networking and file IO -- Not just on the web -- Real-time web with Socket.io -- The NoSQL movement -- Node and MongoDB in the wild -- What to expect from this book -- Summary -- 2. Getting Up and Running -- Environment assumptions and requirements -- Installing Node.js -- Mac OS X installation instructions -- Windows 7 or 8 installation instructions -- Linux installation instructions -- Confirming successful Node.js installation -- Bookmarking the online documentation -- Installing the MongoDB server -- Mac OS X installation instructions -- Windows 7 or 8 installation instructions -- Linux installation instructions -- Confirming successful MongoDB installation -- Bookmarking the online documentation -- Writing your first app -- The code -- Launch the sample app -- Check the actual database -- Summary -- 3. Node and MongoDB Basics -- A JavaScript Primer -- Declaring variables -- Declaring functions -- Declaring objects -- Functions are objects -- Anonymous functions and callbacks -- Arrays -- Conditions and comparison operators -- Flow -- JSON -- The basics of NodeJS -- Event driven -- Asynchronous -- Require and modules -- The NodeJS core -- Installing modules using npm -- The basics of MongoDB. The mongo shell -- Inserting data -- Querying -- Updating data -- Deleting data -- Additional resources -- Summary -- 4. Writing an Express.js Server -- What is Express.js? -- Building a complete web application -- Organizing the files -- Server.js -- where it all begins -- Booting up server.js -- Configuration module -- Handlebars view engine -- Other template engines -- Using and understanding middleware -- Introducing Connect -- Activating the configure module -- Routers and controllers -- Custom middleware -- Migrating to Express v4.0.0 -- Using new middleware -- server/configure.js -- server/routes.js -- Summary -- 5. Dynamic HTML with Handlebars -- Basic syntax for Handlebars -- Views -- Layouts -- Partial views -- Handlebars Helpers -- Global helpers -- View-specific helpers -- Rendering the views -- Summary -- 6. Controllers and View Models -- Controllers -- View models -- Updating the home controller -- Updating the image controller -- Displaying an image -- Uploading an image -- Helpers for reusable code -- The sidebar module -- The stats module -- The images module -- The comments module -- Testing the sidebar implementation -- Iterating on the UI -- Summary -- 7. Persisting Data with MongoDB -- Using MongoDB with Node -- Connecting to MongoDB -- Inserting a document -- Retrieving a document -- Introducing Mongoose -- Schemas -- Models -- Built-in validation -- Static methods -- Virtual properties -- Connecting with Mongoose -- Defining the schema and models -- Models index file -- Adding CRUD to the controllers -- The home controller -- The image controller -- Index -- retrieving an image model -- Create -- inserting an image model -- Testing everything out so far -- Like -- updating an image model -- Comment -- inserting a comment model -- Wrapping it up -- Helpers -- Introducing the async module -- The comments helper -- The helper sidebar. Troubleshooting -- The stats helper -- The popular images helper -- Iterating by adding an image removal capability -- Adding a route -- Adding a controller handler -- Updating the Handlebars image page template -- Updating the jQuery -- Refactoring and improvements -- Summary -- 8. Creating a RESTful API -- What is an API? -- What is a RESTful API? -- Introducing Postman REST Client -- Installation instructions -- A quick tour of Postman REST Client -- Using the JSONView Chrome extension -- Creating a Basic API server -- Creating sample JSON data -- Responding to GET requests -- Receiving data -- POST and PUT requests -- Removing data -- DELETE -- Consuming external APIs from Node.js -- Consuming an API endpoint using Request -- Summary -- 9. Testing Your Code -- Tools of the trade -- Running tests with the Mocha framework -- Asserting tests with Chai.js -- Installing Chai.js as a devDependency -- Spies and stubs with Sinon.js -- Stubbing node modules with Proxyquire -- Writing and running your first test -- Writing a test helper -- Testing the application -- Testing the routes -- Testing the server -- Testing a model -- Testing a controller -- Spy and stub everything! -- Summary -- 10. Deploying with Cloud-based Services -- Cloud versus traditional hosting -- Infrastructure as a Service (IaaS) versus Platform as a Service (PaaS) -- Introduction to Git -- Deploying your application -- Nodejitsu -- Heroku -- Amazon Web Services (AWS) -- Create a MongoLab account and database -- Create and configure the AWS environment -- Microsoft Azure -- Digital Ocean -- Summary -- 11. Single Page Applications with Popular Frontend Frameworks -- What is a Single Page Application? -- Why use a frontend framework? -- The TodoMVC project -- Backbone.js -- Ember.js -- AngularJS -- Frontend development tools -- Automated build task managers -- Dependency management. Modularity -- HTML template-rendering engines -- CSS transpiling -- Testing and test-driven development -- PhantomJS headless browser -- Summary -- 12. Popular Node.js Web Frameworks -- Meteor -- Sails -- hapi -- Koa -- Flatiron -- Summary -- Index. Node.js. http://id.loc.gov/authorities/names/n2013024269 MongoDB. http://id.loc.gov/authorities/names/no2011130709 MongoDB fast Node.js fast Web applications. http://id.loc.gov/authorities/subjects/sh2012001728 Applications Web. COMPUTERS Programming Languages Java. bisacsh Web applications fast Print version: Krol, Jason. Web development with MongoDB and Node.js : build an interactive and full-featured web application from scratch using Node.js and MongoDB. Birmingham, [England] : Packt Publishing, ©2014 vi, 276 pages Community experience distilled. 9781783987306 Community experience distilled. http://id.loc.gov/authorities/names/no2011030603 FWS01 ZDB-4-EBA FWS_PDA_EBA https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=855859 Volltext |
spellingShingle | Krol, Jason Web development with MongoDB and Node.js : build an interactive and full-featured web application from scratch using Node.js and MongoDB / Community experience distilled. Intro -- Web Development with MongoDB and Node.js -- Table of Contents -- Web Development with MongoDB and Node.js -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Welcome to JavaScript in the Full Stack -- Node.js changed JavaScript forever -- Asynchronous callbacks -- Node Package Manager -- Networking and file IO -- Not just on the web -- Real-time web with Socket.io -- The NoSQL movement -- Node and MongoDB in the wild -- What to expect from this book -- Summary -- 2. Getting Up and Running -- Environment assumptions and requirements -- Installing Node.js -- Mac OS X installation instructions -- Windows 7 or 8 installation instructions -- Linux installation instructions -- Confirming successful Node.js installation -- Bookmarking the online documentation -- Installing the MongoDB server -- Mac OS X installation instructions -- Windows 7 or 8 installation instructions -- Linux installation instructions -- Confirming successful MongoDB installation -- Bookmarking the online documentation -- Writing your first app -- The code -- Launch the sample app -- Check the actual database -- Summary -- 3. Node and MongoDB Basics -- A JavaScript Primer -- Declaring variables -- Declaring functions -- Declaring objects -- Functions are objects -- Anonymous functions and callbacks -- Arrays -- Conditions and comparison operators -- Flow -- JSON -- The basics of NodeJS -- Event driven -- Asynchronous -- Require and modules -- The NodeJS core -- Installing modules using npm -- The basics of MongoDB. The mongo shell -- Inserting data -- Querying -- Updating data -- Deleting data -- Additional resources -- Summary -- 4. Writing an Express.js Server -- What is Express.js? -- Building a complete web application -- Organizing the files -- Server.js -- where it all begins -- Booting up server.js -- Configuration module -- Handlebars view engine -- Other template engines -- Using and understanding middleware -- Introducing Connect -- Activating the configure module -- Routers and controllers -- Custom middleware -- Migrating to Express v4.0.0 -- Using new middleware -- server/configure.js -- server/routes.js -- Summary -- 5. Dynamic HTML with Handlebars -- Basic syntax for Handlebars -- Views -- Layouts -- Partial views -- Handlebars Helpers -- Global helpers -- View-specific helpers -- Rendering the views -- Summary -- 6. Controllers and View Models -- Controllers -- View models -- Updating the home controller -- Updating the image controller -- Displaying an image -- Uploading an image -- Helpers for reusable code -- The sidebar module -- The stats module -- The images module -- The comments module -- Testing the sidebar implementation -- Iterating on the UI -- Summary -- 7. Persisting Data with MongoDB -- Using MongoDB with Node -- Connecting to MongoDB -- Inserting a document -- Retrieving a document -- Introducing Mongoose -- Schemas -- Models -- Built-in validation -- Static methods -- Virtual properties -- Connecting with Mongoose -- Defining the schema and models -- Models index file -- Adding CRUD to the controllers -- The home controller -- The image controller -- Index -- retrieving an image model -- Create -- inserting an image model -- Testing everything out so far -- Like -- updating an image model -- Comment -- inserting a comment model -- Wrapping it up -- Helpers -- Introducing the async module -- The comments helper -- The helper sidebar. Troubleshooting -- The stats helper -- The popular images helper -- Iterating by adding an image removal capability -- Adding a route -- Adding a controller handler -- Updating the Handlebars image page template -- Updating the jQuery -- Refactoring and improvements -- Summary -- 8. Creating a RESTful API -- What is an API? -- What is a RESTful API? -- Introducing Postman REST Client -- Installation instructions -- A quick tour of Postman REST Client -- Using the JSONView Chrome extension -- Creating a Basic API server -- Creating sample JSON data -- Responding to GET requests -- Receiving data -- POST and PUT requests -- Removing data -- DELETE -- Consuming external APIs from Node.js -- Consuming an API endpoint using Request -- Summary -- 9. Testing Your Code -- Tools of the trade -- Running tests with the Mocha framework -- Asserting tests with Chai.js -- Installing Chai.js as a devDependency -- Spies and stubs with Sinon.js -- Stubbing node modules with Proxyquire -- Writing and running your first test -- Writing a test helper -- Testing the application -- Testing the routes -- Testing the server -- Testing a model -- Testing a controller -- Spy and stub everything! -- Summary -- 10. Deploying with Cloud-based Services -- Cloud versus traditional hosting -- Infrastructure as a Service (IaaS) versus Platform as a Service (PaaS) -- Introduction to Git -- Deploying your application -- Nodejitsu -- Heroku -- Amazon Web Services (AWS) -- Create a MongoLab account and database -- Create and configure the AWS environment -- Microsoft Azure -- Digital Ocean -- Summary -- 11. Single Page Applications with Popular Frontend Frameworks -- What is a Single Page Application? -- Why use a frontend framework? -- The TodoMVC project -- Backbone.js -- Ember.js -- AngularJS -- Frontend development tools -- Automated build task managers -- Dependency management. Modularity -- HTML template-rendering engines -- CSS transpiling -- Testing and test-driven development -- PhantomJS headless browser -- Summary -- 12. Popular Node.js Web Frameworks -- Meteor -- Sails -- hapi -- Koa -- Flatiron -- Summary -- Index. Node.js. http://id.loc.gov/authorities/names/n2013024269 MongoDB. http://id.loc.gov/authorities/names/no2011130709 MongoDB fast Node.js fast Web applications. http://id.loc.gov/authorities/subjects/sh2012001728 Applications Web. COMPUTERS Programming Languages Java. bisacsh Web applications fast |
subject_GND | http://id.loc.gov/authorities/names/n2013024269 http://id.loc.gov/authorities/names/no2011130709 http://id.loc.gov/authorities/subjects/sh2012001728 |
title | Web development with MongoDB and Node.js : build an interactive and full-featured web application from scratch using Node.js and MongoDB / |
title_auth | Web development with MongoDB and Node.js : build an interactive and full-featured web application from scratch using Node.js and MongoDB / |
title_exact_search | Web development with MongoDB and Node.js : build an interactive and full-featured web application from scratch using Node.js and MongoDB / |
title_full | Web development with MongoDB and Node.js : build an interactive and full-featured web application from scratch using Node.js and MongoDB / Jason Krol. |
title_fullStr | Web development with MongoDB and Node.js : build an interactive and full-featured web application from scratch using Node.js and MongoDB / Jason Krol. |
title_full_unstemmed | Web development with MongoDB and Node.js : build an interactive and full-featured web application from scratch using Node.js and MongoDB / Jason Krol. |
title_short | Web development with MongoDB and Node.js : |
title_sort | web development with mongodb and node js build an interactive and full featured web application from scratch using node js and mongodb |
title_sub | build an interactive and full-featured web application from scratch using Node.js and MongoDB / |
topic | Node.js. http://id.loc.gov/authorities/names/n2013024269 MongoDB. http://id.loc.gov/authorities/names/no2011130709 MongoDB fast Node.js fast Web applications. http://id.loc.gov/authorities/subjects/sh2012001728 Applications Web. COMPUTERS Programming Languages Java. bisacsh Web applications fast |
topic_facet | Node.js. MongoDB. MongoDB Node.js Web applications. Applications Web. COMPUTERS Programming Languages Java. Web applications |
url | https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=855859 |
work_keys_str_mv | AT kroljason webdevelopmentwithmongodbandnodejsbuildaninteractiveandfullfeaturedwebapplicationfromscratchusingnodejsandmongodb |