07 octobre 2015

Project update: application state as an aurelia template

The last important design decision I had to take is how to express dependencies between widgets and live controls or other widgets without relying on code. In other words, some kind of "save state".

Instead of creating yet another json state that itself creates objects and layout, I figured that directly using aurelia templates actually allows me to express those dependencies. Live's parameters happen to be custom tags without any view, but that can then be bound to visible and controllable widgets.

Hopefully it won't become a tag soup and stay focussed on layout and dependencies. Additional behavior can always be declared in the ViewModel or as new custom tags.

This is one of the last thing I wanted to implement before the first public release, so stay tuned, it's coming soon.

Aucun commentaire :

Enregistrer un commentaire