Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #416 (closed enhancement: invalid)

Opened 13 years ago

Last modified 12 years ago

Add resources for learning JavaScript

Reported by: kevin Owned by: anonymous
Priority: normal Milestone: 0.9
Component: Documentation Version:
Severity: normal Keywords:
Cc:

Description

From Moe Aboulkheir

javascript syntax should be fairly familiar to you if you've had experience with any other curly brace language, but the semantics are sometimes counterintuitive, implicit to a fault, and maddeningly inconsistent.

there is a pretty good tutorial/reference on writing functional javascript here: http://interglacial.com/hoj/hoj.html

also a "tutorial for programmers" here: http://www.wdvl.com/Authoring/JavaScript/Tutorial/

for a quick reference, i often use http://www.javascript-reference.info/ - it follows a kind of flash-card format, but some of the code snippets are long enough to orient the beginner, and it serves as a good API reference for most (all?) javascript primitives

also, as far as the DOM is concerned, http://kb.mozillazine.org/Category:Development contains a wealth of articles - a lot of them are mozilla specific (e.g. mozilla extension development), but the code examples are of high quality.

i would also suggest getting hold of a standalone javascript interpreter - it's a lot easier to be able to prototype and hash things out without having to execute the code in your browser.  spidermonkey (mozilla's javascript engine) is available standalone, and there is also rhino, a more full-featured javascript interpreter writting in java, IIRC.  (see also http://en.wikipedia.org/wiki/List_of_JavaScript_engines and http://en.wikipedia.org/wiki/JavaScript for more tutorials)

i was googling for a list of js gotchas/shortcomings, and i stumbled across one on bob's blog: http://bob.pythonmac.org/archives/2005/07/18/javascript-sucks-volume-2/

From webwurst:

this site was very interesting to me:
http://www.crockford.com/javascript/

jgardner recommended:

I'm reading "The Complete Reference: Javascript 2nd Ed" and it is pretty good for reference. Although for learning the language, I'd suggest "Professional Javascript for Web Developers" that came out recently.

Change History

comment:1 Changed 13 years ago by roger.demetrescu

I also recommend these 2 references:

 http://www.irt.org/ (see "JavaScript?, JScript & ECMAScript" section)

 http://www.turtleproject.com/mod/resource/view.php?id=351

comment:2 Changed 13 years ago by godoy

I don't think that this should be a concern for TurboGears... With search engines it is easy to find good resources for learning JavaScript? (I've learnt a lot about it this way and I'm really new to web programming and had never written any JavaScript? before).

Otherwise we'd have to have pointers for HTML, XHTML, CSS, etc. as well since all of those are important components of the "view" layer.

I'm willing to close this as "invalid" or "wontfix" if you agree...

comment:3 Changed 13 years ago by jorge.vargas

  • Status changed from new to closed
  • Resolution set to invalid

I agree with godoy.

Do we have resources to learn http or XML ?

what I do think that should be add is docs to the diferent JS libraries that are used.

for "basic introduction concepts/tecnologies" we may have a wikipage with links people point out, nothing more :)

I'll close it since last entry was 1month ago

Note: See TracTickets for help on using tickets.