The select, input, embed/object (Flash), video, audio, canvas etc. elements represent components with their own internal state which is often can not be just re-rendered from a model data. For inputs, this includes scroll position and focus. For the rest, this includes internal state, video and audio buffers, image buffers, content downloaded inside the element etc.
I've read many books and articles, frameworks for modern single-page web applications and none of them include thoughts how to manage these elements which do not directly represent a model and their contents cannot be templated like simple HTML tags.
Please add some thoughts on this topic into your book.
The
select,input,embed/object(Flash),video,audio,canvasetc. elements represent components with their own internal state which is often can not be just re-rendered from a model data. For inputs, this includes scroll position and focus. For the rest, this includes internal state, video and audio buffers, image buffers, content downloaded inside the element etc.I've read many books and articles, frameworks for modern single-page web applications and none of them include thoughts how to manage these elements which do not directly represent a model and their contents cannot be templated like simple HTML tags.
Please add some thoughts on this topic into your book.