[TYPO3-mvc] domain modelling for extensibility

Christian Kartnig office at hahnepeter.de
Mon Mar 31 15:26:28 CEST 2014


Hi Chris,

Thanks for your answer!

> My Suggestion:
> * CONTROLLER: 1 Controller per Form -> extending from the same base-class
> * TEMPLATES/PARTIALS: a Template for every Controller (as its Extbase Default), using partials as for shared stuff.
> * 1 Model for Every Form Process Mapped to the Same Table to enable Shared List Views (you might need a List view Model, with all fields visisible)

This sounds great. I just didn't completely grasp the last line.
So you suggest 12 Models, but one table? Can I then use built in Extbase 
query functionality to get data records from all 12 models?
Is a "list view model" only necessary, if I want to display properties 
not existing in every model?



More information about the TYPO3-project-typo3v4mvc mailing list