Phobos and Dojo

Written by on December 15th, 2006 in Ajax News.

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.  
  2. response.status = 200;
  3. response.contentType = “text/html”;
  4. writer = response.getWriter();
  5. writer.println(”<html><head><title>Dojo Sample</title></head><body>”);
  6.  
  7. library.dojo.load();
  8. dojo.require(”dojo.widget.*”);
  9.  
  10. writer.println(”OK”);
  11. writer.println(”</body></html>”);
  12. writer.flush();
  13.  

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

Source: Ajaxian
Original Article: http://ajaxian.com/archives/phobos-and-dojo

Leave a Reply

You must be logged in to post a comment.



Site Navigation