Category Archives: Tridion

Customizing binary paths in DD4T

SDL Web (formerly called SDL Tridion) has a rather particular way to deal with so-called binary files (images, PDFs, Word documents etc). When published, these files are placed in one folder (typically called ‘images’). To avoid conflicts between different binaries with the same file name, a unique ID is appended to the name of the file. A typical URL of a published binary file would be something like http://mysite.com/images/my-image_tcm3-123.png.

But what if you want to make your own rules for binary paths? And what if you are using the DD4T framework as well? In this post I will explain how to customize the paths to your binaries in DD4T.

Continue reading

SDL Web 8.5 released

SDL Web 8.5 (formerly known as SDL Tridion) is just around the corner. This release introduces a number of new features in Content Manager and functional changes in Content Manager Explorer, Content Delivery, Audience Manager and Translation Manager. Experience Optimization, formerly called SmartTarget, is part of SDL Web as of this release.

Continue reading

DD4T: Page and Content ViewModels – an End-to-End Example

One of the unwritten rules in MVC is that ViewModel classes should be kept very simple. They should basically represent data to be displayed in your views. Then, depending on the concrete implementation and the requirements, the whole mapping and connecting it all together part does not always stay simple.

The usage of ViewModels in DD4T 2.0 can actually be very simple, as the example code will try to show. Anything with a simple basis should be also extendable in an easy way and that is the main goal of the framework.

Continue reading