[TYPO3-dev] Moving the topic of the discussion a littlebit--Based of thread "Change roadmap..."

JoH info at cybercraft.de
Thu Apr 13 03:24:17 CEST 2006


>> I'm not following the logic here--this is _exactly_ the sort of
>> thing--configuration--that TS is purpose-built to do. It doesn't
>> reflect well or poorly on either Smarty or TS if the design of the
>> displayWeek() function in the main calendar class is not well-adapted
>> to the framework it runs in (i.e. if the class has not been made
>> TS-aware for such a commonplace calendar operations)...
>
> What I am arguing is displayWeek() function should not be in the
> calendar class at ALL. If it just displays something (as its name is
> hinting), it should be implemented in the presentation layer
> (template), and it's too damn bad TypoScript can't do it because it
> can't iterate sets/arrays.

Could you explain what can't be done with TypoScript in this case.
Just tell me what's it gonna be and I will show you how to do it with TS
only.

>> Whether TS or Smarty are part of the presentation layer or not, I
>> think that one of TYPO3's _strong_ points is an almost total
>> separation of any kind of control structures from the markup. It's a
>> feature, not an omission.
>
> Separating control structures from markup limited practical value at
> all if you don't separate the objects' logic from their presentation.
> In the example I was talking about the control structure that iterates
> over days in a week clearly belongs to the presentation level
> (template),  but not the object logics itself.

Agreed. And this can be done with TypoScript only.

> It is a feature, however it's a "crippled" one, because you can only
> change _some_ things about how an object should be visualised by
> changing the template, but not all.

Again: What is it exactly that can't be configured or changed with
TypoScript in this case?

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de






More information about the TYPO3-dev mailing list