Mastering Web Application Development with AngularJS

Streamline your web applications with this hands-on course. From initial structuring to full deployment, you’ll learn everything you need to know about AngularJS DOM based frameworks.
Preview in Mapt

Mastering Web Application Development with AngularJS

Peter Bacon Darwin, Pawel Kozlowski

1 customer reviews
Streamline your web applications with this hands-on course. From initial structuring to full deployment, you’ll learn everything you need to know about AngularJS DOM based frameworks.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$5.40
RRP $26.99
Save 79%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$5.40
$44.99
$29.99p/m after trial
RRP $26.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Learning Web Development with Bootstrap and AngularJS Book Cover
Learning Web Development with Bootstrap and AngularJS
$ 39.99
$ 28.00
Buy 2 for $22.90
Save $44.08
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781782161820
Paperback372 pages

Book Description

AngularJS is an open-source JavaScript framework. Its goal is to develop MVC-based web applications and reduce the amount of JavaScript needed to make web applications functional.

The book will take the reader through the workflow of building an AngularJS app.

Throughout the process of app creation, we will have a look at the different interaction points between design and development and the readers will learn how AngularJS helps both roles to build an application that works well, as well as how to create clean and maintainable front end markup and code.

Table of Contents

Chapter 1: Angular Zen
Meet AngularJS
AngularJS crash course
AngularJS and the rest of the world
Summary
Chapter 2: Building and Testing
Introducing the sample application
Build system
Organizing files and folders
AngularJS modules and files
Automated testing
Summary
Chapter 3: Communicating with a Back-end Server
Making XHR and JSONP requests with $http
The promise API with $q
The promise API with $http
Communicating with RESTful endpoints
Using advanced features of $http
Testing code that interacts with $http
Summary
Chapter 4: Displaying and Formatting Data
Referencing directives
Displaying results of expression evaluation
Conditional display
Rendering collections with the ngRepeat directive
DOM event handlers
Working effectively with DOM-based templates
Handling model transformations with filters
Summary
Chapter 5: Creating Advanced Forms
Comparing traditional forms with AngularJS forms
Creating a User Information Form
Understanding the input directives
Looking inside ngModel data binding
Validating AngularJS forms
Nesting forms in other forms
Repeating subforms
Handling traditional HTML form submission
Resetting the User Info form
Summary
Chapter 6: Organizing Navigation
URLs in single-page web applications
Using the $location service
Using built-in AngularJS routing services
Limitations of the $route service
Routing-specific patterns, tips, and tricks
Summary
Chapter 7: Securing Your Application
Providing server-side authentication and authorization
Securing partial templates
Stopping malicious attacks
Adding client-side security support
Supporting authentication and authorization on the client
Preventing navigation to secure routes
Summary
Chapter 8: Building Your Own Directives
What are AngularJS directives?
Following the directive compilation life-cycle
Writing unit tests for directives
Defining a directive
Styling buttons with directives
Understanding AngularJS widget directives
Creating a custom validation directive
Creating an asynchronous model validator
Wrapping the jQueryUI datepicker directive
Summary
Chapter 9: Building Advanced Directives
Using transclusion
Creating and working with transclusion functions
Understanding directive controllers
Taking control of the compilation process
Summary
Chapter 10: Building AngularJS Web Applications for an International Audience
Using locale-specific symbols and settings
Handling translations
Patterns, tips, and tricks
Summary
Chapter 11: Writing Robust AngularJS Web Applications
Understanding the inner workings of AngularJS
Performance tuning – set expectations, measure, tune, and repeat
Performance tuning of AngularJS applications
Summary
Chapter 12: Packaging and Deploying AngularJS Web Applications
Improving network-related performance
Optimizing the landing page
Supported browsers
Summary

What You Will Learn

  • Use AngularJS DOM-based templating effectively and learn how it differs from other frameworks
  • Query and modify data in various backends and become proficient with the promise API
  • Quickly create complex forms, taking full advantage of the 2-way data binding
  • Introduce navigation in your web application by relaying on the HTML5 History API
  • Manage dependencies with the AngularJS module and the Dependency Injection systems
  • Localize your web application to prepare it for an international audience
  • Secure your web application from unauthorized users
  • Build a variety of AngularJS directives: widgets, validators, and wrapping 3rd party plugins
  • Gain a deep understanding of the AngularJS compiler to build even more sophisticated directives
  • Unit test AngularJS-specific JavaScript code using the Jasmine BDD testing framework
  • Structure your web application by organizing it into a meaningful and flexible directory structure

Authors

Table of Contents

Chapter 1: Angular Zen
Meet AngularJS
AngularJS crash course
AngularJS and the rest of the world
Summary
Chapter 2: Building and Testing
Introducing the sample application
Build system
Organizing files and folders
AngularJS modules and files
Automated testing
Summary
Chapter 3: Communicating with a Back-end Server
Making XHR and JSONP requests with $http
The promise API with $q
The promise API with $http
Communicating with RESTful endpoints
Using advanced features of $http
Testing code that interacts with $http
Summary
Chapter 4: Displaying and Formatting Data
Referencing directives
Displaying results of expression evaluation
Conditional display
Rendering collections with the ngRepeat directive
DOM event handlers
Working effectively with DOM-based templates
Handling model transformations with filters
Summary
Chapter 5: Creating Advanced Forms
Comparing traditional forms with AngularJS forms
Creating a User Information Form
Understanding the input directives
Looking inside ngModel data binding
Validating AngularJS forms
Nesting forms in other forms
Repeating subforms
Handling traditional HTML form submission
Resetting the User Info form
Summary
Chapter 6: Organizing Navigation
URLs in single-page web applications
Using the $location service
Using built-in AngularJS routing services
Limitations of the $route service
Routing-specific patterns, tips, and tricks
Summary
Chapter 7: Securing Your Application
Providing server-side authentication and authorization
Securing partial templates
Stopping malicious attacks
Adding client-side security support
Supporting authentication and authorization on the client
Preventing navigation to secure routes
Summary
Chapter 8: Building Your Own Directives
What are AngularJS directives?
Following the directive compilation life-cycle
Writing unit tests for directives
Defining a directive
Styling buttons with directives
Understanding AngularJS widget directives
Creating a custom validation directive
Creating an asynchronous model validator
Wrapping the jQueryUI datepicker directive
Summary
Chapter 9: Building Advanced Directives
Using transclusion
Creating and working with transclusion functions
Understanding directive controllers
Taking control of the compilation process
Summary
Chapter 10: Building AngularJS Web Applications for an International Audience
Using locale-specific symbols and settings
Handling translations
Patterns, tips, and tricks
Summary
Chapter 11: Writing Robust AngularJS Web Applications
Understanding the inner workings of AngularJS
Performance tuning – set expectations, measure, tune, and repeat
Performance tuning of AngularJS applications
Summary
Chapter 12: Packaging and Deploying AngularJS Web Applications
Improving network-related performance
Optimizing the landing page
Supported browsers
Summary

Book Details

ISBN 139781782161820
Paperback372 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Responsive Web Design with HTML5 and CSS3 Book Cover
Responsive Web Design with HTML5 and CSS3
$ 23.99
$ 4.80
AngularJS Web Application Development Blueprints Book Cover
AngularJS Web Application Development Blueprints
$ 29.99
$ 21.00
Object-Oriented JavaScript - Second Edition Book Cover
Object-Oriented JavaScript - Second Edition
$ 29.99
$ 21.00
AngularJS Directives Book Cover
AngularJS Directives
$ 19.99
$ 2.00
MEAN Web Development Book Cover
MEAN Web Development
$ 29.99
$ 3.00
AngularJS UI Development Book Cover
AngularJS UI Development
$ 26.99
$ 18.90