[TYPO3-50-general] TypoScript 2.0 syntax

Andreas Balzer typo3 at andreas-balzer.de
Thu May 24 19:48:51 CEST 2007


Hi!
I as a member of the hci team would like to ask you some questions 
regarding the current thoughts about TS 2

Question 1) The operator > is used to unset an option or its values and 
properties. In several programming languages you can use constructs like 
"= null".
e.g.: something = null

Please notice that "null" is named different according the coding 
language. What about integrating something like this into TYPO3?

Question 2) In PHP and several other languages you can use double quotes 
or single quotes to tell the interpreter that you want a string. In TPO3 
you can only use double quotationmarks, right?.
e.g.:
myObject.value = $hello . "<br />Nice that you\'re here again.<br />" . 
$goodbye
what about this?
myObject.value = $hello . '<br />Nice that you are here again.<br />' . 
$goodbye

Question 3)
If you look at
myObject.value = $hello . "<br />Nice that you\'re here again.<br />" . 
$goodbye
Why does the ' has to be (What was the right word again? hmmmm) So why 
do you have to write a \ in front of it? TYPO3 should know that there is 
no ' in the string to do something, so " ' " should do the thing.. 
shouldn't it?

So those were three questions that could be important in terms of 
ease-to-use. What do you think about?

Andreas


More information about the TYPO3-project-5_0-general mailing list