Chapter 13. Extending Aurelia

 

This chapter covers

  • Getting unconventional with convention overrides
  • Looking at custom binding behaviors
  • Creating advanced custom attributes with dynamic options

This is the chapter that I was most looking forward to writing, because it gives me the opportunity to show you some of the amazing extensibility points Aurelia has on offer. When building applications with Aurelia, most of the time you’ll be well served by following Aurelia’s default conventions, but there will come a time when your application’s requirements will diverge from what comes out of the box.

One of the remarkable things about Aurelia is that although the initial starting point is simple, it provides you with several power-ups that allow you to move beyond the basics and create applications that solve even the thorniest problems. Some of these power-ups include convention overrides, custom binding behaviors, and custom attributes with dynamic options. In this chapter, we’ll explore how you can use each of these power-ups to solve the trickier problems you’ll run into when building complex Aurelia applications.

13.1. Overriding Aurelia’s default conventions

13.2. Creating an inspect custom binding behavior

13.3. Creating a Selectize.js custom attribute

13.4. my-books project status

Summary