Sitecore webinar pipelines and processors
-
Upload
pieter-brinkman -
Category
Technology
-
view
1.365 -
download
1
description
Transcript of Sitecore webinar pipelines and processors
Sitecore Architecture Webinar:
Pipelines en processors
Pieter Brinkman,
Solution Architect Sitecore Netherlands
http://newguid.net/
Introduction Pipelines
Introduction Processors
Demo: Create a custom processor
HttpRequestBegin Pipeline
Modifying Pipelines
Other notes
Summary
Questions
Subjects
A pipeline is a series of steps that implement an operation In other words a pipeline consists of
a chain of operations where the output of each operation is the input for the next one
Two types of pipelines in web.config: <pipelines /> Define system
processes Example; httpRequestBegin
<processors/> Define UI process Example; deleteVersionsUI
Introduction Pipelines
A pipeline is a series of steps that implement an operation In other words a pipeline consists of
a chain of operations where the output of each operation is the input for the next one
A pipeline is a series of steps that implement an operation In other words a pipeline consists of
a chain of operations where the output of each operation is the input for the next one
Introduction Processors
Step 1
Step 2
Step 3
Each step is a Processor The sequence of processors within a
pipeline is defined in web.config Each processor contains a unique
operation All steps together create a pipeline
Demo: Create a custom processor
The questionThe customer want to measure all outgoing clicks from the website.
The solutionRewrite all external links to a
click page that will measure the outgoing trafic.
Here we go!
HTTP Request Begin Pipeline
SiteResolver
IgnoreList
UserResolver
DatabaseResolverBeginDiagnosticsDeviceResolver
LanguageResolverQueryStringResolverDynamicLinkResolverAliasResolver
DefaultResolverFileResolver
LayoutResolver
ItemResolver
ExecuteRequest
MySiteResolver
MySpecialResolver
Sitecore.Context.Site
Sitecore.Context.Database
Sitecore.Context.Device
Sitecore.Context.Language
Sitecore.Context.Item
Sitecore.Context
Change <processor> type="MyClass“
Add new processor step <processor>
Defining a new Class Args contains arguments passed to all steps Include a Process() method OR Define the method attribute -- method="SetSecurity"/>
Modifying Pipelines
Use Sitecore rocks Item templates to help you create the custom processor class.
Create class with Sitecore Rocks
This will safe you time by:
Creating the class with the process method
Creating the config for you
Other notes
One day course covering:
Pipelines
Events
Extending the Editor
Scheduled tasks
All of this with Sitecore Rocks.
Available from 19 september 2012
More info: http://www.sitecore.net/nederland/Support/Training.aspx
Advanced .Net Developer training
One day course covering:
DMS Architecture
Extensive DMS API: Datamodel Page Events/Goals Tags Content profiling Engament plans
Available from 28 august 2012
More info: http://www.sitecore.net/nederland/Support/Training.aspx
DMS .Net Developer training
In September in Amsterdam Two days of inspiration and insight on all things
Sitecore!
Sitecore Symposium 2012
Register now! http://www.sitecore.net/Events/SymposiumEU2012
/
Summary
The video will be posted on Youtube and Newguid.net
All resources used for the webinar will be listed on a blogpost on Newguid.net
Links, resources and video
Thanks you !
Nieuwsbrief : http://www.sitecore.net/nieuwsbriefBlog : http://newguid.net/Twitter : @pieterbrink123
Any Questions?