Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-15-2008, 05:10 AM
Member
 
Join Date: May 2008
Posts: 1
Abnoba12 is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-15-2008, 02:32 PM
rjuyal's Avatar
Senior Member
 
Join Date: Mar 2008
Location: Delhi, India
Posts: 187
rjuyal is on a distinguished road
MVC

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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MVC Controller (example) JavaForums Java Blogs 0 02-14-2008 03:30 PM
MVC Controller JavaForums Java Blogs 0 02-13-2008 02:30 PM
Struts Controller (II) JavaForums Java Blogs 0 01-16-2008 07:51 PM
Introduction to Model View Controller Architecture (II) JavaForums Java Blogs 0 01-08-2008 03:20 PM
Introduction to Model View Controller Architecture (I) JavaForums Java Blogs 0 01-08-2008 03:20 PM


All times are GMT +3. The time now is 11:49 AM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org