On Jun 5, 10:56 am, Jeremy J Starcher <r3...@yahoo.com> wrote:
> On Thu, 05 Jun 2008 07:03:38 -0700, Michael Reach wrote:
> > Can anyone suggest a really good course in Javascript that my son can
> > take online, starting right away? It should be for someone without much
> > programming experience, and I mean a real course, that covers things
> > properly and gives problems to work, so that someone who puts in the
> > time can really learn it. Or, the same for a book to buy. Thanks
>
> As stated before, most folks learn from examples on the net.
>
That's and by experimenting.
> Sturgeon's law tells us that "90% of everything is crap." Alas, when it
> comes to Javascript tutorials and examples I tend to think he was an
> optimist.
>
That would seem to imply that an apt pupil might unknowingly teach
himself anothers' shoddy coding approach without knowing better.
I think that the libraries have done harm, in this regard, encouraging
users to take advantage of a layer of abstraction that needlessly
overcomplicates and slows down both the program and the user's
understanding of how to solve the problem at hand.
Experimenting and building things is probably more fun than trying to
go about learning EcmaScript syntax first. Good syntax can be learned
by examples of well-written code. Bad syntax can be identified by
observing code reviews that provide explanation of the problems.
Explanations of the code practices can be learned in the process, by
example e.g. here's how to build an [x] and here's why we did it this
way. Good references are invaluable these include:
w3c:
DOM:
http://www.w3.org/TR/2003/REC-DOM-Le...HTML-20030109/
Events:
http://www.w3.org/TR/DOM-Level-2-Events/
CSS:
http://www.w3.org/Style/CSS/
HTML:
http://www.w3.org/MarkUp/
MSDN:
http://msdn.microsoft.com/en-us/libr...50(VS.85).aspx
http://developer.mozilla.com.
Amd of course, the HTML and CSS Validators
http://validator.w3.org
http://jigsaw.w3.org/css-validator/
And Finally, the Ecma 262 spec. I don't like PDF, so I use Bob Clary's
HTML edition:
http://bclary.com/2004/11/07/
Tools:
Firebug:
http://getfirebug.com/
MS Script Editor: (comes with Word; I cant find free one now --
anyone?)
MS Visual Studio Express (slow)
Web Developer Toolbar (Firefox Extension)
Webkit/Drosera
I also think that the mental approach and attitude: "What is the best
way to do this?" - and having the discipline to follow through with
that is very important.
My .02 on learning JavaScript.
Garrett