SlideShare a Scribd company logo
Aanmaken Dojo property
EPISERVER CMS 7
www.patrickvankleef.com
Patrick van Kleef
• Werkzaam bij Macaw
• Arlanet
• Content management systems
• EPiServer
• 3+ jaar ervaring
• Find
• Commerce
• Community
• Umbraco
• Blog: www.patrickvankleef.com
www.patrickvankleef.com
Inleiding
• EPiServer CMS versies
• Custom property versie 6
• Custom property versie 7
• DOJO
• Scenario custom property
• Oplossingen
• Demo
www.patrickvankleef.com
EPiServer CMS
www.patrickvankleef.com
• Versie 4
• Webforms
EPiServer CMS
www.patrickvankleef.com
• Versie 5
• Webforms
EPiServer CMS
www.patrickvankleef.com
• Versie 6
• Webforms
EPiServer CMS
www.patrickvankleef.com
• Versie 7
• Inline Page editing
• DOJO
• Versie 8
• Toekomst?
EPiServer CMS (5)6 - property
• Admin mode
• PageTypeBuilder – Joel Abrahamsson
• PropertyData
• Verantwoordelijk voor opslaan en ophalen waardes
• Type
• Default waarde
• PropertyString
• Op basis van een bestaande property
• PropertyDataControl
• UI rendering
• Webforms
www.patrickvankleef.com
Page Property
Type = CustomProperty
PropertyData
CreatePropertyControl()
Opslaan & ophalen value
PropertyDataControl
UI Rendering
www.patrickvankleef.com
EPiServer CMS 7 - property
• Strongly typed page properties
• Module.config
• Configuratie widget
• Assembly
• Path
• Client resources
• EditorDescriptor
• Instellingen voor DOJO widget
• PropertyData
• Verantwoordelijk voor opslaan en ophalen waardes
• Dojo widget
• UI Rendering property
www.patrickvankleef.com
www.patrickvankleef.com
Page Property
Type = IEnumerable<string>
UIHint = “custom”
BackingType = typeof(CustomPropertyData)
EditorDescriptor
UIHint = “custom”
TargetType = IEnumerable<string>
ClientEditingClass = “app.editors.property”
DOJO Widget
Declare “app.editors.property”
DOJO Store
Contentdata
PropertyData
Name = CustomPropertyData
Type = IEnumerable<string>
Opslaan & ophalen value
DOJO
• Javascript Library
• Ondersteund door alle browsers en devices
• Modulair - AMD (Asynchronous Module Definition)
www.patrickvankleef.com
DOJO
• Classes and Extensibility
• Dojo/declare
www.patrickvankleef.com
DOJO
• Dijit UI Framework
• Form widgets
• DojoX
• Extra form widgets
• IO helpers
• WebSocket
• Charting
• Mobile solutions
www.patrickvankleef.com
Scenario contactformulier
• Pagina met een contactformulier
• Voornaam
• Achternaam
• Land
• Elk land heeft een apart e-mailadres
• E-mail versturen naar land e-mailadres
www.patrickvankleef.com
Scenario contactformulier – Oplossingen
• Oplossing 1
• Container pagina type
• Land dropdown
• E-mailadres tekstveld
• Oplossing 2
• Contact pagina type
• Land # e-mailadres tekstveld
www.patrickvankleef.com
Scenario contactformulier – Oplossingen
• Oplossing 3
• Custom DOJO property
• Landen uitlezen
• Dynamisch e-mailadres tekstvelden
• Oplossing 4
• Custom DOJO property
• Container pagina’s selecteren
www.patrickvankleef.com
Demo
www.patrickvankleef.com
Javascript Debug Files
• > EPiServer 7.6
• EPiServer.CMS.UI.Sources Nuget package
• <clientresources debug=“true” />
• Ben McKernan
• http://world.episerver.com/Blogs/Ben-
McKernan/Dates/2014/8/Uncompressed-JavaScript-for-EPiServer-76/
www.patrickvankleef.com
Bedankt
• www.patrickvankleef.com
• www.github.com/patkleef
www.patrickvankleef.com

More Related Content

Similar to EPiServer - Create dojo property

Sitecore - Onder de motorkop van ParTechIT.nl
Sitecore - Onder de motorkop van ParTechIT.nlSitecore - Onder de motorkop van ParTechIT.nl
Sitecore - Onder de motorkop van ParTechIT.nl
Ruud van Falier
 
Robot framework en Browser Library
Robot framework en Browser LibraryRobot framework en Browser Library
Robot framework en Browser Library
christiantester
 
XPages Advanced
XPages AdvancedXPages Advanced
XPages Advanced
Rob Bontekoe
 
Expert Sessie: Joomla Usability: Plugins
Expert Sessie: Joomla Usability: PluginsExpert Sessie: Joomla Usability: Plugins
Expert Sessie: Joomla Usability: Plugins
Yireo
 
Techdays 2013 NL - Serious Request met Windows Azure
Techdays 2013 NL - Serious Request met Windows AzureTechdays 2013 NL - Serious Request met Windows Azure
Techdays 2013 NL - Serious Request met Windows Azure
Michaël Hompus
 
Smartsite iXperion Redactiebasistraining
Smartsite iXperion RedactiebasistrainingSmartsite iXperion Redactiebasistraining
Smartsite iXperion Redactiebasistraining
OmegaJunior.Net
 
In2CRM versie 7 headlights
In2CRM versie 7 headlightsIn2CRM versie 7 headlights
In2CRM versie 7 headlights
rikacoma
 
PFZ Workshop - Automatiseren van functionele tests
PFZ Workshop - Automatiseren van functionele testsPFZ Workshop - Automatiseren van functionele tests
PFZ Workshop - Automatiseren van functionele testsRichard Tuin
 
Ontwikkelen in de browser
Ontwikkelen in de browserOntwikkelen in de browser
Ontwikkelen in de browser
tjercus
 
Een goede DEV omgeving opzetten
Een goede DEV omgeving opzettenEen goede DEV omgeving opzetten
Een goede DEV omgeving opzetten
Matthias Vandermaesen
 
XPages Introductie
XPages IntroductieXPages Introductie
XPages Introductie
Rob Bontekoe
 
NL Front-end Guidelines (HTML,CSS,Javascript)
NL Front-end Guidelines (HTML,CSS,Javascript)NL Front-end Guidelines (HTML,CSS,Javascript)
NL Front-end Guidelines (HTML,CSS,Javascript)
Mathijs Jong
 
New and improved ASP.NET MVC 5
New and improved ASP.NET MVC 5New and improved ASP.NET MVC 5
New and improved ASP.NET MVC 5
Maurice De Beijer [MVP]
 
Kubernetes bits n bytes
Kubernetes bits n bytesKubernetes bits n bytes
Kubernetes bits n bytes
ninckblokje
 
TYPO3 Congres 2012 - Aan de slag met TYPO3 Extbase en Fluid
TYPO3 Congres 2012 - Aan de slag met TYPO3 Extbase en FluidTYPO3 Congres 2012 - Aan de slag met TYPO3 Extbase en Fluid
TYPO3 Congres 2012 - Aan de slag met TYPO3 Extbase en Fluid
TYPO3 Nederland
 
The power of joomla!
The power of joomla!The power of joomla!
The power of joomla!
Rick Spaan
 
The power of joomla!
The power of joomla!The power of joomla!
The power of joomla!
Rick Spaan
 
Online documenten beheren
Online documenten beherenOnline documenten beheren
Online documenten beheren
cultuuroverlegco7
 

Similar to EPiServer - Create dojo property (20)

Sitecore - Onder de motorkop van ParTechIT.nl
Sitecore - Onder de motorkop van ParTechIT.nlSitecore - Onder de motorkop van ParTechIT.nl
Sitecore - Onder de motorkop van ParTechIT.nl
 
Robot framework en Browser Library
Robot framework en Browser LibraryRobot framework en Browser Library
Robot framework en Browser Library
 
XPages Advanced
XPages AdvancedXPages Advanced
XPages Advanced
 
Expert Sessie: Joomla Usability: Plugins
Expert Sessie: Joomla Usability: PluginsExpert Sessie: Joomla Usability: Plugins
Expert Sessie: Joomla Usability: Plugins
 
Techdays 2013 NL - Serious Request met Windows Azure
Techdays 2013 NL - Serious Request met Windows AzureTechdays 2013 NL - Serious Request met Windows Azure
Techdays 2013 NL - Serious Request met Windows Azure
 
Modern web development
Modern web developmentModern web development
Modern web development
 
Smartsite iXperion Redactiebasistraining
Smartsite iXperion RedactiebasistrainingSmartsite iXperion Redactiebasistraining
Smartsite iXperion Redactiebasistraining
 
In2CRM versie 7 headlights
In2CRM versie 7 headlightsIn2CRM versie 7 headlights
In2CRM versie 7 headlights
 
PFZ Workshop - Automatiseren van functionele tests
PFZ Workshop - Automatiseren van functionele testsPFZ Workshop - Automatiseren van functionele tests
PFZ Workshop - Automatiseren van functionele tests
 
Ontwikkelen in de browser
Ontwikkelen in de browserOntwikkelen in de browser
Ontwikkelen in de browser
 
Een goede DEV omgeving opzetten
Een goede DEV omgeving opzettenEen goede DEV omgeving opzetten
Een goede DEV omgeving opzetten
 
XPages Introductie
XPages IntroductieXPages Introductie
XPages Introductie
 
NL Front-end Guidelines (HTML,CSS,Javascript)
NL Front-end Guidelines (HTML,CSS,Javascript)NL Front-end Guidelines (HTML,CSS,Javascript)
NL Front-end Guidelines (HTML,CSS,Javascript)
 
New and improved ASP.NET MVC 5
New and improved ASP.NET MVC 5New and improved ASP.NET MVC 5
New and improved ASP.NET MVC 5
 
Kubernetes bits n bytes
Kubernetes bits n bytesKubernetes bits n bytes
Kubernetes bits n bytes
 
HTML5 Overview
HTML5 OverviewHTML5 Overview
HTML5 Overview
 
TYPO3 Congres 2012 - Aan de slag met TYPO3 Extbase en Fluid
TYPO3 Congres 2012 - Aan de slag met TYPO3 Extbase en FluidTYPO3 Congres 2012 - Aan de slag met TYPO3 Extbase en Fluid
TYPO3 Congres 2012 - Aan de slag met TYPO3 Extbase en Fluid
 
The power of joomla!
The power of joomla!The power of joomla!
The power of joomla!
 
The power of joomla!
The power of joomla!The power of joomla!
The power of joomla!
 
Online documenten beheren
Online documenten beherenOnline documenten beheren
Online documenten beheren
 

EPiServer - Create dojo property

  • 1. Aanmaken Dojo property EPISERVER CMS 7 www.patrickvankleef.com
  • 2. Patrick van Kleef • Werkzaam bij Macaw • Arlanet • Content management systems • EPiServer • 3+ jaar ervaring • Find • Commerce • Community • Umbraco • Blog: www.patrickvankleef.com www.patrickvankleef.com
  • 3. Inleiding • EPiServer CMS versies • Custom property versie 6 • Custom property versie 7 • DOJO • Scenario custom property • Oplossingen • Demo www.patrickvankleef.com
  • 7. EPiServer CMS www.patrickvankleef.com • Versie 7 • Inline Page editing • DOJO • Versie 8 • Toekomst?
  • 8. EPiServer CMS (5)6 - property • Admin mode • PageTypeBuilder – Joel Abrahamsson • PropertyData • Verantwoordelijk voor opslaan en ophalen waardes • Type • Default waarde • PropertyString • Op basis van een bestaande property • PropertyDataControl • UI rendering • Webforms www.patrickvankleef.com
  • 9. Page Property Type = CustomProperty PropertyData CreatePropertyControl() Opslaan & ophalen value PropertyDataControl UI Rendering www.patrickvankleef.com
  • 10. EPiServer CMS 7 - property • Strongly typed page properties • Module.config • Configuratie widget • Assembly • Path • Client resources • EditorDescriptor • Instellingen voor DOJO widget • PropertyData • Verantwoordelijk voor opslaan en ophalen waardes • Dojo widget • UI Rendering property www.patrickvankleef.com
  • 11. www.patrickvankleef.com Page Property Type = IEnumerable<string> UIHint = “custom” BackingType = typeof(CustomPropertyData) EditorDescriptor UIHint = “custom” TargetType = IEnumerable<string> ClientEditingClass = “app.editors.property” DOJO Widget Declare “app.editors.property” DOJO Store Contentdata PropertyData Name = CustomPropertyData Type = IEnumerable<string> Opslaan & ophalen value
  • 12. DOJO • Javascript Library • Ondersteund door alle browsers en devices • Modulair - AMD (Asynchronous Module Definition) www.patrickvankleef.com
  • 13. DOJO • Classes and Extensibility • Dojo/declare www.patrickvankleef.com
  • 14. DOJO • Dijit UI Framework • Form widgets • DojoX • Extra form widgets • IO helpers • WebSocket • Charting • Mobile solutions www.patrickvankleef.com
  • 15. Scenario contactformulier • Pagina met een contactformulier • Voornaam • Achternaam • Land • Elk land heeft een apart e-mailadres • E-mail versturen naar land e-mailadres www.patrickvankleef.com
  • 16. Scenario contactformulier – Oplossingen • Oplossing 1 • Container pagina type • Land dropdown • E-mailadres tekstveld • Oplossing 2 • Contact pagina type • Land # e-mailadres tekstveld www.patrickvankleef.com
  • 17. Scenario contactformulier – Oplossingen • Oplossing 3 • Custom DOJO property • Landen uitlezen • Dynamisch e-mailadres tekstvelden • Oplossing 4 • Custom DOJO property • Container pagina’s selecteren www.patrickvankleef.com
  • 19. Javascript Debug Files • > EPiServer 7.6 • EPiServer.CMS.UI.Sources Nuget package • <clientresources debug=“true” /> • Ben McKernan • http://world.episerver.com/Blogs/Ben- McKernan/Dates/2014/8/Uncompressed-JavaScript-for-EPiServer-76/ www.patrickvankleef.com

Editor's Notes

  1. http://code.tutsplus.com/tutorials/10-reasons-why-your-projects-should-use-the-dojo-toolkit--net-26072 Out-of-the-box geavanceerde form widgets Diverse style thema’s Modulair opgebouwd dus overerfen en uitbreidbaar Dojox – mobiel, form validation, IO helpers