Jevgeni Kabanov

Aptana Jaxer or sliced bread?

February 19th, 2008 | by Jevgeni Kabanov |

Sometimes a technology appears that is just so damn cool you are amazed. More often than not the ideas behind it can be quite simple.

Aptana Jaxer is exactly such a technology. There is nothing new about having a server-side API. There is nothing new about building applications in HTML and JavaScript. The genius part is running Mozilla engine on the server-side and having access to full server resources from the browser via a controlled environment with no extra layers.

As far as I understood the communication between server and client is done by:

  • DOM updates are seamlessly propagated from the server to the client
  • Function calls can be proxied to call to the server. All marshalling is done automagically

This pretty much means that code runs seamlessly in a mixed, secure environment.

Although the “runat” attribute that controls whether code is run server-side or client-side can be a bit unlogical at first, the setup can allow to build powerful applications with only one (count it, one) technology — HTML and JavaScript. And this is the technology you have to use anyway to even deploy something on the web.

Of course “the one technology” suffers from being dynamically typed and generally known for its quirkiness, but with JavaScript 2.0 support on the way to Mozilla and good IDE support (which Aptana is in a good position to provide) this technology might yet give a fresh meaning to the word web application.

An interesting question I’d like to ask from the Aptana developers is if we can add a third environment to the mix — desktop applications? Having the same API to use on the server, in the browser and (with less restrictions) on the desktop could give Adobe AIR a run for their money.

  • sparkl
    I'm using Prism on a daily basis, but it's not the same thing (at least not exactly). What I'm talking about is having some extension that would allow using Jaxer API on the desktop (access local files, database, etc). A la Google Gears or Adobe AIR. The important part is not just the client, but the actual API implementation.
  • I love it when i read an article and someone 'just gets it'.

    If you want to look at desktop apps, I'd suggest having a play around with prism (http://labs.mozilla.com/2007/10/prism/), which is a mozilla project to provide a chromeless version of firefox, being put together by Mozilla's Mark Finkle, among others, and allows the kind of desktop access to browser apps you are talking about.

    I'm finding that given prism and jaxer, I can basically build a desktop app using the DHTML technology I use every day.

    Also I invite you come over and join the forums at forums.aptana.com and start a thread to discuss these kinds of developments
blog comments powered by Disqus