[TYPO3-ect] MVC Project: CMEV introduction
Elmar Hinz
elmar.DOT.hinz at team.MINUS.red.DOT.net
Mon Mar 6 07:50:18 CET 2006
Dear typoniks,
I took some time to think about MVC, especially the question if the
checks of form inputs belong to model, controller or view.
We already came to this point and we got different proposals. Some
argued it would be good to be part of the model to do an
autogeneration of checks by the data structure, I argued that there
could be different views that requiere different checks. Obviously the
difficulty is that checks have a nature of their own.
In object orientated programming we implement functionalities of an
own nature to separated classes, to gain all the advantages of OOP. In
this proposal I extend the MVC pattern by at least 2 classes an
evaluator (checks) and an error message service.
I call this pattern CMEV for the first: controlled model evaluator view.
Because people seldom read long postings I will divide it into 3
postings: introduction, error service, evaluator.
This was the introduction. Others will follow within the next days.
regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list