Controller class | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Controller class

There's a class that follows the ,,MVC" pattern usually called the controller class, if any1 knows what I'm talking about could i get either the name of the lession or an example and definition of it's usage. thanks

14th Apr 2018, 8:11 AM
Igor
2 Answers
+ 6
Usually I simply create my own classes to fit the mvc design pattern, where needed. There might be ready to use classes for Java which you can extend, but I must confess, I don't know for sure. But this tutorial will help you to implement the pattern: https://www.tutorialspoint.com/design_pattern/mvc_pattern.htm Also, I'd like to recommend to get into the mvp pattern, for some reasons, see: https://softwareengineering.stackexchange.com/questions/338143/what-are-the-improvements-of-mvp-over-mvc
14th Apr 2018, 8:23 AM
Tashi N
Tashi N - avatar
+ 1
thank you exactly what i needed
14th Apr 2018, 8:27 AM
Igor