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 »

FeatureIn DXAIn DD4TComments
Features of the models
Attribute-drivenYesYes
Support for strongly typed page modelsNoYes
Support for page regionsYes (in generic pages)Yes (in custom page models)
Link and rich text resolvingYesYes
Multiple attributes on a propertyYesNo
Search in a tree structureYesNoGood feature, but it must be made optional
Schema.org supportYesNo
Multiple schemas per viewmodelYesNo
Multiple viewmodels per schemaYes?Yes
Extensible attributesNoYesCleanup necessary
Lazy properties?NoNoEspecially in combination with ExternalContentProviders
Features of the model builder
Uses reflection only onceNoYesDD4T reads all model information only once (using reflection), and uses it many times
Independent from MVCNot sure?YesIt must be possible to use the ViewModels outside the context of MVC to facilitate testing etc
Injecting ExternalContentProvidersNoNo
Single-step approach (from json to strongly typed object)NoJava onlyNeed to test to see if this is important enough
Inject viewmodels using ModelBinderNoYes (in feature branch)Multiple ModelBinders to support various ViewModel implementations
Support for older viewmodel architectures (DXA and DD4T)NoNoImportant to offer an upgrade path for all customers!
  • No labels