YAPC::NA 2011 • Asheville, NC

Reflex - How Does it Work?! (extended dance mix)
By Rocco Caputo (‎rcaputo‎) from Orlando.pm
Date: Tuesday, 28 June 2011 15:40
Duration: 50 minutes
Target audience: Intermediate
Language:
Tags: asynchronous events eventy moose objects poe reactive reflex roles

You can find more information on the speaker's site:


Most asynchronous Perl programming is unnecessarily dynamic. It conflicts with object orientation, and it reintroduces memory management issues that some of us learned Perl to escape.

Reflex is a flexible, contemporary asynchronous library that embraces the latest developments in Perl object orientation. Asynchronous classes can be snapped together at coding time, reducing the amount of anonymous code that's often slung around at runtime. Methods are first-class callbacks in Reflex; they can be augmented and overridden using normal Perl OO. Mixing in Moose make things even better.

This presentation is an expanded, more code-intensive version of my Perl Oasis talk. It will cover the 6.5 ways Reflex-based modules can be used, including anonymous callback and closure juggling, and mind-bogglingly powerful Moose-fueled OO crack. Imperative promises are included for people who just want to do one simple thing without mucking about with callbacks at all.

You will get the most out of this talk if you already understand fundamental Perl OO. You've encountered callbacks at least once, but it was dark, and you might not have got a good look at them. You enjoy learning new things---possibly things that haven't existed before. And you can at least look at Moose syntax without shuddering.

Attended by: