concept name in category aurelia

This is an excerpt from Manning's book Aurelia in Action.
The Aurelia team has released a technology called Server Render. As the name implies, using this approach, the application is rendered on the server side before it’s returned to the browser. This technology resolves both the unpredictable page-load times and crawler issues. This goes a long way toward expanding the set of applications that fall into Aurelia’s sweet spot. You can find out more about server-side rendering on the Aurelia documentation site (https://aurelia.io/docs/ssr/introduction/). Take a look at figure 1.5.
You’ve seen how view strategy decorators can be used to change how Aurelia locates and creates the view instance for a view-model, but what if you want to change the name of a component as it’s referred to in the view? In the next two sections, we’ll look at how you can use the @customElement and @customAttribute decorators to override the default component-naming behavior for custom elements and attributes.
Listing 13.13. Create the inspect-binding behavior (inspect-binding-behavior.js)
export class InspectBindingBehavior { bind(binding, scope) { #1 let name = binding.targetObserver ? #2 binding.targetObserver.constructor.name : binding.constructor.name; let currentBindings = scope.overrideContext["bindings"] || []; #3 currentBindings.push({ #4 "type" : name, "source" : binding.targetProperty, "target": binding.target.nodeName, "mode" : binding.mode }); scope.overrideContext["bindings"] = currentBindings #4 } unbind(binding, scope) { #5 delete scope.overrideContext["bindings"]; } }To round up the inspect-binding-behavior example: binding behaviors can be required into the view by name, as shown in listing 13.14. Unlike the toView and fromView value-converter methods, the bind and unbind methods on a custom binding behavior are called only once (when the corresponding bind and unbind component-lifecycle methods are called), rather than each time the value this binding is applied to changes. With this binding behavior, you can now inspect the bindings applied to elements in the view like this: <input value.bind="message & inspect"></input>. Any bindings that you inspect appear in the bindings table at the bottom of the view.
Custom attributes can be made more flexible using dynamic options. With this feature in hand, you can create custom attributes that don’t need to know the name of each individual property.