Page 1 of 1

There's got to be more to JavaScript

Posted: Mon Dec 17, 2007 11:08 am
by Jonah Bron
Hello, world.

I don't know, but I think there's more to javascript than just...
strings
objects
variables
if
if...else
for
while
functions
a variety of functions
HTML DOM
XML DOM
AJAX

Everywhere there is a tutorial on JavaScript, the above is all they tell you about.

Where do you learn everything else?

Thanks much.

Posted: Mon Dec 17, 2007 11:55 am
by feyd
That's the general extent of what Javascript offers. To be fair, that's primarily the extent of what PHP offers too, as does most languages. Languages provide structure to the code only. Functions, classes and such are built to provide a working base for users of the language. You build functions and classes to create a working base for your own purposes.

Posted: Mon Dec 17, 2007 4:47 pm
by Kieran Huggins
This is a great overview:
http://javascript.crockford.com/survey.html

Also worth a look:
http://javascript.crockford.com/javascript.html

JavaScript is teh hawt, don't let it's small stature fool you!

If you want to sexify your DOM scripting, take a look at jQuery. You'll start looking at all programming differently.

Be warned though: JavaScript is a gateway drug. It leads to Ruby, and possibly also Lisp.