From Joomla! Documentation
This article or section is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template.
This article was last edited by Thelordofweb (talk| contribs) 2 years ago. (Purge)
The models encapsulate the data used by the component. In most cases this data will come from a database, either the Joomla database, or some external database, but it is also possible for the models to obtain data from other sources, such as via a web services API running on another server. The models is also responsible for updating the database where appropriate. The purpose of the models is to isolate the controller and view from the details of how data is obtained or amended.