Frequently Asked Questions
What is Sajax?
Why is (S)Ajax a big deal?
Ajax scripting marks a dramatic shift from form-oriented web development to a more interactive, GUI-style system. Our library makes it so simple to do this that your friends will make fun of you if you don't.
Show me some examples!
What languages does it support
Right now only ASP, Cold Fusion, Io, Lua, PHP, Perl, Python and Ruby. If you can contribute a backend for other systems, such as Java, please contact us for our submission guidelines.
How does it work?
- Include the library:
- Initialize it and tell it what functions you wish to export:
Will it work in all browsers?
So far Sajax has worked well for us in IE6 and Mozilla/Firefox. It should be compatible with Safari. We've had mixed reports about Opera. If you experience problems, please contact us and let us know.
How much does it cost?
Nothing. It is open source and licensed under the BSD license. This means you can do basically whatever you want with it, even charge people for it.
However, if you use Sajax in your projects and find it helpful we would greatly appreciate it if you would make a donation to us. We recommend the value of one hour of your time — after all, think of the time we have saved you.
Thank you in advance for your patronage. We hope to develop many more useful web development libraries in the coming years.
- Very easy to use
- Not overly abstract
Drawbacks and Limitations
- At one point, multiple concurrent requests performed strangely. This may be fixed.
- Does not fall back to <IFRAME>s.
- Lack of type checking and support for rich return types (you can implement your own with string parsing of course).
The most recent version 0.12, including code and examples:
Version 0.12, code only: Sajax.php.txt