Activate your free membership today | Log-in

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.  
  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.

Posted by Dion Almaer at 2:49 pm

+++--
3.2 rating from 23 votes

Comments Here »

Comments feed TrackBack URI

Leave a comment

You must be logged in to post a comment.