Skip to content

Monolitic Architecture

Devrath edited this page Nov 30, 2023 · 1 revision

stonehenge-long

What is a monolithic architecture

  • When we say monolithic architecture, We refer to a code base without any specific architecture.
  • Basically we have java/kotlin classes and xml's.
  • In the java/kotlin class, we pile up all the logic in the class itself that include
    • Business logic
    • API callbacks
    • Database logic
    • Any other parts

Advantages & Disadvantages

  • This is only suitable for demo snippets.
  • We always need to have architecture at-lest MVC and at best MVVM.
  • This type of approach is not scalable at all.
  • Collaborating with teammates is very difficult since there is no separation of concerns
  • We cannot unit test the logic easily since we need to run on the devices all the time.

Clone this wiki locally