Closed Bug 470233 (bz-moose) Opened 16 years ago Closed 10 years ago

Bugzilla should use Moose (and Mouse)

Categories

(Bugzilla :: Bugzilla-General, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mkanat, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

Moose ( http://search.cpan.org/dist/Moose ) is a modern Object-Oriented system for Perl. I used it to write VCI ( http://search.cpan.org/dist/VCI ), and it is great. I'd like to see Bugzilla start to use Moose. However, currently Moose is gigantic in terms of dependencies and compile time, so we can't use it in mod_cgi. There is another module called Mouse ( http://search.cpan.org/dist/Mouse ) that provides almost all the features of Moose, but is very lightweight. We can start off by using Mouse. At first, people unfamiliar with Moose may not see or understand the advantages of switching to it, but I can promise that it will give us (a) much more power over what we can do with our objects and (b) a much, much better and more powerful plugin system than we have now.
Alias: bz-moose
Depends on: 470237
We are going to branch for Bugzilla 4.4 next week and this bug is either too invasive to be accepted for 4.4 at this point or shows no recent activity. The target milestone is reset and will be set again *only* when a patch is attached and approved. I ask the assignee to reassign the bug to the default assignee if you don't plan to work on this bug in the near future, to make it clearer which bugs should be fixed by someone else.
Target Milestone: Bugzilla 4.4 → ---
Moose is slow and has tons of dependencies. We should rather use Moo, which we already depend on via Email::Sender. Either that or WONTFIX.
+1 on using Moo where appropriate.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.