The challenge
Emagispace ran an internal ERP system built in Angular. Its VP of Information Technology wanted to bring the system up to a higher standard.
Some pages had grown too large, and the development team was fighting bugs. The team needed a clear plan for how to restructure the app.
What we found
- The worst pages needed a plan to break them into smaller components.
- Pages should be refactored into container and presentational components.
- The app needed feature modules, with app.module reduced to fewer than 75 lines.
- Forms could use NgRx basics, with an @Output that emits formGroup value changes.
What we did
Evaluated the code
We evaluated the Angular codebase under an evaluation agreement that started in January 2018.
Trained the team
We ran a training session for the development team in the week of March 19, 2018.
Wrote the recommendations
We delivered a recommendations document for management and developers on March 22, 2018.
Proposed a follow-on
We proposed a one-week, 40-hour follow-on with a dedicated senior developer to fix bugs and start the refactor.
The impact
What changed for the business.
A plan for the worst pages
The recommendations set out how to break the worst pages into smaller container and presentational components.
A cleaner structure
Feature modules would cut app.module to fewer than 75 lines.
A team that knows the plan
The client called the training informative and useful.
A preferred path chosen
The client named a custom build by its own developers, with our help, as its preferred option.