Moving To Catalyst, Incrementally?

Aaron Trevena aaron.trevena at
Wed May 27 15:08:33 UTC 2009

2009/4/28 Max Kanat-Alexander <mkanat at>:
>    Hey Mark. We won't be re-writing the whole thing. That's what
> "incrementally" means--not re-writing the whole thing.

A good starting point would be to move the db layer to DBIx::Class and
custom queries to SQL::Abstract.

As I said last time I posted to this list, doing so would gain you
considerably more maintainable queries, and pagination almost for

You won't get dbix-class totally for free with catalyst, it's helpers
will create data class files, but I'm pretty sure that the bugzilla
schema doesn't fit nicely into any ORM generated code without manually
specifying some relationships. etc - however that should be very

I may be remembering wrong, but I don't remember seeing any unit tests
in bugzilla last time I looked, if you're going to be doing any
refactoring like this they're essential.



LAMP System Integration, Development and Hosting

More information about the developers mailing list