Open
Bug 278579
(bz-majorarch)
Opened 20 years ago
Updated 4 years ago
Major Architectural Improvements for Bugzilla Codebase
Categories
(Bugzilla :: Bugzilla-General, enhancement, P2)
Tracking
()
NEW
People
(Reporter: mkanat, Unassigned)
References
(Depends on 17 open bugs, )
Details
(Keywords: meta)
We've made a LOT of progress sicne 2.16 in cleaning up Bugzilla's codebase from very strange things that were thrown in all over the place. :-) This bug is a meta-bug to keep track of all the changes that we want to make to Bugzilla's architecture. For the most part, these will not be user-visible changes, but will improve the stability, readability, and maintainability of Bugzilla. The major sorts of changes that need to be done are: 1) Implement our current coding standards universally across the current codebase. 2) Eliminate code duplication by using modules and subroutines. 3) Consolidate useful subroutines scattered around Bugzilla into modules. 4) The database schema should be as fully normalized and as generally organized as possible. Code that accesses the database, like Search.pm or checksetup.pl, should do it in some orderly fashion. 5) Fully separate presentation from actual perl code. Generally, the idea is to move toward being more and more object-oriented, so that whenever I the programmer want to do something, I can just find the right module and call the right function, or use the right method on the right object. (This bug is assigned to me at the moment because I've been working on this sort of stuff lately, and I didn't want it to look like nobody's working on it by assigning it to nobody or general@bugzilla.bugs.)
Reporter | ||
Updated•20 years ago
|
Depends on: bz-deprecateddb
Reporter | ||
Updated•20 years ago
|
Depends on: bz-versioncache
Reporter | ||
Updated•20 years ago
|
Depends on: bz-template
Reporter | ||
Comment 1•20 years ago
|
||
I'm adding a URL to this bug of an essay that I wrote, which I think is relevant to why these Architectural Improvements are important.
Reporter | ||
Comment 2•20 years ago
|
||
This fellow has some good things to say about code clarity that I hadn't thought about, even though he's talking about C++: http://blogs.msdn.com/ajenner/
Comment 3•20 years ago
|
||
And since we're talking about code formatting, let me chime in with an opinion of my own: http://www.heikniemi.net/hc/archives/000103.html (yes, I know at least Max read that already).
Reporter | ||
Updated•19 years ago
|
Alias: bz-majorarch
Updated•19 years ago
|
Depends on: bz-field_descs
Reporter | ||
Updated•19 years ago
|
Reporter | ||
Updated•19 years ago
|
Priority: -- → P2
Comment 4•18 years ago
|
||
*** Bug 104690 has been marked as a duplicate of this bug. ***
Reporter | ||
Updated•18 years ago
|
Depends on: bz-template-logic
Reporter | ||
Updated•16 years ago
|
Depends on: bz-plugin-vote
Reporter | ||
Updated•16 years ago
|
Depends on: bz-url-extension
Reporter | ||
Updated•16 years ago
|
Depends on: bz-rpc-any
Reporter | ||
Updated•15 years ago
|
Depends on: bz-controller
Updated•12 years ago
|
Assignee: mkanat → general
You need to log in
before you can comment on or make changes to this bug.
Description
•