I was told by a Javascript programmer not to do DOM manipulation in model code.
I also remember hearing a snazzy tune for a JS framework (I forget which one): "Get your models out of the DOM".
This is confusing to me. The DOM is the Document Object Model. To me it sounds like "get your model out of the model".
Should my JS model really not touch the DOM? Can someone set me straight on model v. model?