Questions tagged [ape]

APE is a full-featured open source solution designed for Ajax push. It includes a webserver 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.

Ajax Push Engine (APE) is a full-featured open source solution designed for Ajax push. It includes a webserver 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 project: http://www.ape-project.org Related: http://en.wikipedia.org/wiki/Comet_(programming)‎ also: http://ajaxpatterns.org/HTTP_Streaming

102 questions
21
votes
4 answers

Ajax Push Engine (APE) Vs Node.js

I am considering few options for pushing data from server to the client for my web application in real time. I have implemented a polling based (each client sends http requests to the server after every 30 secs.) application which really doesn't…
Vijay
  • 687
  • 1
  • 4
  • 9
12
votes
2 answers

10,000 users or 10,000 setInterval()?

I'm using APE-Project, Is it better to have 10,000 connected users or 10,000 pages that use a setInterval() to send each N milliseconds a request to a PHP page? Thanks
Dal
  • 121
  • 2
7
votes
3 answers

What are the main differences between APE and Node.js?

Could anyone that has used both share his/her experience? What are the main differences and which one do you prefer? Thank you.
mario.tco
  • 674
  • 1
  • 7
  • 19
6
votes
2 answers

chat application: node.js or APE?

I want to create a chat app which would use php/codeigniter to do the views and user interface. I've been reading lots of posts on stackoverflow which recommended node.js or socket.io. Yet I've also run across APE(Ajax Push Engine). I don't…
Derek
  • 11,980
  • 26
  • 103
  • 162
6
votes
3 answers

How can I access memcached with Javascript?

Let's say I have a working memcached deamon on a server. Let's say that this server is able to handle server side Javascript (APE in my case). It should be easy to access memcached with some Javascript right on the server (I mean, in my…
bPizzi
  • 975
  • 8
  • 12
5
votes
2 answers

R phylo object: how to connect node label and node number

A phylo object in R can have internal node labels (phylo_obj$node.label), but many R functions use node numbers instead of the node labels. Even the phylo object itself uses node numbers to describe the edges (phylo_obj$edge) and does not seem to…
sharchaea
  • 743
  • 1
  • 6
  • 16
5
votes
3 answers

APE (Ajax Push Engine) Tutorial

I've been having problems trying to setup APE on the server side... are there any video tutorials or any tutorials which are more detailed than the one provided on their site?
Timmy
  • 51
  • 1
  • 3
4
votes
2 answers

Using APE with PHP

I'm a little confused on how APE (Ajax Push Engine) works. How do you know which connection to push to, making sure the user is correct, from a PHP application? Is it a Apache extension? Independent server? ETc... Some explanations would be…
Robert Ross
  • 1,895
  • 2
  • 23
  • 32
4
votes
0 answers

Projecting point into existing PCOA

I'm trying to project a point into an existing PCOA space (in R). I am under the impression this must be possible, but I can't figure out how to go about it. Here's how far I've gotten (a toy example): x <- c(1:10) y <- c(10:1) z <-…
4
votes
2 answers

Change leaf color in plot.dendrogram like with plot.phylo of package ape

I am trying to plot the result of agglomerative clustering (UPGMA with Agnes) in the same 'style' as when plotting a tree using the package 'ape'. A simple example I include in the figure below The key issue is that I want to be able to color the…
FM Kerckhof
  • 1,270
  • 1
  • 14
  • 31
3
votes
1 answer

Making the right choice between node.js and ape server

Im at a stage where i need to decide between the two Node.js Ape server Ive heard great opinions about both but im a bit confused myself. I need to do a lot of realtime stuff so which would be a good option? I hear node.js with socket.io is great…
Marshall Mathews
  • 347
  • 5
  • 18
3
votes
1 answer

How can I use ajax push engine to make notifications?

I have heard about APE (ajax push engine) to make realtime notifications but I want to use the javascript framework of the APE instead of installing it. Can any one help me with how to implement it for a realtime notification? As far as I…
Sakshi Sharma
  • 1,414
  • 4
  • 20
  • 39
3
votes
2 answers

Using a function on a column from tree file class Phylo

I have a phylogenetic tree with many tips and internal nodes. I have a list of node ids from the tree. These are part of a separate table. I want to add a new column to the table, children. To get the descendants (nodes and tips), I am using…
aholtz
  • 175
  • 6
3
votes
2 answers

how to implement server pushing when there is an update in mysql database?

the situation i'm facing is: i have a php+mysql web application. several users share resources in the same database. i want to implement a feature that whenever there is a change for database records(create,update or delete), other users will be…
Yang
  • 9,794
  • 15
  • 44
  • 52
2
votes
1 answer

APE - Ajax Push Engine

Situation: There are two users, user1 sends message to user2. I would like to use APE to notify user2 that there's a message from user1. I've already made to show the notification but both users received the notification. My question will be, What…
Jetoox
  • 1,387
  • 6
  • 17
  • 36
1
2 3 4 5 6 7