In this chapter we looked at the main features of TypoScript and explained its basic principles. We introduced objects in TypoScript and covered copying objects and properties, referencing objects, and the classification of objects into top-level objects, content objects, graphical objects, and menu objects.
Next we covered the various operators in Typoscript, including the value assignment operator (=
), the copy (<
) and delete (>
) operators, the object path reference (<=
) operator, and the conditions ([]
) operator.
Like other programming languages TypoScript has datatypes, but there are some differences between datatypes in TypoScript and in other languages. We covered the important datatypes such as boolean, int, string, pixel
, and VHalign
. Some properties have objects and functions as datatypes. We discussed the Wrap principle, and comments and conditions in TypoScript.
The final part of the chapter covered the broad topics in the TypoScript online reference TSref.