event driven serial port handlers
mark at twoshortplanks.com
Wed May 9 17:37:49 BST 2012
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
More information about the london.pm