Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Having fun with legacy apps

Having fun with legacy apps

Michał Łomnicki

November 21, 2012
Tweet

More Decks by Michał Łomnicki

Other Decks in Technology

Transcript

  1. Legacy Apps @mlomnicki The essence of dealing with legacy apps

    is to reduce the number of WTFs down to zero.
  2. There was an app... Almost 3 years under development 2

    teams. 1st from UK, 2nd from India
  3. git log fixes - 163 times fix - 144 times

    search - 52 times changes - 40 times final issues - 30 times
  4. 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
  5. 3. Code PORO + real unit tests Good Rails code

    Nothing fancy yet (no DCI, no usecases...)
  6. 4. Upgrade It is all about plugins Moved them to

    lib and simplify Do you need them all?
  7. SPA migration is mega fun Realize the rails-way is legacy!

    It does not matter how old Rails you have
  8. To fix or to rewrite? None is correct! SPA is

    the answer Otherwise your app is still legacy...
  9. Gameboxed Engine It is the best thing since Rails Put

    pressure on Andrzej to open-source it
  10. Q&A