Talk:Unobtrusive JavaScript

From Wikipedia, the free encyclopedia

[edit] Is 'Unobtrusive JavaScript' a distinct concept worthy of a wikipedia article?

I'm very much in favour of the techniques this article is suggesting, but it seems to me that it might be a bit of a disguised how-to or essay article, and that 'Unobtrusive JavaScript' might not really exist as a distinct concept worthy of a wikipedia article.

Unless evidence can be dug up of a definite "Unobtrusive Javascript" movement it;s probably a candidate for merger or deletion. Artw 02:36, 27 January 2007 (UTC)

A Google search for the phrase "unobtrusive javascript" turns up 138,000 results. There's a book about it. It's been formally discussed at web development conferences. The influential site alistapart.com has an article about it. The term is commonly used, with the meaning that's described in this Wikipedia article, on mailing lists, blogs, and web development tutorials across the web: example, example, example. (Examine the example sources from the last link to see that the term is, in fact, being used to describe a specific methodology that stresses separation of programmatic behavior from markup.) People have written class libraries specifically to faciliate unobtrusive JavaScript development. This blog actually uses the phrase "unobtrusive JavaScript movement".

Need more? :) Greenie2600 04:04, 27 January 2007 (UTC)

Fair enough. I'm reasonably happy. Artw 17:08, 27 January 2007 (UTC)

Since the issue seems to be resolved, I removed the sources needed flag from the main page. Amitchaudhary 01:25, 1 February 2007 (UTC)

Doesn't the example lead to a memory leak?

Burn the heretic!

83.70.247.123 22:59, 25 July 2007 (UTC)

Emerging trend? People have advocated this kind of thing for years. —Preceding unsigned comment added by SigmaB8a (talk • contribs) 16:08, 20 September 2007 (UTC)

While I'm sure that there are earlier examples of Unobtrusive JavaScript the earliest that I am aware of are from Microsoft with IE4 and Behaviours (HTCs - HyperText Components) which unlike the current trend formally specifies the interface and seperation of the JavaScript from the markup that its acting upon. With Behaviours JavaScript is attached by means of CSS.

The current MS documentation on Behaviours can be found on MSDN [1]

It's my personal view that we'd be a lot further along if the work MS did in this area had been paid more attention. Carnagh 09:01, 24 September 2007 (UTC)