[TYPO3-ect] The chain

Martin Ficzel martin.ficzel at gmx.de
Tue Jan 23 11:01:04 CET 2007


Elmar Hinz schrieb:
> Hi Martin,
> 
>> 1. why are the printAsXXX methods inside of the phpView Class i feel
>> they should be part of a general view class and all other views should
>> use them too.
>>
> 
> Because it was developed in the context of phpView class. May be of use
> for other views. But there is few experience with other types so far.

i think a generalized interface for value printing is necessary. and i
definitely belongs into a view baseclass. so the question is weather the
existing function set is complete and correct.

additionally the render($view) method should be defined as
abstract/empty method in the base class because it basically that is the
only method all views have to implement.

>> 2. why is there no implementation of the old ###MARKER### template style
>> . i know that smarty and phpView have much more features but many
>> template developers learned the classic scheme. maybe a notation like
>> ####MERKER::ASXXX### can fill the gap.
> 
> I guess there is no implementation because you havn't implemented it yet,
> as far as I know. Did you? ;-)

:-)) very good point ... i wanted to figure out weather youd did'nt want
to see the old template style because of some design resons.

i will think about how it could be done but before i can do anything i
still have to dive deeper into the lib/div system. im still at the
beginning.

regards Martin


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