Friday, December 15th, 2006

Phobos and Dojo

Category: Dojo, Java, JavaScript

Dojo is more than “an Ajax library”. It is a set of JavaScript libraries and packaging system. It just so happens to have a remote binding API in there too.

Phobos has seen this and you can now use Dojo on the server side when using the Phobos framework.

javascript

  1. response.status = 200;
  2. response.contentType = "text/html";
  3. writer = response.getWriter();
  4. writer.println("<html><head><title>Dojo Sample</title></head><body>");
  5.  
  6. library.dojo.load();
  7. dojo.require("dojo.widget.*");
  8.  
  9. writer.println("OK");
  10. writer.println("</body></html>");
  11. writer.flush();

We talked about how Phobos could be a killer app under the nose of Sun in the past.

Posted by Dion Almaer at 2:49 pm
Comment here

+++--
3.2 rating from 28 votes

Comments Here »

Comments feed TrackBack URI

Leave a comment

You must be logged in to post a comment.