PDA

View Full Version : I really want to learn javaScript



hoboy
February 18th, 2010, 01:44 PM
I really realy want to learn javaScript so I can use many of the javaScripts at code.google projects.
what ide you guys use when you code in javaScript ? I am used to Eclipse, Netbeans

like this example below how can i set my ide, that I will have code completion ?
for example
google.setOnLoadCallback(onGoogleDataLoad);
I want to be able to write google. to get access to the methods on google object, or this is impossible
to do in JavaScript ?


<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">

// Load the latest version of the Google Data JavaScript Client
google.load('gdata', '2.x');

function onGoogleDataLoad() {
// Put your code here
}

// Call function once the client has loaded
google.setOnLoadCallback(onGoogleDataLoad);

</script>

point_man
February 18th, 2010, 02:35 PM
Hey,
I do not know about google objects as such. But a good ide for js would be aptana.. i think it is a form of eclipse. Check it out. My friends like it.

Jonas thomas
February 18th, 2010, 06:57 PM
I really realy want to learn javaScript so I can use many of the javaScripts at code.google projects.
what ide you guys use when you code in javaScript ? I am used to Eclipse, Netbeans

like this example below how can i set my ide, that I will have code completion ?
for example
google.setOnLoadCallback(onGoogleDataLoad);
I want to be able to write google. to get access to the methods on google object, or this is impossible
to do in JavaScript ?


<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">

// Load the latest version of the Google Data JavaScript Client
google.load('gdata', '2.x');

function onGoogleDataLoad() {
// Put your code here
}

// Call function once the client has loaded
google.setOnLoadCallback(onGoogleDataLoad);

</script>

I've also been very intrigued by Java script. Check out something called Tiddly Wiki. I use a Gtd planner called D3 which is based on Tiddly Wiki which uses Java Script.

It's on my todo list to study java script. I just hasn't been high enough on the priorities.

Here's a tutorial link that might be of interest.
http://www.w3schools.com/JS/js_howto.asp

myrtle1908
February 18th, 2010, 11:54 PM
This is probably the best JavaScript tutorial you will find. Brilliantly written. I recommend it to all beginners.

http://eloquentjavascript.net/

adeypoop
February 19th, 2010, 12:54 AM
You coulduse any old text editor really such as gedit. Bluefish editor might be worth a look, i'm not sure, but it may have things like syntax highlighting for javascript. Again I'm not sure but firebug probably lets you step through code and watch variables and stuff.

sorry for the element of vagueness, i'm also interested in linux options but I do the majority of my coding using Visual Studio in windows.

myrtle1908
February 19th, 2010, 01:14 AM
You coulduse any old text editor really such as gedit. Bluefish editor might be worth a look, i'm not sure, but it may have things like syntax highlighting for javascript. Again I'm not sure but firebug probably lets you step through code and watch variables and stuff.

Eclipse + Aptana is great with JavaScript. Check out the spket plugin also. And yes Firebug does indeed let you step through code, set breakpoints, watches etc. It really is an invaluable tool for the JavaScript programmer.

alexk82
February 19th, 2010, 08:07 PM
i'd recommend this book as soon as you get a good grasp of javascript. "javascript the good parts" actually to anyone who thinks they know javascript. like most people i read the tutorials and thought i knew javascript, and began to hate it. it wasn't until i read this book that i understood it enough to appreciate it a little more

nexx
February 21st, 2010, 04:10 PM
+1 for the book "JavaScript: The Good Parts" by Douglas Crokford.

Also http://developer.yahoo.com/yui/theater/ for a lot of high quality video tutorials. And the blogs of the individual yahoo developers are also of great help since yahoo putted all of their javaScript code on an open source license.

For programming, I use geany, a very light and fast text editor. You can see some of my work at: www.artimap.com