This week SDL announced the release of Digital Experience Accelerator (DXA) 2.0, after already making available two “Community Technology Preview” releases last year. Among several other changes, DXA 2.0 introduces the DXA Model Service, a Content Delivery microservice supporting the R2 data model. The new release is another milestone towards fully merging DD4T and DXA, as announced at Tridion Developer Summit in 2016.
Customer Use case
Our customer had a requirement to send some HTTP headers with the last publication date of the page in it, in order to optimize browser caching. For this reason we needed to include the last published date from Tridion in our DD4T PageModel.
The DD4T ViewModel functionality lacks the option to include the last publish date. Fortunately, you can create your own attributes.
In this blog I will show you how easy it is to create a custom attribute to include the last publish date of a page in your models. Continue reading
A typical DD4T page simply displays the component presentations on that page. But what if your requirements go a little further than that? What if you are asked to show a list of all press releases in the system, and you want to retrieve them from SDL’s broker database? This article explains how you would set about to achieve this.
Version 2.1 of DD4T has seen many improvements and changes with respect to the DD4T 2.0.X branch. While most changes are compatible with 2.0.X, it is recommended to upgrade your web application to the 2.1.X version. The main reason is that the 2.0.X releases will be discontinued and active development on it has stopped. Additionally, new versions of the DD4T Template Building Blocks may push new data formats or properties to the front end and these will only be incorporated in the DD4T 2.1 branch. New implementations are further encouraged to use the latest version, even if you already have published DD4T 1.0 XML or DD4T 2.0.X / 2.1.X Json in your Broker database, in order make use of the latest support for libraries, Tridion and fixed issues.
As is tradition by now to release new full versions in the last days of the year, the end of 2017 brings again a brand new release of DD4T and it sure is by now a battle hardened, try to kill me but you won’t be able to release in full use at quite a few high volume and high load production environments.