Phobos and Dojo

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. library.dojo.load();
  6. dojo.require("dojo.widget.*");
  7. writer.println("OK");
  8. writer.println("</body></html>");
  9. writer.flush();
We talked about how Phobos could be a killer app under the nose of Sun in the past.

Phobos and Dojo

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.


December 15th, 2006

Tagged View

Tags Similar

Posts Fresh +

Categories View

Archives View

Zero. Zilch. Nada. None. No commento.

Feel free to leave related comments here!

Rather Leave A Voice Comment?

Feel free to leave voice comments here!