event driven serial port handlers
Dirk Koopman
djk at tobit.co.uk
Wed May 9 17:55:47 BST 2012
On 09/05/12 17:37, Mark Fowler wrote:
> On Wednesday, 9 May 2012 at 15:42, Dirk Koopman wrote:
>> Obviously, I could try it. But putting a framework together that I won't
>> have to throw away and start again is a significant piece of work. I was
>> hoping someone has the experience to answer my core question before
>> plunging in.
>
>
> Well, there are obviously many event loop based frameworks out there.
>
> Here's a few random thoughts:
>
> Twiggy - https://metacpan.org/release/Twiggy (https://metacpan.org/release/Reflex) will let you run an AnyEvent Plack compatible webserver, so you could avoid having to even think about the event loop while you're doing the web stuff if you used this and a Plack compatible web framework (Dancer, Mojolicious, Catalyst, etc.) Obvious care not to do something blocking from within your web server app would have to be taken.
>
> If you want to go old school, POE has wheels that abstract out the HTTP bit.
>
> If you want to go ultra-modern there's Reflex https://metacpan.org/release/Reflex
>
Thank you, I am aware of and will be using at least some of these.
But as usual, I manage to lead people astray with ambiguous use of terms
(in this case: framework). The framework I was referring to is that of
the whole app itself, not the underlying event handling one.
More information about the london.pm
mailing list