A data model is a model that relates the abstractions of real-world objects and their interactions. The DOM is a visual representation of different elements of the data-model represented visually to the user.
A framework is a platform for software development. It's different from a library in that if you use a framework you are subject to the constraits of what is provided. If you incorporate a library you can pick and choose when and how to apply it in your application. A framework, by contrast, is an all or nothing experience.

