[TYPO3-dev] Moving the topic of the discussion alittlebit--Based of thread "Change roadmap..."
JoH
info at cybercraft.de
Thu Apr 13 04:45:22 CEST 2006
>>> 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.
>
> Just because it CAN be done (which I am not yet convinced in, I'll
> wait for your examples;) it does not necessarily mean it's the most
> efficient way. TYPO3 COULD in theory have been written in Visual
> Basic.
Agreed - but the conclusion should be:
If it's not the most efficient way yet how can we improve it to be the most
efficient way?
But your conclusion is:
If it's not the most efficient way we should replace it with something that
can be under some circumstances more efficient.
You still won't have the most efficient way _and_ you would buy the
advantages by accepting the drawbacks too, since smarty is something new and
for templating only while TypoScript can be much more and it is the tool
TYPO3 users are used to.
BTW: The calendar view you described could be done with CONTENT, CASE, split
and a condition for switching the starting day based on the L parameter.
Rotating the view by 90 degrees has nothing to do with TypoScript but with
properly formatted HTML and CSS.
If you use floated div containers for each week and the days as well you can
"rotate" the view just by reducing the width of the week containers.
A surrounding div container with a class "normal" or "rotated" based on a
layout field set by the editors would be the trigger.
But since you seem to be good in finding things that seem(!) to be
impossible or not very efficient while using TypoScript, why not make a list
out of it, so that we know what should be improved?
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