Git Product home page Git Product logo

dd4t.core's Introduction

AppVeyor

AppVeyor

DD4T.Core

DD4T - delivery framework for Microsoft.NET

Release notes for version 2.5

This release rolls up the bugfixes and stabilization and performance improvements that have been released in the various DD4T NuGet packages over the last years.

This release contains new versions of:

  • All NuGet packages that make up the .NET version of DD4T
  • The Tridion templates
  • The dd4t-cachechannel.jar (which is needed to invalidate items in the DD4T cache when they are republished or unpublished)

The Java version of DD4T is not included in this release. If you want to use DD4T in a Java web application, please use version 2.1.5. However, this version does not include support for the page regions that were introduced by SDL in SDL Tridion Sites 9.0. You can use this version in combination with the 2.5 templates.

Features / improvements introduced in this release

  • Full support for regions in Tridion 9 (see below).
  • Cache invalidation is now working properly with SDL Web 8.5 as well as Tridion 9.0 / 9.1 (see https://github.com/dd4t/DD4T.Caching.ApacheMQ for installation notes).
  • Cache invalidation now removes all dependencies on a Tridion page or component, including indirect dependencies like models
  • Cache invalidation also works for component links now. This means you can cache them for much longer. To do that, add <add key="DD4T.CacheSettings.Link" value="3600" /> to your Web.config. The value is in seconds, so this would cache links for 1 hour, but you could cache them for longer if you want because they are invalidated anyway.
  • Metadata fields on pages and templates work even if they are annotated without 'IsMetadata=true'.
  • Experience Manager implementation was optimized. You can now load the page bootstrap code (including the HTML comments required to identify the page) with the following command:
    @Model.InsertXpmPageMarkup().
    It is also possible to make fields in linked components editable, by using this command in your Razor views: @Model.Link.StartXpmEditingZone(Model)
    (assuming the property 'Link' points to a linked component).
  • Added missing DependencyMapper classes to all providers so they can now all be loaded automatically.
  • Upgraded Newtonsoft.Json to 11.0.2 for all DD4T projects

Bugs fixed in this release

Getting started with DD4T

If you want to start using DD4T yourself, please check out the Wiki.

Regions in Tridion 9

Before the introduction of page regions in Tridion 9, the concept of 'regions' of component presentations on a page was commonly implemented using a metadata field called 'region' on the metadata of the component template. In that case, the web application would group component presentations together based on this metadata field.

With DD4T 2.5 you can now upgrade your CM to Tridion 9 / 9.1 and start using regions, without having to change your web application. All you need to do is add the new template building block 'Convert regions to CT metadata' to your page templates. It will put a metadata field called region in each of the component templates, and put the name of the region in it.

dd4t.core's People

Contributors

quirijnslings avatar sshibani avatar thijsborst avatar josheinhorn avatar oskarklintrot avatar npokhare avatar praedo4 avatar ehenderiks avatar albertromkes avatar erik-henderiks avatar kpmrafeeq avatar raimondkempees avatar vouzamo avatar chrismrgn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.