[TYPO3-50-general] TypoScript 2.0 and Relax NG
sebastian at typo3.org
Fri Apr 27 20:26:55 CEST 2007
sorry that nobody of us was answering for such a long time.... We
appreciate your ideas and we thought about this as well.
> I have the idea to (re-)define TypoScript with Relax NG. This will
> allow syntax checking and TS editors that can get the info on the
> current object from the Relax NG definition (no magic involved).
We have some ideas how to store configuration in the Content Repository,
and we thought of reusing the hierarchical structure in the CR for
TypoScript as well. Basically, the data could then be rendered to
"TypoScript" for editing, but as well to XML, where a Relax NG
definition could be available then.
> Addionally I think we should reuse the old ObjTS idea and turn TS
> objects into PHP objects. So in the future a TS objects consists of a
> class and a describing Relax NG definition (which may be linked to
> help files). IMHO this can even be made flexible so that an extension
> ships with a class and its own Relax NG definition for custom object.
> Note that every plugin, must have a Relax NG definition as well.
Yes, we had this in mind :-) Great to see that you had the same idea, too!
We are not yet at the point where we should define TypoScript - but we
will of course keep that in mind.
Thanks for your comments, they are really appreciated.
More information about the TYPO3-project-5_0-general