[TYPO3-ect] Improvement of the template engine
Peter Niederlag
niederlag at ikd01.de
Fri Jan 27 11:37:17 CET 2006
Hi,
Ernesto Baschny [cron IT] schrieb:
> Elmar Hinz schrieb am 26.01.2006 23:16:
>
>
>>Let me catch and concretise your idea:
>>
>>1.) You organize the output as a array or XML (values, labels, errors,
>>comments, helptext, ...) of a standard format.
>
>
> In my idea one would catch these information in a cObject (data-array).
> This way we can use regular stdWrap/getSingleCObject/etc methods to
> process the data. But I see that there are limitations: the cObj->data
> is a one-dimensional array field=>value.
That's exactly the point! That would be very nice. That's the only *real
serious* problem one is running into now. ;(
suggestions/ideas on improving that would be very cool. :->
> So if we want to have arrays, be able to loop through arrays, pass
> arrays to Smarty, etc, we need to extend the functionality of cObject
> and stdWrap.
...
+1
U can register a SMARTY cObject by your own USER already. Well you don't
have the naming thing but functionality would be possible already imho.
Cheers,
Peter
--
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *
http://www.typo3partner.net * professional services network *
More information about the TYPO3-team-extension-coordination
mailing list