I am new to Joomla development and like to understand how Joomla stores the data from the text field in the xml file. As far i understood from the Joomla Docs, the data is stored in a Json file in a table called modules (if you work with modules.)
So lets say i create a plugin with a text field inside I would enter this code into the xml file:
<field name="mytextvalue" type="text" default="Some text" label="Enter some text" description="" size="10" />
To display the value I would do something like this in the main php:
$mytextvalue = $params->get('mytextvalue');
and helper file:
echo "$params->get('mytextvalue') ";
As simple like this the data is stored in Joomla and gives a output of the value mytextvalue.
Now, I did not setup a db table to store this data. Where is the Data? Do I even need to store the data in a custom DB table and if yes why should i do this?