More on JavaScript as Behavior

I have reported a new direction in the use of JavaScript in the past, and a new article by Peter-Paul Koch reminds me to review the sources of information and share with students and faculty. Koch’s newest article, JavaScript Triggers, is located in Zeldman’s A-List-Apart: http://www.alistapart.com/articles/scripttriggers/. He discusses the strict separation of structure, presentation, and behavior in semantic web site development, and gives examples of how he suggests using the “id” attribute as a JavaScript trigger, rather than dumping loads of JavaScript into the structure of an XHTML document. I am also adding a list of articles that discuss this direction in the use of JavaScript now that CSS has taken over some of the functioning of JavaScript. The direction is to use JavaScript to manipulate CSS objects, among other behavioral functions. These articles are the only references I have found that speak to these issues. I would appreciate anyone adding to this list if you have read of this type of application and it is not listed here.

Separating behavior and structure, by Peter-Paul Kock http://www.digital-web.com/columns/keepitsimple/

separating_behavior_and_structure.shtml

Separating Behavior and Presentation, by Peter-Paul Koch

http://www.digital-web.com/articles/

separating_behavior_and_presentation/



The Behavior Layer, Peter-Paul Koch

http://digital-web.com/columns/keepitsimple/

keepitsimple_2004-01.shtml

Enhancing Structural Markup with JavaScript, Simon Willison

http://www.sitepoint.com/print/structural-markup-javascript

Presentational JavaScript, Bobby Vandersluis

http://www.bobbyvandersluis.com/articles/presentationaljavascript.php



JavaScript navigation – cleaner, not meaner, codepo8 (evolt)

http://www.evolt.org/article/Javascript_navigation_cleaner_not_meaner/

17/60273/index.html?format=print

Introduction to Events, Peter-Paul Koch

http://www.quirksmode.org/js/introevents.html



Some Additional Articles related to JavaScript issues:

For other articles about JavaScript from Peter-Paul Koch, go to his site and select the link to JavaScript

http://www.quirksmode.org

Validating a Custom DTD, by J. David Eisenberg

http://www.alistapart.com/articles/customdtd/

JavaScript: How Did We Get Here?, by Steve Champeon

http://www.hesketh.com/publications/javascript_history.html

JavaScript: Why You Don’t Know More About It, by Steve Champeon

http://www.hesketh.com/publications/

javascript_why_you_dont_know_more.html

Working With JavaScript: Introduction, by Steve Champeon

http://www.hesketh.com/publications/javascript_introduction.html



Modifying Styles, Apple Internet Developer Site

http://developer.apple.com/internet/webcontent/styles.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: