Documentation Center

Managing Web site code (TCDL)

SDL recommends that you manage your Web site code using SDL Web. When you use and create tags in a technology-neutral language called TCDL, Content Delivery can transform them into your Web site's language (actual code) at various stages of the delivery process.

You can implement dynamic functionality for your Web site in various ways:

Unmanaged code

Unmanaged code is Web site code, stored on your Web site, that is not handled by SDL Web. You can create templating code in SDL Web that outputs calls to your code.

The disadvantage of unmanaged code is that you are responsible for ensuring that the code is in the right location, that it works as intended, that it is the latest version, and so on.

Loosely managed code

You can insert ASP.NET or JSP statements in your templating code that are rendered 'as is' and are executed at request time.

Although your code is versioned and in the right location, it is difficult to debug. Moreover, third parties who call the Content Service get ASP.NET or JSP code in their response, code that they may not be able to run.

Tightly managed code

You can insert TCDL statements in your templating code. TCDL is a technology-neutral language that you can transform into your Web site's language at publish time or at request time. TCDL tags are available for standard Content Delivery functionality and you can also create your own TCDL tags.

The advantage of letting SDL Web manage your Web site code is that your code is in the right location, works as intended, is versioned, and so on.