[TYPO3-ect] How to convert plugins to MVC/lib/div ?

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Fri Jun 29 11:20:52 CEST 2007


Stefan Geith wrote:

> Elmar Hinz schrieb:
>> ...
>>> - replace all references to pi_base (e.g. pi_link...()) with
>>>    tx_lib_link etc.
>> 
>> Right. But one of the reasons that it is still alpha is, that a
>> resultbrowser is wanted.
> 
> Resultbrowser = Pagebrowser ?

Well, it browses results on one page, so it's not a page browser or pager. 

> 
> I always used my own pagebrowser, so this should be no problem.
> If I extract my pagebrowser to a new class: maybe I could contribute
> it to lib_div...

Yeah, let's try this. A resultbrowser is really missing.

> Another thing - 'Old-style' Templates:
> There is nothing like these templates with markers
> yet in lib/div - Right ?

It's there. It's available in the T3 core extensions. We shouldn't double
it, but we could add a more comfortable API to it.

> E.g. Bananas uses these new php-templates.
> I personally don't like php-templates, but it should be possible

They are required in bigger projects, where designers require freedom to
controll the output. 

> to create an 'old-style'-template-class that can replace the
> phpTemplateEngine in my plugins.
> This could also be a candidate for contribution.

Yes please contribute such a connector class if you like. tx_lib_smarty
shows, that only a few lines of code are needed. 

Regards

Elmar








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