This document discusses and compares several common app architectures - MVC, MVP, MVVM, and VIPER. It defines each architecture and explains the separation of concerns, flow of information, and benefits of each. While there is no single best approach, the document conveys that architectural patterns help organize an app's components and determine how to structure the app as it grows in size and complexity.
27. VIPER Architecture.
• Viper is a delegation driven architecture. So, One layer calls
another through a protocol.
• Protocols :
PresenterToViewProtocol
ViewToPresenterProtocol
InteractorToPresenterProtocol
PresentorToInterectorProtocol
PresenterToRouterProtocol
www.Pyranova.Tech
27
27
31. Why VIPER ?
• Make the structure more modular
• Very good environment for unit testing.
• Reduce the load and dependency on controllers.
• Working with constantly changing requirements.
NOT good in case of small apps
www.Pyranova.Tech
31
31
32. Concoulasion
● App structure is to organize your application’s
component.
● There is no best and worst.
www.Pyranova.Tech
32
32