Full Stack JavaScript Development With MEAN (Paperback)

Colin J Ihrig, Adam Bretz

  • 出版商: Sitepoint
  • 出版日期: 2015-01-13
  • 定價: $1,380
  • 售價: 6.0$828
  • 語言: 英文
  • 頁數: 320
  • 裝訂: Paperback
  • ISBN: 0992461251
  • ISBN-13: 9780992461256
  • 相關分類: JavaScript
  • 立即出貨(限量) (庫存=2)

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

商品描述

With modern tools. it is possible to create a production grade, full-stack application using HTML, CSS, and JavaScript alone. The combination of MongoDB, Express, AngularJS, and Node.js has become so popular that it has earned the title MEAN stack -- the subject of this book.

This book explores the MEAN stack in detail. We will begin by covering Node.js, as it will lay the groundwork for all of our server-side work. You will learn how to get Node running on your local machine as well as download modules using npm. The key aspects of the Node.js programming model will also be covered.

From there, we will move on to MongoDB, where you'll learn how to interact with Mongo from a Node application. You will also learn how to create, retrieve, update, and delete data from a Mongo store.

After you have a solid grasp on Node and Mongo, the book will move on to the Express web server. We'll cover the basics of Express applications via topics like routes and middleware. Building on previous chapters, we will cover the integration of Node, Mongo, and Express.

Our coverage of the MEAN stack will wrap up with several chapters on AngularJS. These chapters will cover Angular fundamentals like data binding, directives, controllers, routing, and services. In an effort to explore competing technologies, a slight introduction to Ember.js will also be provided.

Full stack JavaScript is not fully encompassed by the MEAN stack. There is an entire ecosystem of JavaScript tools to learn about, and this book will introduce a few of them. We will cover task runners Gulp.js and Grunt.js which are extremely useful for automating mundane, repetitive tasks. We'll also cover JSHint, a linting tool used to improve code quality. Linting tools analyze source code and report potentials issues - a feature that is especially useful in non-compiled languages like JavaScript.

商品描述(中文翻譯)

現代工具使得僅使用HTML、CSS和JavaScript就能夠創建一個生產級的全棧應用程式成為可能。MongoDB、Express、AngularJS和Node.js的組合變得非常流行,因此被稱為MEAN堆棧,也是本書的主題。

本書詳細介紹了MEAN堆棧。我們將從介紹Node.js開始,因為它將為我們的服務器端工作奠定基礎。您將學習如何在本地機器上運行Node,以及如何使用npm下載模塊。還將介紹Node.js編程模型的關鍵方面。

然後,我們將轉向MongoDB,您將學習如何從Node應用程序與Mongo進行交互。您還將學習如何在Mongo存儲中創建、檢索、更新和刪除數據。

在您對Node和Mongo有了扎實的掌握之後,本書將介紹Express網絡服務器。我們將通過路由和中間件等主題介紹Express應用程序的基礎知識。在前幾章的基礎上,我們將介紹如何整合Node、Mongo和Express。

我們對MEAN堆棧的介紹將以幾章關於AngularJS的內容結束。這些章節將介紹Angular的基礎知識,如數據綁定、指令、控制器、路由和服務。為了探索競爭技術,本書還會簡要介紹Ember.js。

MEAN堆棧的介紹並不完全涵蓋全棧JavaScript。JavaScript還有一整套生態系統需要學習,本書將介紹其中的一些工具。我們將介紹Gulp.js和Grunt.js這兩個任務運行器,它們非常有用,可以自動化繁瑣重複的任務。我們還將介紹JSHint,這是一個用於提高代碼質量的linting工具。linting工具分析源代碼並報告潛在問題,這在像JavaScript這樣的非編譯語言中尤其有用。