Codebase Refactor
From OpenEMR Project Wiki
Revision as of 20:17, 6 July 2016 by Matthew Vita (talk | contribs) (Created page with "== Objective == To refactor the codebase to leverage the MVC design pattern, unit tests, and a more maintainable design. == Tasks == * (UNASSIGNED) Determine if we want to go wi...")
Objective
To refactor the codebase to leverage the MVC design pattern, unit tests, and a more maintainable design.
Tasks
- (UNASSIGNED) Determine if we want to go with a 3-tier architecture
- (UNASSIGNED) Demonstrate initial DAO models using Zend ORM
- (UNASSIGNED) Setup Composer
- (UNASSIGNED) Integrate models for all major objects (please break this up into separate tasks per object)
- (UNASSIGNED) Normalize directory structure (please break this up into separate tasks per domain)
- (UNASSIGNED) Separate logic into MVC using Zend conventions (please break this up into separate tasks per domain)
- (UNASSIGNED) Unit tests (please break this up into separate tasks per domain)
- (UNASSIGNED) Decompose major system parts into Zend modules (please break this up into separate tasks per identified module)
- (UNASSIGNED) Integrate standard place for static CSS/JS assets
Deferred
- Full UI rewrite (let's just make the current system work as is but with a new backend)
- Standard way to document (let's just document as needed for now)
- Standard code style checking mechanism (let's uses 2 spaces and not do anything odd for now)