sitecore webinar pipelines and processors
DESCRIPTION
This is the slidedeck used for the Sitecore Webinar about Pipelines and Processors. More information, video and documentation can be found on: http://newguid.net/sitecore/2012/sitecore-webinar-pipelines-and-processors/TRANSCRIPT
![Page 1: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/1.jpg)
Sitecore Architecture Webinar:
Pipelines en processors
Pieter Brinkman,
Solution Architect Sitecore Netherlands
http://newguid.net/
![Page 2: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/2.jpg)
Introduction Pipelines
Introduction Processors
Demo: Create a custom processor
HttpRequestBegin Pipeline
Modifying Pipelines
Other notes
Summary
Questions
Subjects
![Page 3: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/3.jpg)
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
![Page 4: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/4.jpg)
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
![Page 5: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/5.jpg)
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!
![Page 6: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/6.jpg)
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
![Page 7: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/7.jpg)
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
![Page 8: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/8.jpg)
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
![Page 9: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/9.jpg)
Other notes
![Page 10: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/10.jpg)
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
![Page 11: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/11.jpg)
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
![Page 12: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/12.jpg)
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
/
![Page 13: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/13.jpg)
Summary
![Page 14: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/14.jpg)
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
![Page 15: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/15.jpg)
Thanks you !
Nieuwsbrief : http://www.sitecore.net/nieuwsbriefBlog : http://newguid.net/Twitter : @pieterbrink123
![Page 16: Sitecore webinar pipelines and processors](https://reader036.vdocuments.us/reader036/viewer/2022062617/54b7c0064a7959104c8b462c/html5/thumbnails/16.jpg)
Any Questions?