Overview |
The AJAX Framework is a cross browser framework that allows developers to quickly develop web pages that can call web services and server pages through javascript without having to submit the current page. |
Examples |
callPage example:
} var ajax = new AJAX(); |
serviceCall example:
} var ajax = new AJAX(); |
serviceCall with parameters example:
} var ajax = new AJAX(); |
serviceCall with custom namespace example:
} var ajax = new AJAX(); |
error handling example:
} var ajax = new AJAX(); |
Download |
Download the latest version at http://sourceforge.net/projects/glm-ajax/ |
Archive for the 'javascript' Category
MochiKit is a highly documented and well tested, suite of JavaScript libraries that will help you get shit done, fast. We took all the good ideas we could find from our Python, Objective-C, etc. experience and adapted it to the crazy world of JavaScript.
Reliable
MochiKit has HUNDREDS of tests. We build real applications with this thing. So even though development can move fast, we make sure to get tests written. This also makes platform compatibility issues much easier to detect and resolve than the “guess and check” style of quality assurance seen in some of the other libraries out there. It’s not broken.
Documented
You’re unlikely to find any JavaScript code with better documentation than MochiKit. We make a point to maintain 100% documentation coverage for all of MochiKit at all times. You don’t have to fumble around reading our source code or leafing through examples to find out how something works.
Evolutionary
MochiKit can adapt to anything you throw at it. It makes no assumptions about how your code needs to act, and it has hooks (by way of the the adapter registries) that makes sure that you can define your own comparisons, programmer representations, iterators, or DOM node coercion for any object in any way you wish. We’ll gladly serve you all the Kool-Aid you want, but we’re not going to make you drink any.
Plays well with others
Although MochiKit can be, and often is, used as a one stop shop for JavaScript goodness; it is very highly interoperable. MochiKit does no Object.prototype hacking, and inserts just three symbols (the MochiKit namespace, plus the compare and reduce functions to work around JScript bugs) into the global namespace. Unless, of course, you ask it to bring in more symbols for convenience.
As far as server-side goes, MochiKit is totally agnostic. However, feel free to include MochiKit as part of your AJAX arsenal – TurboGears does out of the box!
All your JavaScript are belong to…
The new packaging systems that have sprouted up recently are extremely cool, and WILL be revolutionizing JavaScript development. JSAN and Dojo Toolkit are fully supported by and interoperable with MochiKit! Don’t worry though, MochiKit still works fine on its own if you aren’t interested in those new fangled packaging systems.
Free as in…
You won’t see any political agenda nonsense here. MochiKit is available to you under the extremely liberal MIT license, or the written-by-a-very-smart-lawyer Academic Free License, v2.1. It’s your choice! We don’t want to “infect” YOUR software with our ideals, we just want to make every developers’ life suck just a little bit less. MochiKit is free as in we don’t care what you do with it. With the choice of these two licenses, you can put MochiKit anywhere. We certainly won’t refuse if you offer free beer, though.
Compatibility
Our current test platforms include all of the modern and popular browsers: Safari 2.0.2, Firefox 1.0.7, Firefox 1.5b2, Internet Explorer 6, and Opera 8.5. Other JavaScript platforms should work if they’re standards compliant (ECMA-262 and the W3C DOM ECMAScript binding, primarily).
Yes, we’re aware that a lot of people use other browsers, but the above list matches an astronomically high percentage of the intended audience of our flagship application. Please let us know if you encounter any problems elsewhere, especially if you can contribute a fix.
PlotKit is a Javascript graph plotting library. It is aimed at web applications that require plotting series of data in modern web browsers.
PlotKit requires MochiKit. (1.3 or higher)
PlotKit supports both HTML Canvas and SVG, along with an emulated canvas for Internet Explorer.
PlotKit is easily extensible to include other rendering engines, styles and layouts. Please pursue the documentation for more information.
PlotKit is licensed under the BSD License, so you can include it in your free or commercial applications without worrying.
PlotKit Components
Base Classes
- Base : Common functionality that is used in other classes, including default styles.
- Layout : The default chart layout engine, supports bar, line and pie charts.
- Renderer: Customising the look of the output
Renderer Specific Implementations
- CanvasRenderer: Basic renderer using an HTML Canvas.
- SVGRenderer: Basic renderer using SVG.
- SweetCanvasRenderer: Customised Renderer that builds on CanvasRenderer to provide nicer looking charts.
- SweetSVGRenderer: Customised renderer that builds on SVGRenderer to provide nicer looking charts.
Utility Classes
- EasyPlot: Simple Wrapper around classes to provide one-line plotting.