Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

View in MVC

 
Akhil kumarS
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is meant by View in MVC?Is it different pages like HTML,PHP,JSP?
View change-Does this mean change the page from HTML to jsp or change the data shown in a table to a graphical representation?
 
Nicholas Jordan
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
View is looking at the data. You could say html is one way of viewing the data, anything that can be understood by a person that is on the screen is a view. View change would ( I think ) imply that it is time to refresh the screen.
 
Akhil kumarS
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much Nicholas.....
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adding to what Nicolas mentioned,

View is the "displaying" or "presentation" aspect of an application whose one and only job is to display the contents given to it. It really does NOT care from where and how the data it displays is obtained.

It is for achieving the "loose coupling" between different components so that maintenance would be easy!
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess this thread can be in either "Servlets" or "JSP" forums rather than in "General Computing".

If i am right, one of our moderators/bartenders would move this thread to the appropriate forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic