[Dancer-users] Flash Message

damien krotkine dkrotkine at gmail.com
Tue Jan 11 20:22:03 CET 2011


On 11 January 2011 19:44, Puneet Kishor <punk.kish at gmail.com> wrote:
>
> On Tuesday, January 11, 2011 at 11:48 AM, damien krotkine wrote:
>
> I've re-implemented it to be more Rails-like, as sukria said.
>
> https://github.com/dams/Dancer-Plugin-FlashMessage
>
> and on CPAN, pending mirrors refresh.
>
> The funny part of the story ? the effective code is only 30 lines
> long. Talking about Perl and Dancer expressiveness...
>
> Great job, and thanks! But, I don't really understand the point of this
> flash message (for the longest time I thought it was something to do with
> Adobe Flash). Is there a demo of it in action that I can see? I am trying to
> visualize which nail I can bang in with this hammer. Where would I use this,
> and how?

Hm, for example these nice yellow pop up saying "row deleted", and
which fade out after few seconds...

So basically it's some kind of messages to alert / inform the user
after an action.


More information about the Dancer-users mailing list