Book Image

Aurelia Web Development - Part 1 [Video]

By : Raja Mani
Book Image

Aurelia Web Development - Part 1 [Video]

By: Raja Mani

Overview of this book

<p>Aurelia is a modern, forward-thinking, conventions-based JavaScript framework that leverages web standards. Aurelia itself is developed using ES2016 and comprises smaller, focused modules.</p> <p>This video course starts by ensuring you have a basic understanding of Aurelia, walking you through a todo list application and setting up the development environment. We'll take you through a modern web application and move on to talk about tools, modules, web standards, and testing.</p> <p>Moving on, we take you on a whirlwind tour of Aurelia’s features in order to create a todo application project. After that, you’ll get an understanding of how to persist todos, routing, using pub/sub for communications. At the end, we throw light on dependency injection, declarative registration, explicit registration, and resolvers.</p> <p>This course will provide you with step-by-step practical knowledge of how to develop an application using Aurelia web development.</p> <h1>Style and Approach</h1> <p>This easy-to-follow video course offers detailed, step-by-step examples to build an app using Aurelia web development. The practical, real-life examples will help you understand how Aurelia is organized and you’ll use its modern framework to design professional-quality web apps. You’ll also develop well-designed, decoupled, and testable single-page applications with Aurelia.</p>
Table of Contents (5 chapters)
Chapter 5
Introduction to Dependency Injection (DI)
Content Locked
Section 1
Dependency Injection (DI) in Aurelia
In this video, we’ll cover the dependency injection principle and how it help us build loosely coupled applications. - Give an introduction to the capabilities of Aurelia’s DI container - Explain the two ways of injecting dependencies into a constructor of a class—static inject() method and @inject decorator - Modify the implementation of todo-popup-item to inject an instance of Router class using static inject() method and todo-manager/index component to inject an instance of PouchDBTodoService using @inject decorator