Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Help, which way(MVVP, MVC, MVP)

Discussion in 'UI Toolkit' started by kr_vs, Jul 2, 2019.

  1. kr_vs

    kr_vs

    Joined:
    Mar 14, 2015
    Posts:
    6
    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
    ?
     
unityunity