Sitecore webinar pipelines and processors

2,584 views

Published on

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/

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,584
On SlideShare
0
From Embeds
0
Number of Embeds
875
Actions
Shares
0
Downloads
44
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Sitecore webinar pipelines and processors

  1. 1. Sitecore Architecture Webinar:Pipelines en processors Pieter Brinkman, Solution Architect Sitecore Netherlands http://newguid.net/
  2. 2. Subjects  Introduction Pipelines  Introduction Processors  Demo: Create a custom processor  HttpRequestBegin Pipeline  Modifying Pipelines  Other notes  Summary  Questions
  3. 3. 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  Two types of pipelines in web.config:  <pipelines /> Define system processes  Example; httpRequestBegin  <processors/> Define UI process  Example; deleteVersionsUI
  4. 4. Introduction Processors  A pipeline is a series of steps that implement an operation  In other words a pipeline consists of a chain of Step 1 operations where the output of each operation is the input for the next one  Each step is a Processor Step 2  The sequence of processors within a pipeline is defined in web.config  Each processor contains a unique operation Step 3  All steps together create a pipeline
  5. 5. Demo: Create a custom processor The question The customer want to measure all outgoing clicks from the website. The solution Rewrite all external links to a click page that will measure the outgoing trafic. Here we go!
  6. 6. HTTP Request Begin Pipeline IgnoreList Sitecore.Context SiteResolver MySiteResolver UserResolver Sitecore.Context.Site DatabaseResolver BeginDiagnostics DeviceResolver Sitecore.Context.Database LanguageResolver QueryStringResolver DynamicLinkResolver Sitecore.Context.Device AliasResolver DefaultResolver FileResolver Sitecore.Context.Language ItemResolver LayoutResolver MySpecialResolver Sitecore.Context.Item ExecuteRequest
  7. 7. Modifying Pipelines  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"/>
  8. 8. Create class with SitecoreRocks Use Sitecore rocks Item templates to help you create the custom processor class. This will safe you time by:  Creating the class with the process method  Creating the config for you
  9. 9. Other notes
  10. 10. Advanced .Net Developer training 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
  11. 11. DMS .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
  12. 12. SitecoreSymposium 2012  In September in Amsterdam  Two days of inspiration and insight on all things Sitecore!  Register now!  http://www.sitecore.net/Events/SymposiumEU2012/
  13. 13. Summary
  14. 14. Links, resources and video  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
  15. 15. Thanks you ! Nieuwsbrief : http://www.sitecore.net/nieuwsbrief Blog : http://newguid.net/ Twitter : @pieterbrink123
  16. 16. Any Questions?

×