[TYPO3-mvc] controller without model?

Sebastian Kurfürst sebastian at typo3.org
Fri Jan 1 19:29:36 CET 2010


Hi Masi,

> My Plugin shall not start with a controller dedicated to one one models. I want more something like
> a start/home "module". Is it conceptually ok to create controller without any model for that.
Sure, that is perfectly fine conceptually.

That a Controller often is responsible for dealing with one kind of
object is merely a rule of thumb - so if you have good reason (like you
have), or another layout for your Controllers, that's fine.

So, I'd do the same as you - just create a Controller not relating to a
model.

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list