
Full Stack JavaScript Development With MEAN
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Full Stack JavaScript Development with MEAN
- Table of Contents
- Preface
- Who Should Read This Book
- Conventions Used
- Code Samples
- Tips, Notes, and Warnings
- Supplementary Materials
- Want to Take Your Learning Further?
- Introduction
- The Rise of Full-stack JavaScript
- Node.js
- The Node.js Ecosystem
- MongoDB
- AngularJS
- Summary
- Node.js Introduction
- Familiarity with JavaScript
- The Problem with I/O
- An Example Web Server
- Stepping Around the I/O Problem
- Example Web Server Revisited
- Real World Data
- Your First Node.js Server
- Installing Node.js
- REPL
- Writing the Server
- Our Server in Action
- Summary
- Modules and npm
- npm
- npm install
- Global versus Local Installations
- Global Installation Setup
- npm search
- package.json
- The node_modules Folder
- Module Dependencies
- require()
- Other Uses for require
- Writing a Module
- Module Functionality
- Caching
- npm link
- npm link Step 1
- npm link Step 2
- Summary
- Node's Programming Model
- The Event Loop
- The Illusion of Concurrency
- Asynchronous Coding
- Callback Functions
- Calling Conventions
- Exception Handling
- Callback Hell
- Event Emitters
- Extending EventEmitter
- Listening for Events
- Exception Handling
- The uncaughtException Event
- Promises
- Promise Chaining
- Summary
- Core Modules
- Command Line Arguments
- Working with the File System
- __filename and __dirname
- The Current Working Directory
- Reading Files
- Writing Files
- Streams
- Readable Streams
- Readable File Streams
- Writable Streams
- Handling Back Pressure
- Writable File Streams
- The Standard Streams
- Web Programming
- Creating a Server
- Routes
- Accessing Request Headers
- Summary
- Building the Node Server
- Server Plan
- Structuring the Application
- Getting Started
- Routing
- Database Module
- Querying the Database
- Response Generator
- Putting It Back Together
- Summary
- MongoDB Introduction
- NoSQL Databases
- History of MongoDB
- Installing MongoDB Locally
- Cloud Hosting
- Heroku Integration
- The MongoDB Shell
- Inserting New Data
- Retrieving Data
- Limiting the Size of the Result Set
- Updating Data
- Deleting Data
- Deleting Collections
- Deleting Databases
- Summary
- Interacting with MongoDB Using Mongoose
- Mongoose Node Module
- Schemas
- Mixed Schema Type
- ObjectID Schema Type
- Example Mongoose Schema
- Mongoose Models
- Creating More Documents
- Simple Queries
- Updating
- Summary
- Using MongoDB and Mongoose in Our Sample App
- Adding Mongoose Models
- The Employee Model
- The Team Model
- Populating the Database
- Accessing the Database
- Summary
- Alternatives to Mongo
- Relational Databases and SQL
- The mysql Module
- Connecting to a Database
- Connection Pooling
- Closing Connections
- Executing Queries
- Summary
- Introduction to Express
- The Building Blocks of Express
- Router
- Route Lookup
- Static Files
- Middleware
- Middleware Breakdown
- Routes
- Optional Parameters
- Other Route Options
- Putting It Together
- Generating an Express App
- Jade
- Summary
- Architecture of an Express Application
- Starting the Server
- app.js
- app.use
- cookieParser
- Static Files Revisited
- Error Handling
- Error Handling in Practice
- app.set
- Router Object
- Using the Router Object
- Exercise
- Simulating Database Interaction
- Generating the HTML
- Summary
- Using Express in Our App
- Updates to package.json
- The npm start Script
- Defining Routes
- Employee Routes
- Team Routes
- Update index.js
- Summary
- Alternative Server Frameworks
- hapi Overview
- Express Comparison
- Route Configuration
- Routing
- Built-in Capability
- Events
- Plugins
- Plugin Example
- Summary
- AngularJS Overview
- Single-page Applications
- SPA Frameworks
- Model-View-Controller Architecture
- Getting Angular
- Building from Source
- Releases
- Angular "Hello World
- Summary
- Data Binding
- One-Way Data Binding
- Two-Way Data Binding
- A Simple Example
- Markup Explanation
- Summary
- Technical Overview
- $watch
- Digest Loop
- Simple Controllers
- Data Binding with Lists
- Summary
- Angular Directives
- Overview
- An Example Using Common Directives
- Creating Directives
- An Example Custom Directive
- Summary
- Controllers
- Syntax
- Dependencies
- Expanding on Our Example
- Express Integration
- JavaScript
- HTML
- Simple Service
- Using EmployeeService
- Summary
- Client-side Routing
- Getting Started with ngRoute
- Application Overview
- Code
- Router
- Routing Life Cycle Example
- Service and Controllers
- Views
- Putting It Together
- Summary
- Angular in Our App
- The Home Page
- CSS and Image Files
- app.js
- Template Files
- Team and Employee Listing Views
- Individual Team View
- Individual Employee View
- Summary
- Task Runners
- Introducing Gulp
- Setting Up Gulp
- Designing a Gulp File
- css Task
- javascript Task
- watch Task
- Summary
- Debugging
- The debugger Statement
- Running Chrome's Debugger
- Controlling the Debugger
- Modifying Variables
- Node's Debugger
- node-inspector
- node-debug
- Summary
- Testing
- Testing Node
- Defining Tests
- Asynchronous Tests
- skip() and only()
- Test Hooks
- Assertions
- Testing Angular
- Set Up
- Test Code Setup
- Controller Tests
- Running the Tests
- Next Steps
- Summary
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.