Which is the correct way to use Views (from MVC) in a web application? Develop the view as a class or as html plain code?
-
-
Answer:
It doesn't matter as long as the View part of MVC ONLY handles tasks related to the view. That means, setting up the UI, possibly plugging in data from the Model. I would also add that the view should not know what the previous or next screens are, since the controller should actually handle that task.
Michael W. Kelley at Quora Visit the source
Other answers
It depends on the requirement. I prefer html as they are quick to develop and render.
Madhav Raju
Related Q & A:
- How to review a web application code?Best solution by Stack Overflow
- How to develop a web application?Best solution by Stack Overflow
- Is there any way to use the HDMI port on a computer for HDMI IN?Best solution by Yahoo! Answers
- Is there any way to use an ordinary camera as a webcam?Best solution by Yahoo! Answers
- What do you think is a possessional looking font for a web application?Best solution by Webmasters
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.