The first Open Source Ajax Push Engine

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.

APE works with any JavaScript Framework of your Choice. Jquery, Mootools, dojo... 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
APE in the wild !

APE in the wild !


Watch APE in its natural element. Check out our demos !

Server-side JavaScript Server-side Javascript Client-side JavaScript

  1. Ape.registerCmd('foo', true, function(params, cmd) {
  2.     cmd.user.sendRaw('bar', {
  3.         hello: 'world',
  4.         echo: params.ping
  5.     });
  6.    
  7.     sql.query('INSERT INTO table(log) VALUES("'+Ape.MySQL.escape(params.ping)+'")', function(res, errorNo) {
  8.         Ape.log('Inserted ' + this.getInsertId());
  9.     });
  10. });
  11.  
  12.  
  1. var client = new APE.Client();
  2.  
  3. client.load();
  4.  
  5. client.core.join('testChannel');
  6.  
  7. client.request.send('foo', {ping: 'ho hey'});
  8.  
  9. client.onRaw('bar', function(raw, pipe) {
  10.     console.log('echo : ' + raw.data.echo);
  11.     console.log('Receiving : ' + raw.data.hello);
  12. });
  13.  
  14.  
  15.  


WHO'S USING APE?


APE Enterprise Solutions