Bug 278579 (bz-majorarch)

Major Architectural Improvements for Bugzilla Codebase

NEW
Unassigned

Status

()

enhancement
P2
normal
15 years ago
2 years ago

People

(Reporter: mkanat, Unassigned)

Tracking

(Depends on 17 bugs, {meta})

Details

()

Reporter

Description

15 years ago
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

15 years ago
Depends on: bz-deprecateddb
Reporter

Updated

15 years ago
Depends on: bz-versioncache
Reporter

Updated

15 years ago
Depends on: 115796
Reporter

Updated

15 years ago
Depends on: 139559
Reporter

Updated

15 years ago
Depends on: 150049
Reporter

Updated

15 years ago
Depends on: bz-template
Depends on: 261181

Updated

15 years ago
Depends on: 155628
Reporter

Updated

15 years ago
Depends on: 280122
Reporter

Updated

15 years ago
Depends on: 281590
Reporter

Comment 1

15 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

Updated

15 years ago
Depends on: 278032
Reporter

Updated

15 years ago
Depends on: 282130
Reporter

Updated

15 years ago
Depends on: 282145
Reporter

Updated

15 years ago
Depends on: 282632
Reporter

Comment 2

15 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

15 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

14 years ago
Depends on: 283244
Reporter

Updated

14 years ago
Alias: bz-majorarch
Reporter

Updated

14 years ago
Depends on: 283582
Reporter

Updated

14 years ago
Depends on: 225221
Reporter

Updated

14 years ago
Depends on: 281354
Reporter

Updated

14 years ago
Depends on: 283876
Reporter

Updated

14 years ago
Depends on: 84876

Updated

14 years ago
Depends on: bz-field_descs
Reporter

Updated

14 years ago
Depends on: 286351
Reporter

Updated

14 years ago
Depends on: 286509
Reporter

Updated

14 years ago
Depends on: 286512
Reporter

Updated

14 years ago
Depends on: 287311
Reporter

Updated

14 years ago
Depends on: 288296
Reporter

Updated

14 years ago
No longer depends on: 286351, 286512
Reporter

Updated

14 years ago
Priority: -- → P2
Reporter

Updated

14 years ago
Depends on: 225818
Reporter

Updated

14 years ago
Depends on: 297104
Reporter

Updated

14 years ago
Depends on: 297382
Reporter

Updated

14 years ago
Depends on: 294160
Reporter

Updated

14 years ago
Depends on: 298931
Reporter

Updated

14 years ago
Depends on: 301447
Reporter

Updated

14 years ago
Depends on: 303662
Reporter

Updated

13 years ago
Depends on: 328642
Reporter

Updated

13 years ago
Depends on: 329377
Reporter

Updated

13 years ago
Depends on: 300410

Comment 4

13 years ago
*** Bug 104690 has been marked as a duplicate of this bug. ***

Updated

13 years ago
Depends on: bz-object
Reporter

Updated

13 years ago
Depends on: bz-template-logic
Reporter

Updated

12 years ago
Depends on: 399371
Reporter

Updated

12 years ago
Depends on: 412083
Reporter

Updated

11 years ago
Depends on: 449161
Reporter

Updated

11 years ago
Depends on: 452525
Reporter

Updated

11 years ago
Depends on: 460293
Reporter

Updated

11 years ago
Depends on: bz-moose
Reporter

Updated

11 years ago
Depends on: 472217
Reporter

Updated

11 years ago
No longer depends on: 150049
Reporter

Updated

11 years ago
Depends on: bz-plugin-vote
Reporter

Updated

11 years ago
Depends on: 472219
Reporter

Updated

11 years ago
Depends on: 395744
Reporter

Updated

11 years ago
Depends on: bz-branch
Reporter

Updated

11 years ago
Depends on: bz-url-extension
Reporter

Updated

11 years ago
Depends on: 430014
Reporter

Updated

11 years ago
Depends on: bz-rpc-any
Reporter

Updated

10 years ago
Depends on: 490551
Reporter

Updated

10 years ago
Depends on: bz-controller
Reporter

Updated

10 years ago
Depends on: 539865
Reporter

Updated

9 years ago
Depends on: 546324

Updated

7 years ago
Assignee: mkanat → general
You need to log in before you can comment on or make changes to this bug.