[Typo3-dev] TypoScript 2: a bit of a RFC
Elmar Hinz
elmar.DOT.hinz at team.MINUS.red.DOT.net
Wed Nov 30 18:09:04 CET 2005
Hi Sven,
I fear you start the discussion XML vs. TS again. I share Dan's position
that this is unnecessary.
We have a to do with a tree, that contains configurations. XML and TS
are only two different views on the same tree and you can imagine other
views (TS 3, TS 4, YAML ?, ....) . Everybody could use the the language
he likes. So the discussion where to use XML and where to use TS is
obsolete.
Which languge this tree should be stored in, is a question of best
performance now, not a question of the language to edit it. I propose to
store it as serialized objects. I think of a kind of "Object TS" from
Dan. That is IMHO the shortest way to generate HTML output from it.
As for TCA, PageTS, UserTS etc. I hate to search for it in different
corners of the system. I would like to centralize them, that means in
the same configuration tree.
For non TS users it would be nice to have a simplified surface for the
most important configurations. A surface that hides the configuration
tree from them. Maybe something like the Constant Editor in the TS manager.
Best regards
Elmar
Sven Wilhelm wrote:
> Hi,
>
>> We need a roadmap to get us to a completely stable TypoScript v2 -
>> but, what will it be? Will it be backwards compatible? Will it be
>> stored in XML?... What resources do we need? Who will help define,
>> built and test it?
>
>
> some basic ideas:
>
> Divide the problem into two parts.
>
> XML is a perfect system for storing structured values.
> A scripting language is flexible.
>
> Don't use Typoscript for storing persistant values (constants), use XML
> there. Use Typoscript as a language where necessary and see Typoscript
> as a language there. A language can be based on EBNF so it's build on a
> structure while not stored in XML.
>
> At least remove Typoscript wherever possible. For all userTSConfig it
> should be possible to work without TS syntax, or am I wrong?
> What's for pageTSConfig?
>
> Constant values in template records should also be replaceable by XML,
> so setup is the last place of necessary TS.
>
> just my 2 cents.
>
> Sven
--
Climate change 2005: Mexico, Guatemala, New Orleans, Sahel, Bangladesh,
Spain, Portugal, Austria, Swiss, France, ...
Production of CO2 is killing people.
Production of CO2 just for fun is killing people just for fun.
More information about the TYPO3-dev
mailing list