MVC: a controller and view by form?

0

from my index.php I call different options using mvc.

For example customers: list the clients with listclient.php. But there I have edit and new client.

The question is: I have to create a clientcontroller.php and a viewaggregate.php and viewedit.php, with its module ..

And the same for articles, new ticket, etc?

I program from scratch without any framework

    
asked by Caruso 01.05.2018 в 10:29
source

1 answer

1

You do not need a view for each form, but you can make them apart and include them while the action calls the corresponding controller

    
answered by 01.05.2018 в 10:56