MVC

MVC concept

MVC refers to the Model, View, Controller pattern, a very nice way to split and organize your code.

From the wikipedia

Model-view-controller (MVC) is an architectural pattern used in software engineering. Successful use of the pattern isolates business logic from user interface considerations, resulting in an application where it is easier to modify either the visual appearance of the application or the underlying business rules without affecting the other. In MVC, the model represents the information (the data) of the application; the view corresponds to elements of the user interface such as text, checkbox items, and so forth; and the controller manages the communication of data and the business rules used to manipulate the data to and from the model.

Is it difficult to follow?

If you follow Tequila practices you will be on the safe MVC side of life :)

Honestly speaking it can take you a couple of days or weeks to get accustomed to the separation but once there you will never want to go back

MVC the class

MVC is a core class of Tequila it plays the role of the front controller or dispatcher. (and perhaps should be renamed)

The purpose of this class is to receive execution calls from many access points (Request, classes calling classes, workflow package) and make a task_VO object with all the execution info from (DB, XML, workflow step, default) and pass to the taskWrapper object for execution.

In the process it will also check security before calling the class.