Skip to main content


developerWorks  >  Open source  >

Building JavaScript applications with JSEclipse

Build a species of evolving creatures while learning this useful tool

developerWorks

Level: Intermediate

Nicholas Chase (ibmquestions@nicholaschase.com), Freelance writer

18 Dec 2007

Register now or sign in using your IBM ID and password.

Using JSEclipse, JavaScript programmers now have their own Eclipse plug-in that provides many important features to aid in the development of JavaScript applications. JSEclipse gives JavaScript developers the same ease of use that Eclipse has been providing in the Java™ language and others for years. Learn to use this tool, while creating a colony of evolving "creatures" on your page.

In this tutorial

This tutorial is for JavaScript developers who want to learn more about making their lives easier. It covers the JSEclipse tool, which plugs into Eclipse and provides features like code completion and templates. It also covers Firebug, which provides true debugging capabilities.

Eclipse is a terrific programming tool, providing capabilities such as code completion, easy navigation, and debugging for programmers of many languages. But until now, JavaScript wasn't one of them. Now JavaScript programmers have their own tool: JSEclipse — an Eclipse plug-in that provides many of those same features for JavaScript applications.

In this tutorial, you will learn how to:

  • Install JSEclipse

  • Configure JSEclipse

  • Use JSEclipse's features

  • Create new content on a Web page dynamically

  • Use JavaScript classes to create evolving creatures

  • Create continuously moving objects

You'll use JSEclipse to aid in the development of a system that creates creatures, which are simple objects that move around and evolve as they breed with each other.


Prerequisites

This tutorial assumes you have a fairly good grasp of JavaScript programming.


System requirements

Eclipse V3.3.x
JSEclipse uses the latest version of Eclipse. While you may be able to install it into earlier versions, you will run into missing features and classes that can be difficult to locate. The core install of Eclipse V3.3.2, available at Eclipse Downloads, will install JSEclipse out of the box.
JSEclipse
You may follow the instructions in the tutorial to install JSEclipse via an update site, or you can download it directly from Adobe Labs.
Operating system
You need an operating system capable of running all of the above. We used Microsoft® Windows® when creating this tutorial, but you can use a modern version of Mac OS X or Linux®, as well. Adjust locations of files accordingly.


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed