Results 1 to 2 of 2
  1. #1
    Abnoba12 is offline Member
    Join Date
    May 2008
    Rep Power

    Default Model-View-Controller

    I'm working on a project logging system. I am trying to build a well designed piece of software and so I want to try and implement the Model-View-Controller architecture. I am trying to fully understand what all the parts are. Clearly the View is the GUI aspect, and I am going to build it with SWING. The other two parts I'm a little confused about exactly what they are.

    From what I understand the model is strictly the primitive data types that the controller preforms it's processing operations on and the data that the View displays. On Wikipedia it seems like it is saying that the model is a little more then just primitive data types. Then there is the controller and from what I understand, it is where all the data manipulation, and algorithms for the GUI occur.

    If anyone could clarify the components of the MVC architecture patter it would help me out a lot.

  2. #2
    rjuyal's Avatar
    rjuyal is offline Senior Member
    Join Date
    Mar 2008
    Delhi, India
    Rep Power



    M: Model ( All Logic here, Layer b/w Dao and Controller, controller will call Model and Model will call Dao to access DB )
    V : View ( to render, e.g. JSP, Freemarker, Velocity )
    C: Controller ( this will generate the View based on some logic )
    i am the future

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts