[TYPO3-ect] Controller Configuration

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Mar 23 16:08:37 CET 2006


Hi,

this is also my opinion, which I think is shared by some core developers:

Lets place more effort in making the PHP-part better and
"standard-conforming". There is much more PHP-knowledge in the world
from which we can benefit than trying to "reinvent the wheel" in TypoScript.

Let TypoScript do only where its good at (menu generation and
configuration) and use structures that are already widespread in the PHP
community for the programming tasks. This seems to be the trend in every
ECT-discussion anyway.

Cheers,
Ernesto


Jan-Hendrik Heuing schrieb am 23.03.2006 15:42:

> 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
> 


-- 
cron IT GmbH
Dipl.-Inf. Ernesto Baschny
Nobelstr. 15, D-70569 Stuttgart

Tel: +49 711 6868 909-33
Fax: +49 711 6868 909-10

Fingerprint: E918 7A64 9C50 CD35 67A9  752C 1C70 EE8B 915F 6438



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