Book Description
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.
Table of Contents
Chapter 1 Introduction
Chapter 2 Node.js Introduction
Chapter 3 Modules and npm
Chapter 4 Node’s Programming Model
Chapter 5 Core Modules
Chapter 6 Building the Node
Chapter 7 MongoDB Introduction
Chapter 8 Interacting with MongoDB
Chapter 9 Using MongoDB and
Chapter 10 Alternatives to Mongo
Chapter 11 Introduction to Express
Chapter 12 Architecture of an
Chapter 13 Using Express in
Chapter 14 Alternative Server Frameworks
Chapter 15 AngularJS Overview
Chapter 16 Data Binding
Chapter 17 Angular Directives
Chapter 18 Controllers Server
Chapter 19 Client-side Routing
Chapter 20 Angular in Our
Chapter 21 Task Runners
Chapter 22 Debugging
Chapter 23 Testing
中文:
书名:基于Mean的全栈Java脚本开发
用现代化的工具。仅使用HTML、CSS和JavaScript就可以创建生产级、全堆栈应用程序。MongoDB、Express、AngularJS和Node.js的组合已经变得如此流行,以至于它赢得了本书主题的Mean Stack的标题。
这本书详细地探讨了平均堆栈。我们将从介绍Node.js开始,因为它将为我们所有的服务器端工作奠定基础。您将学习如何在本地计算机上运行Node,以及如何使用NPM下载模块。还将介绍Node.js编程模型的关键方面。
从那时起,我们将继续学习MongoDB,在那里您将学习如何从Node应用程序与Mongo交互。您还将学习如何创建、检索、更新和删除Mongo商店中的数据。
在您牢牢掌握了Node和Mongo之后,本书将转到Express Web服务器上。我们将通过路由和中间件等主题介绍Express应用程序的基础知识。在前面章节的基础上,我们将介绍Node、Mongo和Express的集成。
我们对均值堆栈的报道将以AngularJS的几章结束。这些章节将涵盖角度基础知识,如数据绑定、指令、控制器、路由和服务。为了探索相互竞争的技术,还将提供对Ember.js的简单介绍。
Full stack JavaScript 并不完全包含在平均值堆栈中。有一个完整的JavaScript工具生态系统需要了解,本书将介绍其中的几个。我们将介绍任务运行器Gulp.js和Grunt.js,它们对于自动化平凡、重复的任务非常有用。我们还将介绍JSHint,这是一种用于提高代码质量的linting工具。Linting工具分析源代码并报告潜在的问题,这一特性在非编译语言中特别有用,比如JavaScript。
目录表
Chapter 1 Introduction
第2章Node.js简介
第3章模块和NPM
第四章节点的编程模型
Chapter 5 Core Modules
第6章构建节点
第七章MongoDB简介
第8章与MongoDB交互
第9章使用MongoDB和
第十章Mongo的替代品
第11章Express简介
Chapter 12 Architecture of an
第13章在中使用Express
第14章替代服务器框架
Chapter 15 AngularJS Overview
Chapter 16 Data Binding
Chapter 17 Angular Directives
Chapter 18 Controllers Server
第19章客户端路由
第20章角度在我们的
Chapter 21 Task Runners
Chapter 22 Debugging
第二十三章测试
评论前必须登录!
注册