Hi,
1) What Matija said is right. Use Ape.getChannelByName(channelName) if
this return null this mean the channel doesn't exist.
2) Right.
3) You can find a inlinepush demo in the APE JSF demos
(http://github.com/APE-Project/APE_JSF/tree/master/Demos/Controller/)
the inlinepush demo just show the basics of what you can do. Don't
hesitate to modify commands/inlinepush.js on the server side.
Regards.
On 23/06/2010 09:40, CT Thompson wrote:
Hello,
I just installed APE 2 days ago. Everything is up and running fine.
I've spent the last 2 days going through all of the documentation and
most of the tutorials. If I ask something here that is covered
elsewhere, I apologize. I've got a project that is currently using
AJAX and interval polling. I'm looking to convert most of it over to
APE.
Ok, my questions ;)
1. Is there a command/method for "if channel exists"? I've found
documentation for mkChan and rmChan, but I want to test if a channel
exists. If it doesn't exist, create it and join it. If it does exist,
just join it.
2. I'm guessing that a single user can be on multiple channels. Rather
than spawn a bunch of APE clients and numerous connections, it would
be better to create 1 APE client, join several channels (client side),
and then push everything through 1 connection?
3. There's a lot of talk of inlinepush in past posts here, but I can't
find any documentation on it. Is there an example or tutorial
somewhere?
Thank you for your assistance,
CT Thompson
--
Nicolas Trani - Web engineer
Weelya - Improve the web
32 rue du faubourg boutonnet
34090 Montpellier
http://www.weelya.com
http://www.ape-project.org
--
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/