1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

what is MVC ?

Discussion in 'Off Topic' started by erich37, Jun 17, 2012.

  1. erich37

    erich37 Well-Known Member

  2. Chris D

    Chris D XenForo Developer Staff Member

    I only have fundamental knowledge. But essentially:
    1. The Model represents the application data
    2. The View renders a presentation of model data
    3. The Controller handles and routes requests made by the client
    It's essentially a design principal when it comes to application development. So it's not something tangible that XenForo uses, just a framework that XenForo uses.
    This thread has some useful information.
  3. craigiri

    craigiri Well-Known Member

    Yorick is right - I find the easiest way for me to understand it is that instead of an file (php, for instance) being a big hairball of all the functions and the supporting stuff, they are separated out into logical parts.

    I'm not a programmer, but these phrases make sense to a layman:
    "MVC helps out because you know where to look when it comes to modifying components"
    "MVC is simply about separating the three key parts of your app to make it easier to test, maintain, etc."
    Yorick likes this.
  4. Peggy

    Peggy Well-Known Member

    It's the name of a restaurant here in Youngstown, Ohio.

    Oh wait, that's MVR. Sorry.... :oops:

Share This Page