Book Image

Angular 6 for Enterprise-Ready Web Applications

By : Doguhan Uluca
Book Image

Angular 6 for Enterprise-Ready Web Applications

By: Doguhan Uluca

Overview of this book

Angular 6 for Enterprise-Ready Web Applications follows a hands-on and minimalist approach demonstrating how to design and architect high quality apps. The first part of the book is about mastering the Angular platform using foundational technologies. You will use the Kanban method to focus on value delivery, communicate design ideas with mock-up tools and build great looking apps with Angular Material. You will become comfortable using CLI tools, understand reactive programming with RxJS, and deploy to the cloud using Docker. The second part of the book will introduce you to the router-first architecture, a seven-step approach to designing and developing mid-to-large line-of-business applications, along with popular recipes. You will learn how to design a solid authentication and authorization experience; explore unit testing, early integration with backend APIs using Swagger and continuous integration using CircleCI. In the concluding chapters, you will provision a highly available cloud infrastructure on AWS and then use Google Analytics to capture user behavior. By the end of this book, you will be familiar with the scope of web development using Angular, Swagger, and Docker, learning patterns and practices to be successful as an individual developer on the web or as a team in the Enterprise.
Table of Contents (14 chapters)

Collecting Analytics

Now that our site is up and running, we need to start collecting metrics to understand how it is being used. Metrics are key to operating a web application.

Google Analytics has many facets; the main three are as follows:

  1. Acquisition, which measures how visitors arrive at your website
  2. Behavior, which measures how visitors interact with your website
  3. Conversions, which measures how visitors completed various goals on your website

Here's a look at the Behavior | Overview from my website TheJavaScriptPromise.com:

Google Analytics Behavior Overview

TheJavaScriptPromise.com is a simple one page HTML site, so the metrics are quite simple. Let's go over the various metrics on the screen:

  1. Pageviews show the number of visitors
  2. Unique Pageviews show the number of unique visitors
  3. Avg. Time on Page shows the amount of time each user spent on the site
  4. Bounce...