Tim Geyssens presented on creating rich and configurable datatypes in Umbraco. He demonstrated three different approaches: using a user control wrapper to create a datatype from a user control; adding data editor settings to properties for more flexibility and reuse; and using XML serialization to store complex data and output it with Razor. The goal was to show how Umbraco's built-in tools make creating powerful datatypes very easy.
12. Master ofDatatypes Data Editor Settings Add settings to your datatype More flexibility, reuse options Super Easy Mark public properties with data editor settings attribute
16. Master ofDatatypes XML Serialization Store rich data (not a single value) Xml properties (related links) UC Wrapper return xml string Custom to xml code or Serialize your object
17. Master ofDatatypes XML Serialization Not familiar with serialization 2 Helper Methods SerializationHelper ValueToXmlString(object value) ValueFromXmlString(object value, Type type)