[Javascript] separating structure, style, and behavior

Shawn Milo milo at linuxmail.org
Thu May 6 13:11:00 CDT 2004


I began using CSS for layout and XHTML Strict not too long ago.
I was convinced that it was the right way to go by a friend.

Since then, I have found this site invaluable:

http://members.aardvark.net.au/haran/oswd/gila/

This is basically a template site.  I've used it for many
sites and web applications since then, and modifying it
for my own uses has taught me CSS pretty well.  It's nice
to start with a working model.

I e-mailed Haran (the creator), and he is pleased to have
anyone copy and borrow from it.  He just wants to promote
standards.  He's a nice guy to talk to, as well.

I love validating my page against the W3C validator, and 
getting the message "This Page is Valid XHTML 1.0 Strict".
Doing this has cleaned up my Javascript, as well.  The only
downside is that when I look at some of my older web apps, 
still in production at work, I groan.  There is a lot of
work to do now to convert them.  The benefit is that, once
I have something that complies with W3C standards, it's so
much nicer when I have to go back and maintain that app.

:o)

Shawn



More information about the Javascript mailing list