Advice on using MVC Spring framework with client side view
I wanted some tips regarding the following problem, from the Java experts in this forum:
- I am currently working on a web application with lot of SQL transactions based on MVC architecture. Is is possible to have the view completely developed and hosted at the client side, with the controller and model at the server?
- The idea is to represent data in a way desired by end users. So, the View is developed (adhering to some defined standards) by the end users itself, where the controller and model remains the same.
I think it is possible with the MVC Spring framework, but don't know how exactly.
Thanks. Shaun
Answers
Is is possible to have the view completely developed and hosted at the client side, with the controller and model at the server?
What do you mean by this? Well, you may build HTML on client with Java Script by sending ajax requests for data to controller, but it's not the way Spring MVC designed for. For that you probably will need something like DWR