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)

Measuring actual use

As we discussed earlier, keeping track of page views alone isn't reflective of the amount of requests that a user sends to the server. With Google Tag Manager and Google Analytics, you can keep track of more than just page views with ease.

As of publishing time, here are some of the default events you can configure across various categories. This list will grow over time:

  • Page View: Used to track whether a user is sticking around as page resources load and the page is fully rendered:
    • Page View, fired at first opportunity
    • DOM Ready, when DOM structure is loaded
    • Window Loaded, when all elements are finished loading
  • Click: Used to track user's click interactions with the page:
    • All Elements
    • Just Links
  • User Engagement: Tracks user behavior:
    • Element Visibility, whether elements have been shown
    • Form Submission, whether a form was submitted
    • Scroll...