[TYPO3-ect] method setKeyPathOfRules disappeared
Elmar Hinz
elmar07 at googlemail.com
Wed Sep 12 00:53:07 CEST 2007
Fabien Udriot wrote:
> In the bananas extension, you transformed all the PHP code from the
> controller in Typoscript in the setup.txt. The result is an empty
> controller in bananas and a long setup.txt
>
> What is the benefit to handle this way ? I am thinking about and I don't
> see :
>
Hi Fabien,
it's a proof of concept of the TS configurable action pipeline. As I have
documented in the wiki, it's an option. There is still the PHP way. It's a
matter of taste what you choose.
> - for each modifications in the setup.txt, you have to clear the cache
You can automatically clear the TS cache during development. Do you know
how?
> - no debug message if errors (or only a few)
That should be improved.
> - no particularly clear to code the extension like this (at least for me)
All processors of the action pipeline are configured in the very same way
now. All that is needed is a TSref for the processor objects.
You understand the principle once, you use it everywhere. This will reduce
development time and increase options of recombinations.
Even none programmers can quickly add or exchange processors like rendering
engines, syntax highlighters, even exchange the models. Few other MVC
frameworks can offer such a feature. Different kinds of wigets can be added
to the pipe and displayed in the templates. Extensions will become highly
configurable and extendable by this.
> - what about speed ?
It's uses the same parsed and cached TS configuration like the rest of the
extension. I don't expect a measurable difference in performance speed
between a TS action and a PHP action.
Regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list