Il 13/12/2013 10:24, Nick Perez ha scritto:
Hey Guido,

I am the author of those modules. And yeah, they are broken and
experimental. I was attempting to create an unholy amalgamation of
MooseX::Declare and POE. It was an abomination that needed to be killed
with fire. I should make sure I clean up those modules.

That said, I had started hacking on a replacement stack on top of
Reflex, but lost interest. You're welcome to pick it up and finish it
if that is your cup of tea.

http://nickandperla.net/gitweb/?p=reflexive-role-psgiserver.git

The server is not responding.


It is based on top of Reflexive::Role::TCPServer

https://metacpan.org/pod/Reflexive::Role::TCPServer

I don't hide my limit to understand Refrex and derivatives, probably because it does not use Moose but only in few occasions, without looking under the hood. I was hoping to avoid the use of modeling alternatives to POE, but if I have no choice, I will assess this alternative also.

If you have any questions, feel free to give me a shout on
irc.perl.org/#poe or #reflex

You can also contact me via XMPP at this same address.

thank you very much
Guido


On Thu, 12 Dec 2013 09:23:54 +0100
Guido Brugnara <g...@leader.it> wrote:

Il 12/12/2013 08:33, Konstantin Yakunin ha scritto:
Hello,

Try Plack::Builder

use Plack::Builder;

builder {

}

I like! Thanks.

I tried to install POEx-Role-PSGIServer from CPAN but points out the
lack of the package POEx-Role-SessionInstantiation [1]
Here ( https://rt.cpan.org/Public/Bug/Display.html?id=69745 ) the
author of [1] warns you deleted the package from CPAN because it is
no longer compatible with the latest versions of Moose :-(
So, The POEx-... packages are all considered experimental/broken?
What could I use as a PSGI server, along with POE in a single task?
____
gdo


2013/12/11 Guido Brugnara <g...@leader.it <mailto:g...@leader.it>>

     ===CUT===
     The target is to listen on the same port:
http://myapp:8000/..... and for websocket ws://myapp:8000/ws

     I tried to use Protocol::WebSocket with the TCP socket used by
     PoCo::Server::HTTP but my work is stalled.

     I saw on CPAN that would be available the following packages :

     POEx::Role::PSGIServer - Encapsulates core PSGI server behaviors
     ===CUT===





Reply via email to