Contenu connexe
Similaire à Having fun with legacy apps
Similaire à Having fun with legacy apps (20)
Having fun with legacy apps
- 1. Legacy Apps
@mlomnicki
The essence of dealing with legacy apps
is to reduce the number of WTFs down to zero.
- 3. There was an app...
Almost 3 years under development
2 teams. 1st from UK, 2nd from India
- 5. git log
fixes - 163 times
fix - 144 times
search - 52 times
changes - 40 times
final issues - 30 times
- 15. 1. Understand the app
It is hard
From the beginning you have to dive into every detail
Bugs made by your predecessor become your bugs
- 17. 3. Code
PORO + real unit tests
Good Rails code
Nothing fancy yet (no DCI, no usecases...)
- 18. 4. Upgrade
It is all about plugins
Moved them to lib and simplify
Do you need them all?
- 20. Removing code is fun
1799 files changed, 37303 insertions(+), 78770 deletions(-)
- 21. SPA migration is mega fun
Realize the rails-way is legacy!
It does not matter how old Rails you have
- 22. To fix or to rewrite?
None is correct!
SPA is the answer
Otherwise your app is still legacy...