[Typo3-dev] Make configuration simple

Arne Skjaerholt arnsholt at broadpark.no
Tue Oct 18 00:32:36 CEST 2005


My two cents on your two issues:

> 1.) It is realistic that we can programm validating/semantics check for 
> typoscript one day?
No. Writing a language interpreter is a complex and time-consuming job
(just look at how long people have been developing stuff like perl, php
and python). Furthermore, it really is a job that belongs in a lower
level than an interpreted language, and is usually implemented in C. In
theory this can be done with PHP as well through the dl family of
functions, but in practice this is impossible as dlopen and friends are
disabled in safe mode, and as such in pretty much every webhost
imaginable.

> 2.) If this target seems to be unrealistic, what follows of this?
That depends. If you want semantics-checking on your configuration data,
you might want to consider an existing option like XML or YAML. If
semantic validity is of no concern, the existing design works.

Arne
:wq





More information about the TYPO3-dev mailing list