Skip to main content

dojo 1.0 Presentation slides and Sample code

Posted by caroljmcdonald on December 21, 2007 at 8:27 AM PST




http-equiv="content-type">
dojo1

dojo 1.0 Presentation slides and Sample code

dojo
is an open source DHTML toolkit written in JavaScript. It includes many
utilities that go beyond Ajax.

This Presentation and Sample code demonstrates the usage of dojo
1.0.  The material for this presentation and code comes from the
book of dojo  at: http://dojotoolkit.org/

href="https://techdayscode.dev.java.net/servlets/ProjectDocumentList?folderID=8546&expandFolder=8546&folderID=0">Download
the dojo 1.0 slides and sample code. Deploy the sample code as
described below, try out the examples, look at the code, read the
slides, learn about the dojo 1.0 framework.





Running the Sample Code

The sample code for this tip is available as a NetBeans project. You
can build and run the sample code using the NetBeans IDE.

Setting Things Up

  1. Download and install href="http://www.netbeans.info/downloads/index.php" target="_blank">NetBeans
    6
  2. Download and install href="https://glassfish.dev.java.net/public/downloadsindex.html"
    target="_blank">GlassFish V2. (Or download Glassfish bundled with
    Netbeans)

    Alternatively you can use href="http://java.sun.com/javaee/downloads/index.jsp">Sun Java System
    Application Server PE 9, Sun's binary distribution of GlassFish.
  3. Add the GlassFish server to NetBeans:


    • Start NetBeans and switch to the Runtime window (Ctrl+5).
    • Right-click the Servers node and select Add Server.
    • Select Sun Java System Application Server.
    • Browse to the location where you installed GlassFish and
      select Finish.


Open and Run the Sample code:

  1. Download the href="https://techdayscode.dev.java.net/servlets/ProjectDocumentList?folderID=8546&expandFolder=8546&folderID=0">sample
    code and extract its contents. You should now see the newly
    extracted directory as
    / style="font-weight: bold;">dojoApp
    ,
    where is the directory where
    you installed the sample package. For example, if you extracted the
    contents to C:\ on a Windows machine, then your newly
    created directory should be at C:\dojoApp.


  2. Start the NetBeans IDE. Click Open Project in the File menu and
    select the dojoApp
    directory you just
    unzipped.


  3. Run the project as follows:


    • Right click the 
       style="font-weight: bold;">dojoApp
      node in the Projects
      window.
    • Select Run Project.

When you run the project, your browser should display the opening page
of the dojo Sample Application (at http://localhost:8080/dojoApp/).

dojopage.jpg width="435" height="507" />





Try out the examples, look at the code, read the slides, learn about
the dojo 1.0 framework!














Related Topics >>