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

Droidcon India - 2016 - Rebuilding India's largest entertainment app

5fa2fd48b3ad0ca24734e53d29e794bb?s=47 Adnan A M
November 10, 2016

Droidcon India - 2016 - Rebuilding India's largest entertainment app

Slides to my presentation at DroidCon India 2016

5fa2fd48b3ad0ca24734e53d29e794bb?s=128

Adnan A M

November 10, 2016
Tweet

Transcript

  1. Rebuilding BookMyShow By Adnan A M

  2. Agenda 1. Overview 2. Why re-write ? 3. What did

    we change ? 4. What’s different ? 5. What is the effort involved ? 6. What does the future look like ?
  3. Overview

  4. Ground-up Rewrite

  5. UI/UX

  6. 3,00,000 lines of code

  7. 8 passionate developers 10,000 cups of coffee & 180 days

    of absolute fun !
  8. Should you rewrite ?

  9. Why Re-write ?

  10. Problems Challenges

  11. Spaghetti Code Image Source : del.h

  12. No naming conventions

  13. Lack of reusability/modularity

  14. Tightly Coupled

  15. Scalability Image Source : Deposit Photos

  16. Redundant Duplicate code

  17. Hard to refactor

  18. Regression Bugs Image Source : softwaretestingtricks.com

  19. A/B Tests Did the audience like this text better on

    the left as compared to having this on the right ?
  20. What did we do ?

  21. Architecture Image Source : del.h

  22. MVP

  23. User Experience

  24. Smart Filters Image Source : del.h

  25. Seat Layout - Quick Switch Image Source : del.h

  26. Contextual Synopsis Image Source : del.h

  27. Unit Testing Image Source : Deposit Photos

  28. What’s different ?

  29. Packaging

  30. Sub package structure

  31. Standalone Modules

  32. Network - Public API Network Manager App Retrofit

  33. Analytics Module Analytics Manager App Analytics code

  34. Self Sufficient Views Image Source : Deposit Photos

  35. Get me that view ! View Provider Activity Build View

    Return Built View
  36. Get me that view !

  37. API Param Builder Simple human readable API request builders

  38. Simple POJO’s

  39. • Improved Readability • Auto - Complete

  40. Dimension naming Thou shalt name things better !

  41. Regular naming style OR

  42. Embracing Generic & Specific conventions

  43. Learning/Outcomes

  44. MVP is an architecture ? Image Source : Deposit Photos

  45. Multi-Dex - The dreadful 64k limit Image Source : Medium

  46. Maintenance Image Source : http://hannesdorfmann.com/

  47. New features Image Source : http://hannesdorfmann.com/

  48. The Future

  49. Dynamic View Rendering

  50. Automatic Code Generation

  51. Asynchronous Event Driven Architecture

  52. Thank You Adnan A M Website - www.adnan.am Twitter -

    @AdnanM0123