Isn't this kind of like aspect oriented programming? I definitely like the decorator stuff, John, keep up the good work.

On 8/29/06, John Beppu < [EMAIL PROTECTED]> wrote:

On 8/27/06, Colin Mollenhour < [EMAIL PROTECTED]> wrote:
> imagine this will come in
> handy because the onxxx options that most sau and prototype stuff has
> isn't always flexible enough. And then there are non-prototypish things
> like calendars that have even less flexibility :)
>
> Colin


Exactly.  You can add flexibility where it did not exist before with
actsAsDecorator.

(...and I'm glad that prototype and scriptaculous provide as many
hooks as they do, but there's no way the maintainers could anticipate
every possible hook someone will need.  However, with
actsAsDecorator(), they won't have to anymore, because the power to
add hooks is in your hands now.)




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---

Reply via email to