Hey guys,

Im just implementing the IPN stuff for paypal and had a quick
question. I think it would be cool to write something like:

PaypalIPNHandler().onFailure(FailureHandler).onVerified(VerifiedHandler)

object FailureHandler { ... } // or case class etc
object VerifiedHandler { ... }

Im thinking of this so that then users can subclass the default
handlers and get all the functionality / processing that comes as
default, but then lets them customise so they can update the database
or whatever they want to do with that information.

So, my question is this: is this a good idea? Any drawbacks in doing
this?

Cheers

Tim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to