

Ajax Push Engine - Complete Comet solution
APE is a full-featured OpenSource solution designed for Ajax Push. It includes a comet server and a Javascript Framework. APE allows to implement any kind of real-time data streaming to a web browser, without having to install anything on the client-side.
Download APE Project 1.1.1
- Comet Server
- Scalable
- JSON-based Protocol
- JavaScript Framework
- High I/O Performances
- Native WebSockets
- Cross-browser
- Serverside JavaScript
- MySQL / Sockets / HTTP
Server-side JavaScript
Client-side JavaScript
- Ape.registerCmd('foo', true, function(params, cmd) {
- cmd.user.sendRaw('bar', {
- hello: 'world',
- echo: params.ping
- });
- sql.query('INSERT INTO table(log) VALUES("'+Ape.MySQL.escape(params.ping)+'")', function(res, errorNo) {
- Ape.log('Inserted ' + this.getInsertId());
- });
- });
- var client = new APE.Client();
- client.load();
- client.core.join('testChannel');
- client.request.send('foo', {ping: 'ho hey'});
- client.onRaw('bar', function(raw, pipe) {
- console.log('echo : ' + raw.data.echo);
- console.log('Receiving : ' + raw.data.hello);
- });


