For a project, I have started using Knockout.js.
This is a library to build UIs starting from a data model that is binded to html templates.
To start using the library, there is a list of articles that must be read:
And finally a few notes I have understood:
- Visible controls only the html style, but you have always the binding.
If you don't want to bind something (for example because you have null objects), use the if construct