Closed sjohnsonaz closed 9 years ago
Created ViewModel
class for containing data. The properties from this model are then bound to Widgets
.
Create fundamental BindingHandlers
. Currently we have OneWayBinding
and TwoWayBinding
. Still need to create IfBinding
and ForEachBinding
.
Created IfBinding
.
Created a "templating" system for Container.children
.
Finished templating for Container.children
. Template can be added via staticTemplate
or managedTemplate
, depending on if a template instance is needed for each iteration.
MVC and MVVM have distinct advantages in separation of concerns. By design BuildJS can support this separation of concerns, but it is not well defined.
Forms are probably the easiest and most important place to handle this, as these directly manipulate data. However, it should probably exist at all layers of the application.
Widget.element
.Container.children
.