Node.js, MongoDB and Angular Web Development

Node.js, MongoDB and Angular Web Development : The definitive guide to using the MEAN stack to build web applications

3.72 (51 ratings by Goodreads)
By (author)  , By (author)  , By (author) 

Free delivery worldwide

Available. Dispatched from the UK in 1 business day
When will my order arrive?


Node.js, MongoDB and Angular Web Development The definitive guide to building JavaScript-based Web applications from server to browser Node.js, MongoDB, and Angular are three web development technologies that together provide an easy to implement, fully integrated web development stack. Node.js is a leading server-side programming environment, MongoDB is the most popular NoSQL database, and Angular is quickly becoming the leading framework for MVC-based front-end development. Together they allow web programmers to create high-performance sites and applications built completely in JavaScript, from server to client. Node.js, MongoDB and Angular Web Development is a complete guide for web programmers who want to integrate these three technologies into full working solutions. It begins with concise, crystal-clear tutorials on each of the three technologies and then quickly moves on to building several common web applications. Readers will learn how to use Node.js and MongoDB to build more scalable, high-performance sites, how to leverage Angular's innovative MVC approach to structure more effective pages and applications, and how to use all three together to deliver outstanding next-generation Web solutions. Implement a highly scalable and dynamic web server using Node.js and Express Build server-side web services in JavaScript Implement a MongoDB data store for your web applications Access and interact with MongoDB from Node.js JavaScript code Define static and dynamic web routes and implement server-side scripts to support them Implement Express in Node.js Create Jade templates Define your own custom Angular directives that extend the HTML language Implement client-side services that can interact with the Node.js web server Build dynamic browser views that provide rich user interaction Add authenticated user accounts to your web applications Add nested comment components to your web pages Build an end-to-end shopping cart
show more

Product details

  • Paperback | 640 pages
  • 178 x 229 x 30mm | 1,005g
  • Pearson Education (US)
  • Addison-Wesley Educational Publishers Inc
  • New Jersey, United States
  • English
  • 2nd edition
  • 0134655532
  • 9780134655536
  • 827,147

About Brad Dayley

Brad Dayley is a senior software engineer with more than 20 years of experience developing enterprise applications and web interfaces. He has used JavaScript and jQuery for years and is the author of Learning Angular, jQuery and JavaScript Phrasebook and Sams Teach Yourself AngularJS, JavaScript, and jQuery All in One. He has designed and implemented a wide array of applications and services, from application servers to complex web applications. Brendan Dayley is a web application developer who loves learning and implementing the latest and greatest technologies. He is the co-author of Learning Angular and Sams Teach Yourself AngularJS, JavaScript, and jQuery All in One. He has written a number of web applications using JavaScript, TypeScript, and Angular, and he is exploring the capabilities of new web and mobile technologies such as augmented reality and how to use them for innovative solutions. Caleb Dayley is a university student studying computer science. He tries to learn all that he can and has taught himself much of what he knows about programming. He has taught himself several languages, including JavaScript, C#, and, using the first edition of this book, NodeJS, MongoDB and Angular. He is excited for what the future holds, and the opportunities to help design and create the next generation of innovative software that will continue to improve the way we live, work, and play. Normal 0 false false false EN-US X-NONE X-NONE
show more

Table of contents

Introduction Part I: Learning Node.js1 Getting Started with Node.js * Installing Node.js * Creating a Node.js Application * Installing npms2 Understanding I/O and Events in Node.js * Types of I/O * Handling System I/O * Handling Network I/O * Understanding Events * Creating Event Listeners3 Implementing Callbacks in Node.js * Understanding Callbacks * How Node.js Implements Callbacks * Synchronous Callbacks * Asynchronous Callbacks * Handling Event Loops4 Implementing HTTP Services in Node.js * Understanding HTTP Services * Implementing HTTP Servers in Node.js * Implementing HTTP Clients in Node.js5 Implementing Socket Services in Node.js * Understanding Socket.IO * Creating a Socket Server * Creating a Socket Client * Broadcasting Data to Socket Clients * Sending Data to Socket Servers * Bi-Directional Data6 Accessing the Local System from Node.js * Writing Data to Files * Reading Data from Files * Accessing Environment Variables * Creating Child Processes * Using the Cluster Module7 Handling JSON Data in Node.js * Converting JSON to JavaScript Objects * Converting JavaScript Objects to JSON * Sending JSON Data * Creating a JSON API in Node.js8 Using the Buffer Module * Understanding Buffered Data * Writing to Buffers * Appending to Buffers * Modifying Data in Buffers * Copying Buffers9 Using the Stream Module * Understanding Node.js Streams * Creating Readable Streams * Creating Writable Streams * Implementing Piped Streams10 Creating Your Own Node.js Modules Part II: Learning MongoDB11 Getting Started with MongoDB * Understanding MongoDB * MongoDB Data Types * Understanding Documents * Installing MongoDB * Accessing MongoDB from the Shell Client * Starting and Stopping MongoDB * Monitoring MongoDB * Configuring Security and Authentication12 Getting Started with Mongoose * Understanding Mongoose * Installing Mongoose * Adding Mongoose to Node.js * Connecting to MongoDB13 Defining Your Object Model from Node.js Mongoose * Planning your Object Model * Defining the Schema * Compiling an Object Model * Defining Validation * Creating Objects * Updating Objects * Saving Objects14 Accessing MongoDB Data from Node.js Using Mongoose * Introducing find * Adding Query Criteria * Using Type-Specific Queries * Limiting Results * Sorting Results * Aggregating Results * Getting Data as QueryStream15 Advanced Mongoose Concepts * Snapshot Queries * Converting Query Objects to JSON * Converting Query Objects to JavaScript Objects * Adding dynamic methods to the Model * Adding MiddleWare * Population * Promise16 Advanced MongoDB Concepts * Indexing * Replication * Sharding * Backup and Repair Part III: Using Express and Jade to Make Life Easier17 Getting Started with Express and Jade * Understanding Express * Installing Express * Configuring Express * Adding Middleware * Understanding Jade * Installing Jade * Setting Jade as the Template Engine18 Implementing Express in Node.js * Understanding Routes * Adding Routes * Adding a GET Route * Adding a POST Route * Applying Parameters in Routes * Accessing Requests * Manipulating Responses19 Creating Jade Templates * Adding Tags * Setting Attributes * Adding Plain Text * Applying Unbuffered Code vs. Buffered Code * Using Conditionals * Iteration * Using Mixins * Using Additional Script Languages Part IV: Learning AngularJS20 Getting Started with AngularJS * Understanding AngularJS * Installing AngularJS * Configuring AngularJS * Understanding AngularJS MVC * Model * Template * Controller21 Defining Browser Interaction in Templates * Applying Browser Events * Modifying DOM Elements * Data Binding to DOM Elements * Adding Filters to22 Understanding Directives * Built-in Directives * Creating Your Own Directives to Extend HTML * Creating Reusable Components23 Interacting with the Server Via AJAX * Using the $http.get Service * Using the $ Service * Using the $http.jsonp Service * Using the $resource Service24 Additional AngularJS Concepts * Adding Expressions to Templates * Using Routes * Implementing Services * Dependency Injection25 Integrating AngularJS with Existing Code * JavaScript * jQuery Part V: Practical Examples26 Adding User Accounts to your Web Site27 Connecting to External Services28 Creating Your Own Shopping Cart29 Adding Comments Area to Pages30 Generating Dynamic PDF Documents31 Building a Rich Web Application
show more

Rating details

51 ratings
3.72 out of 5 stars
5 24% (12)
4 37% (19)
3 31% (16)
2 4% (2)
1 4% (2)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X