Yes it's possible.  I've built a few iterations of comet servers in POE over
the years, but mine are mostly specialized for socket proxying.

What you really want is Eric Waters' module POE::Compoent::Server::Bayeux

http://search.cpan.org/~ewaters/POE-Component-Server-Bayeux-0.02/lib/POE/Component/Server/Bayeux.pm<http://search.cpan.org/%7Eewaters/POE-Component-Server-Bayeux-0.02/lib/POE/Component/Server/Bayeux.pm>
It comes with a client too
http://search.cpan.org/~ewaters/POE-Component-Server-Bayeux-0.02/lib/POE/Component/Client/Bayeux.pm<http://search.cpan.org/%7Eewaters/POE-Component-Server-Bayeux-0.02/lib/POE/Component/Client/Bayeux.pm>

If you download the package from here:
http://search.cpan.org/~ewaters/POE-Component-Server-Bayeux-0.02/<http://search.cpan.org/%7Eewaters/POE-Component-Server-Bayeux-0.02/>,
you'll find an htdocs dir with examples in it.
Demos like: chat, magnets, echo, time, etc

HTH

David Davis
☄ Software Engineer
http://xant.us/


On Wed, Apr 1, 2009 at 20:14, Roy M. <setesting...@gmail.com> wrote:

> Hello,
>
> Read through the cookbook and found POE is very powerful!
>
> However, is it possibe to provide some hints/tutorial on developing
> COMET based web app?
>
> E.g. simple chat or echo, such as:
> http://blogs.divmod.com/2008/05/twisted-ajaxcomet-tutorial-pre-release.html
>
> It should be very useful.
>
> Thanks!
>

Reply via email to