• Post Reply Bookmark Topic Watch Topic
  • New Topic

wat is this MVC

 
Ami Grover
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everyone i m new in java , ijst join ur grp of javaranch
can anyone plz tell me smthng abt MVC
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ami, please do everyone a favor and change your display name to used mixed case like everyone else.

thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MVC, which stands for Model-View-Controller, is a pattern that applies "separation of concerns" to the various aspects of an application.

There has been a lot written about it, so your best bet is to google the term.

By the way, the pattern termed "Model 2" is an approximation of the MVC pattern as it applies to web applications.
 
Rajeev Ravindran
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by AMI GROVER:
hi everyone i m new in java , ijst join ur grp of javaranch
can anyone plz tell me smthng abt MVC


Ami, it will be much easier to read if you write like this

hi everyone i m new in java , i just join your group of javaranch
can anyone please tell me something abt MVC

i have replaced
u with you
ur with your
smthng with something

welcome to javaranch and Njoy ( its enjoy )

Thanks,
Rajeev
[ March 02, 2006: Message edited by: Rajeev Ravindran ]
 
vjy chin
Ranch Hand
Posts: 279
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
As the other pointed out, you can search for the term, you would get many articles.
You can start with web page.

Hope it helps.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have replaced
u with you
ur with your
smthng with something

You could have replaced 'abt' with 'about' too
 
ak pillai
author
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome.

The MVC architecture divides the functionality of displaying and maintaining of the data to minimise the degree of coupling (i.e. promotes loose coupling) between components.

A Model represents the core business logic and state. A model commonly maps to data in the database and will also contain core business logic.

A View renders the contents of a model. A view accesses the data from the model and adds display logic to present the data.

A Controller acts as the glue between a model and a view. A controller delegates the request to the model for application logic and state and also centralises the logic for dispatching the request to the next view based on the input parameters from the client and the application state. A controller also decouples JSP pages and the Servlet by handling the view selection.


It is also used in SWING GUI as well.
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Ami, Download sample application of MVC from here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!