Hello, I would to know Is the Tryton Platform follow the MVC architecture(Model-View-architecture) ?
and Is the files coded with python (contain classes and methods of the module) are considered as APIs or not?
Sort of. We have views and indeed the Model
classes are the model and the controller.
I guess you mean “public API”.
So for the external the RPC API is defined per Model
in the __rpc__
attribute.
On the server-side as it is Python there is no real constraint between public and private methods. But by convention we try to follow the Python standard and use the prefix _
and __
for internal and private.