From Ape Wiki
Contents |
[edit] Frequently Asked Questions
[edit] Does APE use HTTP Streaming?
In the book Ajax Design Patterns Creating Web 2.0 Sites with Programming and Usability Patterns By Michael Mahemoff one pattern is HTTP Streaming (page114) is this the pattern APE uses?
Yes, APE supports several transport methods such as : Long Polling, XHR Streaming, JSONP and Server Sent Events.
[edit] What are the advantages to run APE server rather than using some kind of javascript-only solution
- With an apache only solution you cannot do real push
- APE can handle more than 100k users
- APE is faster than an apache comet based solution
- APE saves you a lot of CPU/RAM/Bandwith (here is a real world example of an APE user http://twitter.com/Habbie/status/2118015316 & http://twitter.com/Habbie/status/2118018184)
- You can do more things with an APE based solution instead of a "simple" comet solution
[edit] Is this project new?
No, this project was first released to the public on January 2009 but we started to work on APE 4 years ago.
The project was initially named ACE, you can find it on sourceforge : Ajax Chat Engine
Check out the History of APE for further info.
[edit] Can i use any other javascript framework with APE (rather than mootools)
Of course! We provide two small javascript to intercept core events :
- One especialy built for mootools
- Another one for all javascript frameworks
Go here if you want to know more about how APE JSF works.
[edit] What is the frequency (the number before the subdomain)
The frequency allows APE to deal with multi tabbing / windowing and sessions. We use the frequency because :
- Web browsers do not allow more than 2 requests to the same domain
- APE server use the frequency to make the difference between the users tabs/windows to push data received in one tab to the others


