[Catalyst] Polymorphism?

Eric Wright info at rapidsynergy.com
Tue Jul 14 16:52:55 GMT 2009

Thanks again for the info. I was trying to see if there was a Perl Mongers
group in our area. Seems like there used to be one in Hartford CT but now is
defunct? Web site not operational.

In the meantime, I just received the new Catalyst book and started poring
over it. I was happy to see its inclusion of coverage on Moose. It's an easy
sell to me.

Anyhow, good stuff on these links. Got me some book lernin' to do I think...

On Tue, Jul 7, 2009 at 9:41 AM, J. Shirley <jshirley at gmail.com> wrote:

> On Tue, Jul 7, 2009 at 6:11 AM, Eric Wright <info at rapidsynergy.com> wrote:
>> Thanks all for the thoughts and the link. I'll be sure to take some time
>> and digest that.
>> Re: method modifiers, that sounds like a really interesting solution.
>> Roles seem very similar to me to Java interfaces. I really need to get m=
>> on board with understanding how Moose can best be utilized. I'm still ve=
>> green. Plus the proliferation of object frameworks in Perl can leave you
>> with analysis paralysis but things seem to be moving more that way in the
>> Perl community especially with Perl 6 (somewhere?) on the horizon.
>> I've got the new Apress Catalyst book on pre-order. Any other recommended
>> reading resources?
>> Cheers,
>> Eric
> I'm going to be very opinionated for a moment, so the TIMTOWDI crowd can
> skip this message.
> Don't bother with other object frameworks.  They really lack what makes
> Moose special.  Moose is built on top of Class::MOP.  That's the meta-obj=
> protocol which enables you to have a meta-layer and change the entire API
> that Moose itself builds on.
> This lets you do a tremendous amount of things with usually very little
> code.  The learning curve is also not quite as steep as you would expect.
> Here's an anecdote to prove my case ;)
> The other day I wanted to update the behavior of an attribute.  Someone
> pointed out "attribute trait".  I looked it up in the cookbook, and I was
> able to get exactly what I wanted by changing the definition of what that
> attribute was.  By changing the definition of things, you can change what
> the instances of those things are very easily.  Unfortunately my case was
> thwarted by some other things, so it didn't work exactly as intended... b=
> it will :)
> Unless you have experience with Lisp or the like, you're not going to
> initially appreciate what Moose is.  You'll think of it as a heavy-weight
> object API, but trust a random guy on the internet when he says it is wor=
> it.
> The manual is an easy read and worth following, and here is a good
> presentation on Moose as well (lacks a little oompf without hearing Diete=
> voice): http://weftsoar.net/~hdp/moose/<http://weftsoar.net/%7Ehdp/moose/>
> Regarding books, I'd say venture out to your local Perl Monger meetings a=
> talk to them and borrow some of their books.  That way you can sample it,
> and find out the books that speak to you and then you can purchase those.
> Thanks,
> -J
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/

-- =

Eric Wright
Rapid Synergy LLC
Web Development, Software & Consulting
V: 203.758.9270  F: 203.725.0853
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090714/be30d=

More information about the Catalyst mailing list