[TYPO3-ect] Controller Configuration
Jan-Hendrik Heuing
jan-hendrik.heuing at digitaldistrict.de
Thu Mar 23 15:42:36 CET 2006
What is this about?
I think it is about rapid and flexible development, not about making extensions as much comfortable as it can be for other developers. At least that's not my goal. In my daily work, I want to get tasks done fast but well done.
So I think it's still fine to configure extensions via TS, even to do that in detail (generating images etc), but I would not try to move things to TS while they are better hosted in your PHP scripts...
At least that's my opinion...
JH
> -----Ursprüngliche Nachricht-----
> Von: typo3-team-extension-coordination-bounces at lists.netfielders.de
> [mailto:typo3-team-extension-coordination-bounces at lists.netfielders.de] Im
> Auftrag von Elmar Hinz
> Gesendet: Donnerstag, 23. März 2006 14:55
> An: typo3-team-extension-coordination at lists.netfielders.de
> Betreff: Re: [TYPO3-ect] Controller Configuration
>
> steve ryan schrieb:
> > Has anyone thought about a generic controller driven by TS
> > configuration? Great for extending the kickstarter to include "Add New
> > Process".
>
> Yes, I have indeed thought of this since long. It is more or less the
> TypoScript implementation of the Struts controller, which is done in XML.
>
> You combine the 3 settings: Model, View, Next.
> Validation is done by PHP mixed into typoscript.
>
> Problems:
>
> * Next works only as a linear Chain.
> * Validation is limited.
> * Typoscript should be the place to configure not to program.
> * Normal typoscripters don't program PHP.
>
>
> Alternative 1: Model, View, Subcontroller
>
> Subcontroller would be a PHP script that does more complex
> validations, and can branch for the next view.
>
>
> Alternative 2: View, Subcontroller
>
> The TypoScripter only needs to select the view they like. The
> subcontroller finds the model and does the rest.
>
>
> Variant:
>
> The PHP Programmer uses TypoScript to design parts of the extension.
> This TypoScript is not visible and editable in the typical Typoscript
> configuration.
>
>
> Regards
>
> Elmar
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> TYPO3-team-extension-coordination mailing list
> TYPO3-team-extension-coordination at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-extension-
> coordination
More information about the TYPO3-team-extension-coordination
mailing list