Skip to content
Nuno Linhares edited this page Oct 8, 2013 · 17 revisions

The Tridion Context Engine Wrapper is a wrapper around the new Context Engine functionality of SDL Tridion 2013 SP1. The wrapper enables a page response to adapt to the requesting device context. If you want to cut straight to the technical information you can do that by going to the manual.

What is the Tridion Context Engine?

The SDL Tridion add-on provides Server-Side Device information for:

  • Enables the breaking down multi-device complexity into actionable groups
  • Identifies device properties such as Pixel Ratio, Width & Height, OS & Version, Type (Desktop, Mobile, Tablet), Browser properties, CSS, Javascript, HTML5 support

What is the wrapper?

The wrapper is a set of libraries in .NET (following with Java and TCDL) that can be implemented with SDL Tridion 2013 SP1 and the SDL Tridion Content Engine on a delivery website.

The Context Engine ADF cartridge derives claims based upon the incoming request. These claims are then used to conditionally change the html of the response.

The wrapper executes on the server side which can reduce the returned HTML, optimizing the bandwidth and performance for the end user. This is more optimal than client side solutions (e.g. javascript, css).

For an explanation on the ADF please see Eric Huiza's blog post: Ambient Data Framework in a Nutshell

Possible usecases for the Context Engine Wrapper

  • creating alternative structures for navigation depending upon the device type/capabilities
  • providing different content/images based upon device proportions and screen resolution
  • creating device specific application logic e,g. different form steps
  • simple, fixed, targeting

Getting the code

You can download the code from the repository

Contributing

To contribute, contact Nuno Linhares

Getting Started

To get started using the the Tridion Content Engine Wrapper you can check the Manual

Clone this wiki locally