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:
-
-
response.status = 200;
-
response.contentType = “text/html”;
-
writer = response.getWriter();
-
writer.println(”<html><head><title>Dojo Sample</title></head><body>”);
-
-
library.dojo.load();
-
dojo.require(”dojo.widget.*”);
-
-
writer.println(”OK”);
-
writer.println(”</body></html>”);
-
writer.flush();
-
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