Node.js, MongoDB, and AngularJS Web Development (Paperback)

Brad Dayley

買這商品的人也買了...

商品描述

Node.js, MongoDB and AngularJS Web Development

The definitive guide to building JavaScript-based Web applications from server to browser

 

 

Node.js, MongoDB, and AngularJS are three new 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 AngularJS 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 AngularJS 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 AngularJS'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 AngularJS 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

 

Contents at a Glance

 

 

Part I: Getting Started

1 Introducing the Node.js-to-AngularJS Stack

2 JavaScript Primer

 

Part II: Learning Node.js

3 Getting Started with Node.js

4 Using Events, Listeners, Timers, and Callbacks in Node.js

5 Handling Data I/O in Node.js

6 Accessing the File System from Node.js

7 Implementing HTTP Services in Node.js

8 Implementing Socket Services in Node.js

9 Scaling Applications Using Multiple Processors in Node.js

10 Using Additional Node.js Modules

 

 

Part III: Learning MongoDB

11 Understanding NoSQL and MongoDB

12 Getting Started with MongoDB

13 Getting Started with MongoDB and Node.js

14 Manipulating MongoDB Documents from Node.js

15 Accessing MongoDB Documents from Node.js

16 Using Mongoose for Structured Schema and Validation

17 Advanced MongoDB Concepts

 

 

Part IV: Using Express to Make Life Easier

18 Implementing Express in Node.js

19 Implementing Express Middleware

 

 

Part V: Learning AngularJS

20 Getting Started with AngularJS

21 Understanding AngularJS Modules and Dependency Injection

22 Implementing the Scope as a Data Model

23 Using AngularJS Templates to Create Views

24 Implementing Directives in AngularJS Views

25 Implementing AngularJS Services in Web Applications

 

 

Part VI: Building Practical Web Application Components

26 Adding User Accounts to Your Website

27 Adding Comment Threads to Pages

28 Creating Your Own Shopping Cart

 

29 Building Interactive Web 2.0 Application Components

商品描述(中文翻譯)

《Node.js, MongoDB 和 AngularJS 網頁開發》

從伺服器到瀏覽器,建立基於 JavaScript 的網頁應用程式的權威指南

Node.js、MongoDB 和 AngularJS 是三種新的網頁開發技術,它們共同提供了一個易於實現、完全集成的網頁開發堆疊。Node.js 是一個領先的伺服器端程式環境,MongoDB 是最受歡迎的 NoSQL 資料庫,而 AngularJS 則迅速成為基於 MVC 的前端開發框架的領導者。它們共同讓網頁程式設計師能夠完全使用 JavaScript 從伺服器到客戶端建立高性能的網站和應用程式。

《Node.js, MongoDB 和 AngularJS 網頁開發》是一本完整的指南,針對希望將這三種技術整合成完整工作解決方案的網頁程式設計師。它從對這三種技術的簡潔、清晰的教程開始,然後快速轉向建立幾個常見的網頁應用程式。

讀者將學習如何使用 Node.js 和 MongoDB 建立更具可擴展性和高性能的網站,如何利用 AngularJS 創新的 MVC 方法來結構化更有效的頁面和應用程式,以及如何將這三者結合在一起提供優秀的下一代網頁解決方案。


  • 使用 Node.js 和 Express 建立高度可擴展和動態的網頁伺服器

  • 使用 JavaScript 建立伺服器端網頁服務

  • 為您的網頁應用程式實現 MongoDB 資料存儲

  • 從 Node.js JavaScript 代碼訪問和交互操作 MongoDB

  • 定義靜態和動態網頁路由,並實現支持它們的伺服器端腳本

  • 在 Node.js 中實現 Express

  • 創建 Jade 模板

  • 定義自己的自定義 AngularJS 指令,擴展 HTML 語言

  • 實現可以與 Node.js 網頁伺服器交互的客戶端服務

  • 構建提供豐富用戶交互的動態瀏覽器視圖

  • 為您的網頁應用程式添加身份驗證的使用者帳戶

  • 在您的網頁中添加嵌套評論組件

  • 構建端到端的購物車

《Node.js, MongoDB 和 AngularJS 網頁開發》內容一覽:

第一部分:入門

1 介紹 Node.js-to-AngularJS 堆疊

2 JavaScript 入門

第二部分:學習 Node.js

3 開始使用 Node.js

4 在 Node.js 中使用事件、監聽器、計時器和回調函數

5 在 Node.js 中處理數據輸入/輸出

6 從 Node.js 訪問檔案系統

7 在 Node.js 中實現 HTTP 服務

8 在 Node.js 中實現 Socket 服務

9 使用多處理器在 Node.js 中擴展應用程式

10 使用其他 Node.js 模組

第三部分:學習 MongoDB

11 理解 NoSQL 和 MongoDB

12 開始使用 MongoDB

13 開始使用 MongoDB 和 Node.js

14 從 Node.js 操作 MongoDB 文件

15 從 Node.js 訪問 MongoDB 文件

16 使用 MongoDB 的高級功能