[Catalyst] Refactoring Controllers

Len Jaffe lenjaffe at jaffesystems.com
Wed Jul 27 16:05:03 GMT 2011


On Wed, Jul 27, 2011 at 10:11 AM, Steve <steve at matsch.com> wrote:

> Ian,
>
> You may have a point there.  The application in question was my first
> *real* Cat app, and as such being explicit was very important.  If a
> refactor is to be done, there will be a ton of logic moved to the model, =
as
> these controllers are pretty big currently.
>
> I still would like to know how subclassing and/or roles might be applied.
>
>

Which are you more comfortable with?

If you are more comfortable with inheritance, then create the superclass
first. Afterwards, you can refactor the logic into a role as your comfort
level dictates.

Len.
-- =

lenjaffe at jaffesystems.com   614-404-4214
Proprietor: http://www.theycomewithcheese.com/ - An Homage to Fromage
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110727/e5ef8=
2ac/attachment.htm


More information about the Catalyst mailing list