Getting started with Aurelia
-
Upload
sean-hunter -
Category
Technology
-
view
375 -
download
1
Transcript of Getting started with Aurelia
Brief history of front end development
26th August 200613th October 2010 - BackboneJS
5th July 2010 - KnockoutJS
2009, but really exploded in around 2013
Enter Backbone and Knockout
We can now split our code into views which are independently rendered.
Code easier to manage.
Angular 1.0
Routing
Directives (first introduction of the module concept)
Simple, two way data-binding
Why Aurelia – Rob Eisenberg
Created:
• Caliburn (WPF & Silverlight MVVM Framework)• Caliburn Micro (WPF & Silverlight MVVM Framework)• Durandal (1st Generation SPA Framework)• Aurelia (2nd Generation SPA Framework)
Modify the Babel Options
babelOptions: { "optional": [ "runtime", "optimisation.modules.system", "es7.decorators", "es7.classProperties" ]
},
Dynamic Composition or Custom Elements
<compose view="my-panel-heading.html"></compose>
<my-panel-heading></my-panel-heading>
Singletons
Every injected non-view model class is treated as a singleton.
* Can be overridden with transient
decorator
Aurelia Demo - Deployment
Because we don’t have HTTP2 yet, we need to bundle.
gulp bundle
http://blog.durandal.io/2015/09/11/bundling-aurelia-apps/
Web Components?
Now: Aurelia supports web components. This means polymer components can be used with Aurelia today.
Future: Ability to export Aurelia component for use as a web component (standalone).
Is it solid?
Backed by Durandal Inc.
Commercial Support Available.
15 developer team distributed around the world.
4 months in, any shortcomings?
Very new stuff.
Documentation a work in progressfantastic.
Lack of 3rd Party Tools
Video Resources
In depth look at the data binding system with one of the core team members http://hangouts.readthesource.io/hangouts/aureliaio-data-binding/
Pluralsight (Scott Allan) https://app.pluralsight.com/library/courses/building-applications-aurelia/table-of-contents
Contact Details
Sean Hunter, Software Developer @ PCA Predict
Twitter: @mr_sean_hunter
Email: [email protected]
Blog: http://sean-hunter.io/