Javascript Best Practices Document v1.0
- From: "Matt Kruse" <newsgroups@xxxxxxxxxxxxx>
- Date: Mon, 10 Oct 2005 22:06:18 -0500
http://www.JavascriptToolbox.com/bestpractices/
I started writing this up as a guide for some people who were looking for
general tips on how to do things the 'right way' with Javascript. Their code
was littered with document.all and eval, for example, and I wanted to create
a practical list of best practices that they could easily put to use.
The above URL is version 1.0 (draft) that resulted. IMO, it is not a
replacement for the FAQ, but a more practical guide for fixing some of the
problems that commonly get pushed into web sites.
Any comments?
PS: Ignore the formatting. It's ugly, for now ;)
PPS: I know that there are exceptions to many of the 'best practices' in
very specific situations when approached by an experienced author, but the
goal of this document is to help the average joe developer fix common
problems and write more acceptable code.
--
Matt Kruse
http://www.JavascriptToolbox.com
http://www.AjaxToolbox.com
.
- Follow-Ups:
- Re: Javascript Best Practices Document v1.0
- From: Michael Winter
- Re: Javascript Best Practices Document v1.0
- From: Randy Webb
- Re: Javascript Best Practices Document v1.0
- From: RobG
- Re: Javascript Best Practices Document v1.0
- From: Gérard Talbot
- Re: Javascript Best Practices Document v1.0
- Prev by Date: dynamically add a script source
- Next by Date: Re: Drag Drop Re-ordering
- Previous by thread: dynamically add a script source
- Next by thread: Re: Javascript Best Practices Document v1.0
- Index(es):
Relevant Pages
|
|