Rick Hurst Web Developer in Bristol, UK

Menu

The Behaviour Layer

Article over at Digital Web Magazine discussing the "Behaviour Layer" of a website.

In summary, a typical web page has three layers: Content, Presentation and Behaviour. In this context, XHTML is the content Layer, CSS is the presentation layer and Javascript is the behaviour layer. The article argues that it is important that the site functions with various combinations of these e.g (content + presentation + behaviour), (content + presentation) or (content + behaviour). Essential behaviour such as form validation that has been added client-side using Javascript should also be replicated server-side ("belt and braces")..