Feature | In DXA | In DD4T | Comments |
---|---|---|---|
Features of the models | |||
Attribute-driven | Yes | Yes | |
Support for strongly typed page models | No | Yes | |
Support for page regions | Yes (in generic pages) | Yes (in custom page models) | |
Link and rich text resolving | Yes | Yes | |
Multiple attributes on a property | Yes | No | |
Search in a tree structure | Yes | No | Good feature, but it must be made optional |
Schema.org support | Yes | No | |
Multiple schemas per viewmodel | Yes | No | |
Multiple viewmodels per schema | Yes? | Yes | |
Extensible attributes | No | Yes | Cleanup necessary |
Lazy properties? | No | No | Especially in combination with ExternalContentProviders |
Features of the model builder | |||
Uses reflection only once | No | Yes | DD4T reads all model information only once (using reflection), and uses it many times |
Independent from MVC | Not sure? | Yes | It must be possible to use the ViewModels outside the context of MVC to facilitate testing etc |
Injecting ExternalContentProviders | No | No | |
Single-step approach (from json to strongly typed object) | No | Java only | Need to test to see if this is important enough |
Inject viewmodels using ModelBinder | No | Yes (in feature branch) | Multiple ModelBinders to support various ViewModel implementations |
Support for older viewmodel architectures (DXA and DD4T) | No | No | Important to offer an upgrade path for all customers! |
General
Content
Integrations
Add Comment