Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This is a list of interfaces or abstract classes in DD4T that are very commonly implemented cq. extended. 

InterfaceRationaleExamplesKnown customersPriorityNotes
ILoggerImplement a different logging mechanismSerilog, MEFEssity, EcclesiasticalHigh
IDependencyMapperAdd dependency mapping independently from any DI implementation

For custom DI implementations: read dependency mappings

For any other customization: write dependency mappings

Essity, EcclesiasticalVery High
DD4T ViewModel base attributesSee ViewModel base attributes for a complete overviewVarious extensions to the ViewModel attributesFujitsu, Essity, RicohHigh
ICacheAgentImplement a different caching mechanismRedis, serialized cache agentEssity, EcclesiasticalHigh
IPublicationResolverImplement a custom publication resolving mechanismCommon practice is to create a publication resolver wrapped around the DynamicMappingsRetriever (which isn't out of the box in DD4T). Other use cases would be to use browser settings or Geolocation. ManyLowIn Web 8 one could argue that the DynamicMappingsRetriever is always an improvement, and DXA 2.0 does not support older Tridion versions.






Overview of commonly used public classes / methods

This is a list of public classes and methods in DD4T that are very commonly used in customer implementations.


ClassMethodRationaleKnown customersPriorityNotes
DD4T.DI.Autofac.BootstrapUseDD4TSet DD4T default wiringManyMediumIf we rename this, it must be included in the release notes. Also note that any custom DI implementation also implements a method with the same name and signature.
DD4T.DI.UnityUseDD4TSet DD4T default wiringSomeMediumSee above
DD4T.DI.NinjectUseDD4TSet DD4T default wiringSomeMediumSee above
DD4T ViewModel attributesSee ViewModel Attributes for a complete overviewSupport existing customer ViewModel classesManyVery high






  • No labels