I don't know how the new API looks like but better use of callbacks will be
nice. If you could do something like this

client.join("movies", function(chanel){
     //just joined channel movies
     ...
})

OR/AND

client.join("movies", {
       joined: function(chanel){
             ...
       },

       userJoin: function(user,chanel){
             ...
       },

       userLeft: function(user,chanel){
             ...
       },

       onMessage: function(msg){
             ...
       },
})

I think something like this would be cleaner and more familiar :) or maybe
I've been having too much jQuery lately :)

-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

Reply via email to