Javascript
The w3schools introduction to Javascript is as follows:
Quote
Javascript is THE scripting language of the Web.
Javascript is used in millions of Web pages to add functionality, validate forms, detect browsers, and much more.
Javascript is used in millions of Web pages to add functionality, validate forms, detect browsers, and much more.
Javascript is easy to learn and a great language for people who are new to programming.
Tools
The minimum tools you require to write Javascript, is a text editor (such as Notepad, Notepad++ or Programmer's notepad) and a browser.
OR you can pick an IDE :
Aptana Studio - my personal favorite for Javascript
Netbeans
Before you continue, find the Javascript error console on your browser.
Internet Explorer 8: Tools->Developer Tools-> 'scripts' tab
FireFox: Tools->Error Console. I recommend firefox users to get Firebug too.
Chrome: Wrench Icon->Tools->Javascript console
Opera: Menu->Page->Developer Tools->Error console
Safari: ?? Can't find it!
Learning
1) Javascript Tutorial and references at w3schools
2) Javascript guide, reference and a lot more at Mozilla Developer Center for Javascript
3) Another Javascript reference at javascriptkit.com. And also useful snippets here
4) Object-Oriented Javascript Part 1 and Part 2.
5) Video lecture on Javascript from Harvard.
6) PromoteJS.com
Javascript, many a times, is used along with other technologies like AJAX, JSON and server side technologies like PHP,ASP,JSP or Python.
Resources and Libraries
Making Javascript components can bring hours of fun, but when it comes to professional Javascript development, it is difficult to get anything done without using frameworks.Which brings us to the interesting part of Javascript.
1) YUI Library - YUI 2 and YUI 3. : Professional Javascript framework from Yahoo! Corp.
JQuery
MooTools
Dojo ToolKit
scriptaculous
DHTMLX
You mat look at a list of popular Javascript frameworks at wikipedia.
2) Use Java to generate Javascript with Google Web ToolKit (GWT) or Rhino.
3) Google Maps API
Other Resources
1) JSLint - Javascript syntax checker and validator.
2) Code compressors/minifiers:
YUI Compressor (Here's an online YUI compressor)
Dojo Compressor.
3) Found a set of videos here
4) As you use a lot of Javascript components, you will realize web page loading times might increase considerably - either due to extra download time or slow scripts that require lots of processing.
To achieve faster page loading, read the following (You will find few conflicting opinions
http://betterexplain...ript-load-time/
http://thinkvitamin....avascript-fast/
http://developer.yah...h_performanc_8/
http://developer.yah...ance/rules.html
Future of Javascript
Read the HTML5 presentation at html5rocks.com.Note that you will need a HTML5 compatible browser.
This post has been edited by macosxnerd101: 03 November 2010 - 12:40 PM
Reason for edit:: Added PromoteJS Link thanks to BrianArn!

New Topic/Question
Reply





MultiQuote










|