Chapter 8. DOM and Browser Patterns
But first, let’s start with a brief and somewhat philosophical discussion on how to approach client-side scripting.
Separation of Concerns
The three main concerns in web application development are:
The HTML document
The CSS styles that specify how the document looks
Keeping the three concerns as separate as possible improves the delivery of the application to a vast array of user agents—graphic browsers, text-only browsers, assistive technology for disabled users, mobile devices, and so on. The ...