EPiServer Falcon Sneak Peak Mari J rgensen Agenda Typed Pages - - PowerPoint PPT Presentation

episerver falcon sneak peak
SMART_READER_LITE
LIVE PREVIEW

EPiServer Falcon Sneak Peak Mari J rgensen Agenda Typed Pages - - PowerPoint PPT Presentation

EPiServer Falcon Sneak Peak Mari J rgensen Agenda Typed Pages Reversed Template Mapping Page Blocks MVC Templates Typed Pages De fi ning pages and properties from code Code-Defined Page Types DEMO: De fi ning a page type


slide-1
SLIDE 1

Mari Jø rgensen

EPiServer Falcon Sneak Peak

slide-2
SLIDE 2

Agenda

  • Typed Pages

– Reversed Template Mapping – Page Blocks

  • MVC Templates
slide-3
SLIDE 3

Typed Pages

Defining pages and properties from code

slide-4
SLIDE 4

Code-Defined Page Types

DEMO: Defining a page type

slide-5
SLIDE 5

Reversed template mapping Article News Page.aspx

slide-6
SLIDE 6

Reversed template mapping Article News Page.aspx MobilePage .aspx TabletPage .aspx

slide-7
SLIDE 7

Reversed template mapping

  • Instead of defining what template to use on the page

type, templates are associated to one or many page types

  • Mapped based on folder structure and namespace of

the .aspx

  • Or use attribute RenderDescriptor to specify path
slide-8
SLIDE 8

ITemplateResolver

  • Support for controlling what template is resolved at

runtime through an Initialization module

slide-9
SLIDE 9

Page Blocks

  • Grouping of properties
  • Easier to re-use property definitions
slide-10
SLIDE 10

MVC Templates

Creating a page template using MVC 3

slide-11
SLIDE 11

MVC Template and WebForms side by side

  • HierarchicalUrlRewriteProvider
slide-12
SLIDE 12

VS Integration

slide-13
SLIDE 13

Questions?