Search Unity

Help, which way(MVVP, MVC, MVP)

Discussion in 'UIElements' started by kr_vs, Jul 2, 2019.

  1. kr_vs

    kr_vs

    Joined:
    Mar 14, 2015
    Posts:
    4
    What is the best way to build big project like web site with good architecture?
    My try to apply MVP end up with problem, I cant redraw body of page from header, because my presenters dont know about each other(im using Simple Injector).
     
  2. etienne_phil_unity

    etienne_phil_unity

    Unity Technologies

    Joined:
    Jan 15, 2019
    Posts:
    15
    Hello! :) I think all these patterns have their pros and cons, and ultimately you'd choose one based on the specificity of your use case. I'd suggest going for something simple first. As you go your understanding of your problem will evolve, and you'll curb your pattern accordingly. Personally, I think the https://puremvc.org project is a mature and simple implementation of the MVC pattern, worth drawing inspiration from. But talking about frameworks, I'd make sure I really need one before using it, if your UI is not *that* complex, the weight and learning curve of an external framework simply ain't worth it. Could you please elaborate on
    ?