In the previous article in this series, we had an in-depth look into how the ViewModels mechanism works in DD4T 2 for Java. This part covers the practical aspects and the basics on how to create your own ViewModels as well as having a look at how Tridion field types map to Java Object types.
Continue reading
Monthly Archives: December 2015
ViewModel functionality in DD4T 2.0 for Java
As Quirijn already announced eloquently in his post on ViewModels in DD4T 2.0, the idea of making it easier to build a Tridion driven website for developers by introducing the ability to use simple model classes in your MVC application serving Tridion data, is one of the biggest improvements in the DD4T framework. With the public coming-out-of-beta release of DD4T 2.0 for Java, ViewModel functionality has also been fully integrated in the Java version of the framework. This series of posts focus on how ViewModels work in DD4T 2.0 for Java.
DD4T 2.0 is released
Yesterday, the long-awaited version 2 of DD4T was released after a 3 month beta period. Compared to the beta version, the release contains some bug fixes as well as various small enhancements.
If you’re interested, check out the DD4T website.
Continue reading
ViewModels in DD4T – Number and date fields
This post is part of a series. In the previous article I explained how you can create your own ViewModels in a few minutes.
In this post we will look at number and date fields. We will also learn how to model multiple value fields and metadata fields.
How to create your own ViewModels in DD4T 2.0
This post is part of a series. In the previous article I explained what ViewModels are and why they are useful. I imagine you are all excited about this, so let’s see how you can create your own ViewModels in a few minutes!