
AngularJS: Maintaining Web Applications
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Content
- Cover
- Table of content
- Getting Started with AngularJS
- Introduction to AngularJS
- Architectural concepts
- Setting up the framework
- Organizing the code
- Creating Reusable Components with Directives
- What is a directive?
- Using AngularJS built-in directives
- Refactoring application organization
- Creating our own directives
- Animation
- Data Handling
- Expressions
- Filters
- Form validation
- Dependency Injection and Services
- Dependency injection
- Creating services
- Using AngularJS built-in services
- Scope
- Two-way data binding
- Best practices using the scope
- The $rootScope object
- Scope Broadcasting
- Modules
- Creating modules
- Recommended modules
- Building Our First App - 7 Minute Workout
- What is 7 Minute Workout?
- The 7 Minute Workout model
- Adding app modules
- The app controller
- The 7 Minute Workout view
- Adding start and finish pages
- Learning more about an exercise
- Displaying the remaining workout time using filters
- Adding the next exercise indicator using ng-if
- More AngularJS Goodness for 7 Minute Workout
- Formatting the exercise steps
- Tracking exercise progress with audio clips
- Pausing exercises
- Enhancing the workout video panel
- Animations with AngularJS
- Building Personal Trainer
- The Personal Trainer app - the problem scope
- The Personal Trainer model
- The Personal Trainer layout
- Implementing the workout and exercise list
- Building a workout
- Adding Data Persistence to Personal Trainer
- AngularJS and server interactions
- $http service basics
- Personal Trainer and server integration
- Getting started with $resource
- Using $resource to access exercise data
- Exercising CRUD with $resource
- Request/response interceptors
- AngularJS request/response transformers
- Handling routing failure for rejected promises
- Fixing the 7 Minute Workout app
- Working with Directives
- Directives - an introduction
- Anatomy of a directive
- Building a remote validation directive to validate the workout name
- Model update on blur
- Implementing a remote validation clues directive
- Understanding directive-isolated scopes
- AngularJS jQuery integration
- Maximizing AngularJS Directives
- Introduction
- Building a simple element directive
- Working through the directive spectrum
- Manipulating the DOM
- Linking directives
- Interfacing with a directive using isolate scope
- Interaction between nested directives
- Optional nested directive controllers
- Directive scope inheritance
- Directive templating
- Isolate scope
- Directive transclusion
- Recursive directives
- Expanding Your Toolkit with Filters and Service Types
- Introduction
- Using the uppercase and lowercase filters
- Using the number and currency filters
- Using the date filter
- Debugging using the json filter
- Using data filters outside the template
- Using built-in search filters
- Chaining filters
- Creating custom data filters
- Creating custom search filters
- Filtering with custom comparators
- Building a search filter from scratch
- Building a custom search filter expression from scratch
- Using service values and constants
- Using service factories
- Using services
- Using service providers
- Using service decorators
- AngularJS Animations
- Introduction
- Creating a simple fade in/out animation
- Replicating jQuery's slideUp() and slideDown() methods
- Creating enter animations with ngIf
- Creating leave and concurrent animations with ngView
- Creating move animations with ngRepeat
- Creating addClass animations with ngShow
- Creating removeClass animations with ngClass
- Your Coding Challenge
- Staggering batched animations
- Sculpting and Organizing your Application
- Introduction
- Manually bootstrapping an application
- Using safe $apply
- Application file and module organization
- Hiding AngularJS from the user
- Managing application templates
- The "Controller as" syntax
- Working with the Scope and Model
- Introduction
- Configuring and using AngularJS events
- Managing $scope inheritance
- Working with AngularJS forms
- Working with &select& and ngOptions
- Building an event bus
- Testing in AngularJS
- Introduction
- Configuring and running your test environment in Yeoman and Grunt
- Understanding Protractor
- Incorporating E2E tests and Protractor in Grunt
- Writing basic unit tests
- Writing basic E2E tests
- Setting up a simple mock backend server
- Writing DAMP tests
- Using the Page Object test pattern
- Screaming Fast AngularJS
- Introduction
- Recognizing AngularJS landmines
- Creating a universal watch callback
- Inspecting your application's watchers
- Deploying and managing $watch types efficiently
- Optimizing the application using reference $watch
- Optimizing the application using equality $watch
- Optimizing the application using $watchCollection
- Optimizing the application using $watch deregistration
- Optimizing template-binding watch expressions
- Optimizing the application with the compile phase in ng-repeat
- Optimizing the application using track by in ng-repeat
- Trimming down watched models
- Promises
- Introduction
- Understanding and implementing a basic promise
- Chaining promises and promise handlers
- Implementing promise notifications
- Your Coding Challenge
- Implementing promise barriers with $q.all()
- Creating promise wrappers with $q.when()
- Using promises with $http
- Using promises with $resource
- Using promises with Restangular
- Incorporating promises into native route resolves
- Implementing nested ui-router resolves
- Getting Started with Node.js
- Introduction to Node.js
- JavaScript closures
- Node modules
- Developing Node.js web applications
- Building an Express Web Application
- Introduction to Express
- Installing Express
- Creating your first Express application
- The application, request, and response objects
- External middleware
- Implementing the MVC pattern
- Configuring an Express application
- Rendering views
- Serving static files
- Configuring sessions
- Introduction to MongoDB
- Introduction to NoSQL
- Introducing MongoDB
- Key features of MongoDB
- MongoDB shell
- MongoDB databases
- MongoDB collections
- MongoDB CRUD operations
- Introduction to Mongoose
- Introducing Mongoose
- Understanding Mongoose schemas
- Extending your Mongoose schema
- Defining custom model methods
- Model validation
- Using Mongoose middleware
- Using Mongoose DBRef
- Managing User Authentication Using Passport
- Introducing Passport
- Understanding Passport strategies
- Understanding Passport OAuth strategies
- Introduction to AngularJS
- Introducing AngularJS
- Key concepts of AngularJS
- Installing AngularJS
- Structuring an AngularJS application
- Bootstrapping your AngularJS application
- AngularJS MVC entities
- AngularJS routing
- AngularJS services
- Managing AngularJS authentication
- Creating a MEAN CRUD Module
- Introducing CRUD modules
- Setting up the Express components
- Introducing the ngResource module
- Implementing the AngularJS MVC module
- Finalizing your module implementation
- Adding Real-time Functionality Using Socket.io
- Introducing WebSockets
- Introducing Socket.io
- Installing Socket.io
- Building a Socket.io chat
- Testing MEAN Applications
- Introducing JavaScript testing
- Testing your Express application
- Testing your AngularJS application
- Automating and Debugging MEAN Applications
- Introducing the Grunt task runner
- Debugging Express with node-inspector
- Debugging AngularJS with Batarang
- Reflect and Test Yourself! Answers
- Bibliography
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.