New easy component in order to understand mvc on joomla - Joomla! Forum - community, help and support
hello everybody,
i have read many tutorials , howto topics , have understood mvc pattern.
but usually, have seen component empty body of controller( or overriding of display' method).
i understand how works communication between model-view-control in joomla.
for example:
in first view, there are: 2 fields input name , surname , 2 buttons ( showage, showwork).
if press the first button, in controller activated function showage() , controller asks @ model data. in model, there query name , surname in order age.
if press the second button, in controller activated function showwork() , controller asks @ model data. in model, there query b name , surname in order work.
after controller receives data model, starts second view in order print result of query.
is mvc's general principle right in way?
can write me component? communication parts.
thank you.
i have read many tutorials , howto topics , have understood mvc pattern.
but usually, have seen component empty body of controller( or overriding of display' method).
i understand how works communication between model-view-control in joomla.
for example:
in first view, there are: 2 fields input name , surname , 2 buttons ( showage, showwork).
if press the first button, in controller activated function showage() , controller asks @ model data. in model, there query name , surname in order age.
if press the second button, in controller activated function showwork() , controller asks @ model data. in model, there query b name , surname in order work.
after controller receives data model, starts second view in order print result of query.
is mvc's general principle right in way?
can write me component? communication parts.
thank you.
here's component looking for.
Comments
Post a Comment