[TYPO3-ect] tcaObjects WAS: MVC Project

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Tue Feb 7 13:09:03 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Scharkow schrieb:
> 
> Current TCA is more than a model definition, and I'm not sure if we
> should change that or live with it and deviate a little from the pure
> MVC. I haven't had a look into palettes and stuff for some time, but it
> is definitely a neat way to further customize the views for forms, kind
> of configurable scaffolding that is...
> 

We can live with it, because $TCA is only a configuration and no class itself.
You would never copy it into a class. You use the information by referencing or
globalizing the original.

(Well, strictly taken globalizing or referencing makes it part of the object.
It's not the same like a pointer in C. Does this alter in PHP5?)

> That is my opinion, yes. Plus a lot of other fancy stuff, like a generic
> controller for use in BE and FE (in FE as a successor to pi_base)
> because I am *so* tired of writing excessive switch statements for
> controllers.

Java Struts does this controller configuration with XML files. Doing it with TS
would still accelerate development.

/el
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD6I3fO976RNoy/18RAq3DAJ44Ze7idqIhZxMRt+K/i1W9pvkS9QCgzvvP
BDoWY7KRKAfaiW49XvB5/WU=
=y52s
-----END PGP SIGNATURE-----



More information about the TYPO3-team-extension-coordination mailing list