December 21, 2011

Tridion Dreamweaver Templating (DWT) Syntax

DWT  better known in Tridion is acronym of Tridion Dreamweaver Templating. Dreamweaver is product of Adobe which they acquired from Macromedia in 2005.( Note: Flash was also part of Macromedia before 2005 :))

Dreamweaver Templates has its own syntax. Its also used in SDL Tridion for accessing components and to provide support for control structures(loop) and flow structures(if/else conditions)

Dreamweaver syntax is CASE SENSITIVE
Dreamweaver used @@ syntax or ${} to access value from variable/object.


Operator Support:

  • numeric literals, string literals (double-quote syntax only), Boolean literals (true or false)
  • variable reference (see the list of defined variables later in this section)
  • field reference (the “dot” operator)
  • unary operators: +, -, ~, !
  • binary operators: +, -, *, /, %, &, |, ^, &&, ||, <, <=, >, >=, ==, !=, <<, >>
  • conditional operator: ?:
  • parentheses: ()




    More Basic and advanced topics coming soon.
    Please comment if any issue/problem




0 People comments:

 

Copyright 2010 All Rights Reserved