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.
Category Archives: ViewModels
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!
ViewModels in DD4T 2.0
One of the most useful novelties in DD4T 2.0 are the ViewModels. A ViewModel is a simple class, normally consisting only of properties, which is handed over to a view for rendering.
In this small series – published daily until Christmas – I will explain what view models are, how you create them and how you can use them.