Ticket #460 (assigned improve feature)
Refactoring of forum application
| Reported by: | lemon-head | Owned by: | lemon-head |
|---|---|---|---|
| Priority: | major | Milestone: | unassigned |
| Component: | BW Forum | Version: | |
| Keywords: | Cc: | ||
| Follow up needed: | review code | Frequently reported: | 1 |
| Announce on BW: | no |
Description
I want to do some improvements on the forum application
Code gardening.
- replace tabs by spaces, and fix indentation
- comments using /**..*/
Structural Refactoring
- use the #458 RoxAppView? output buffering scheme.
- use the #459 RoxGenericPage? local $page object.
This can be a first step towards the more complex #436 RoxPageView scheme, but it doesn't have to be.
The advantages:
- Cleaner code (hopefully)
- Fewer lines wasted for redundant ob_start(), ob_end(), ob_get_contents(). However, this is not as important in the forums application as it is in other apps.
- The application gets independent from the global PVars::getObj('page') object.
- Easier transition to #436 RoxPageView scheme.
Change History
Note: See
TracTickets for help on using
tickets.
