[TYPO3-mvc] Where to implement the business logic?

Joerg Schoppet joerg at schoppet.de
Wed Nov 4 00:01:34 CET 2009


Hi,

Helmut Hummel schrieb:
> 
> Can anyone give me a hint where to generally put the business logic in 
> case of an extbase extension.
the webservices I implemented within my extensions worked the following way:
- controller: holds the "business logic", meaning, that the controller 
knows, what to fetch depending on the given request-parameters.
- view: created the xml-representation of the output (I used the 
"format"-parameter -xml-, so that I used a "simple" fluid-file to create 
the xml, but it is also possible to create a php-view, which creates a 
dom- or simplexml objects and return the generated xml.
- model(s): rather simple, that it only returns the data I need, no real 
logic for output or something like that
.

Joerg


More information about the TYPO3-project-typo3v4mvc mailing list