As a student currently learning MVC and Java, this has been the best explanation of not only what to do, but also why it is done. Thank you for this excellent tutorial!
This tutorial is amazing, it really breaks the concept down in a way that is easy to understand. I was intimidated by MVC before and now I'm thinking about how to implement it in my own project. Thank you so much!!
in the view if we call model.getName() , Why do we have to create a method in the controller that says "getName() return model.getName" ??? should not we be saying in the view controller.getName instead of model.getName
Wouldn't it be more practical to pass an object of the Student class as a parameter to printStudentDetails rather than the Student properties one by one? Imagine for example that the class Student had dozens of properties.
Also, with this particular example, the necessity of such a pattern does not emerge. On the contrary, the feeling of redundancy is created. It looks like we want to go from New York to Washington via Los Angeles! For example, while we can call the method printStudentDetails directly, instead we take more steps to get the same result calling controller.updateView(). That is, we call the method printStudentDetails by proxy!!! Maybe the example is too simple to emerge such a necessity.
As a student currently learning MVC and Java, this has been the best explanation of not only what to do, but also why it is done. Thank you for this excellent tutorial!
This tutorial is amazing, it really breaks the concept down in a way that is easy to understand. I was intimidated by MVC before and now I'm thinking about how to implement it in my own project. Thank you so much!!
😊
finally i can learn to code again, be blessed brother
Awesome work! Concise and richfull! Congrats!
This was a great lesson. Thank you.
Thank you. Very well explained!
So well explained. Good tutorial.
Glad you liked it
simply the best...
thanks a lot from Brazil
You are welcome!
in the view if we call model.getName() , Why do we have to create a method in the controller that says "getName() return model.getName" ??? should not we be saying in the view controller.getName instead of model.getName
Wouldn't it be more practical to pass an object of the Student class as a parameter to printStudentDetails rather than the Student properties one by one? Imagine for example that the class Student had dozens of properties.
It's really helpful und awesome 👌
Ty 😊
can you share the code in a zip file in the comment section ?
Done
Also, with this particular example, the necessity of such a pattern does not emerge. On the contrary, the feeling of redundancy is created. It looks like we want to go from New York to Washington via Los Angeles! For example, while we can call the method printStudentDetails directly, instead we take more steps to get the same result calling controller.updateView(). That is, we call the method printStudentDetails by proxy!!! Maybe the example is too simple to emerge such a necessity.