Well,
I will try to be more specific to you. Providing vague / abstract answers for ppl that you can see doesn't master the subject doesn't help.
MVC β Model View Controler
There are many MVC implementations, I donβt know your case, but I will give you one.
The most common MVC implementation is as follows.
view β Controler β Model
In a web script.
The presentation will be your HTML pages and data entry will take place on the form.
<form action=/home/createuser method=post> ...code goes here... </form>
Home will be your controller (a class called home), and createuser will be in the house.
public class Home extends Controller { public void createUser(Userform f){ ...create user... } }
This form will send data to the method as parameters. Createuser would process them to talk to the model, and then save the data, if so.
Rodrigo Dellacqua
source share