WebAppers

/ best free open source web resources /

Shopify

Aptana Jaxer – The World’s First True Ajax Server

Posted · Category: GPL License, Tools

ajax-server.png

Modern web sites and applications use Ajax to create engaging user experiences: the HTML and CSS are set in motion using JavaScript running in the browser and calling back the server. To achieve this, the server needs to prepare the web page appropriately, and to know what to do when the JavaScript calls it. But the server knows nothing about the HTML and CSS DOM, nor how to handle JavaScript data, and you can’t code it in JavaScript.

Jaxer changes all that. Jaxer is the world’s first true Ajax server. HTML, JavaScript, and CSS are native to Jaxer, as are XMLHttpRequests, JSON, DOM scripting, etc. And as a server it offers access to databases, files, and networking, as well as logging, process management, scalability, security, integration APIs, and extensibility.

Jaxer is licensed under the GPL, and leverages the ubiquitous Mozilla engine that is used in Firefox 3, which means that Jaxer is fully compatible with the latest JavaScript standards, including access to all of the features you are familiar with — from Date to Math to window and document, and even JavaScript 1.5, 1.7, and 1.8 — they’re all there. If you know JavaScript and HTML, you can already build Jaxer applications.

Requirements: -
Demo: http://www.aptana.com/jaxer/
License: GPL License

7 Comments
  • http://mr.moox.fr/ Mr.MoOx

    I think that access to database will be not see on the client side. And when I saw a js like this:
    var result = Jaxer.DB.execute(‘SELECT * FROM myTable’);
    I also so a big security hole!
    With Opera I can edit html source and so, modify the db query…

  • http://www.ibnoe.web.id ibnoe

    I think This is not good Idea…

  • Pingback: Aptana Jaxer-世界上第一个真正的Ajax服务器 | 妄想的机器人

  • http://www.NoGray.com Wesam Saif

    After getting around in their site, Jaxer looks good. They added JS support to the server (similar to JScript.net runat server)

    The sql query will only work at the server since it has to use runat=”server”

    Not sure if it’ll print out though. They have a complete list of what functions will run at the client side or server side (or both)

  • Nate

    Maybe they don’t do a good job of explaining what this is on their site, but I don’t really see the point of this.
    Seems to me like this is just another server side framework. They say it’s not, but the data still needs to go from client to server somehow.
    This seems nice if you like to code in JavaScript, but I don’t. I already have enough javascript coding to do to make my pages work nicely. I don’t see how my server understanding javascript would be any help at all, it understands .NET and PHP.
    Maybe I missed something but it seems to me like they are trying to make this sound like something its not. Don’t get me wrong maybe this is cool (for people who really love JavaScript) – but I just don’t get it.

  • boob

    Thats the first time i seen an os product launch without linux support

  • http://www.aptana.com davey

    Ray, nice post.

    i’ll just pop a few points out to some of the comments.

    @mrMoOx, the server side code (like php et al) doesn’t make it through to the client. (you can relax this a little for debugging but we basically dont push that through the pipe.

    @wesam,nate, similar but quite different, we have javascript AND the DOM running in mozilla, so the server side capabilities are the same as the firefox plugin writers have been using for a while (via XPCOM), with added framework API for file,db etc, but the environment taken as whole just feels like you are in a browser. minus of course the cross browser issues as the backend is ALWAYS Firefox3 with JS1.8.

    Having been using it for a while now, I can say that it just feels kind of clean having a single orthogonal environment covering the area between the user and the database, where you would normally have two tiers and two completely different environments (DOM + JVM or DOM + PHP)

    FYI an ajax call in Jaxer looks something like this…

    $(‘myDiv’).innerHTML = queryMyDB(“a value”);

    where queryMyDB would be a function designated as server proxied, the entire ajax call management (for a sync call in this case) is really nothing more than a result assignment

    @boob, dont really know what you mean by an ‘os product’ but linux is on the way, we’ve been building it for some time but need to spend some quality time on runnning QA on a good cross section of distro’s to be comfortable with a release.

    if you want to get in on the ground floor see the sign up thread on the forums (http://forums.aptana.com/viewtopic.php?t=4543)

    anyway, check it out, if you dont use aptana, download the standalone, it’s a portable app type of thing and runs straight from the folder you unzip to, delete the folder to uninstall.

    cheers
    davey

Supported By

Deals

Web Browsers Icon Set
Food Icon Set
Flat Icon Set

Flat Icon Set

100 icons