SlideShare une entreprise Scribd logo
1  sur  16
Sitecore Architecture Webinar:
Pipelines en processors



                        Pieter Brinkman,
                        Solution Architect
                        Sitecore Netherlands
                        http://newguid.net/
Subjects
  Introduction Pipelines
  Introduction Processors
    Demo: Create a custom processor
    HttpRequestBegin Pipeline
    Modifying Pipelines
    Other notes
    Summary
    Questions
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
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
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!
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
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"/>
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
Other notes
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
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
SitecoreSymposium 2012
  In September in Amsterdam
     Two days of inspiration and insight on all things Sitecore!




   Register now!
      http://www.sitecore.net/Events/SymposiumEU2012/
Summary
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
Thanks you !




 Nieuwsbrief   : http://www.sitecore.net/nieuwsbrief
 Blog          : http://newguid.net/
 Twitter       : @pieterbrink123
Any Questions?

Contenu connexe

Plus de Pieter Brinkman

Plus de Pieter Brinkman (8)

Digital Experience is a teamsport - Sitecore User Group Conference keynote
Digital Experience is a teamsport - Sitecore User Group Conference keynoteDigital Experience is a teamsport - Sitecore User Group Conference keynote
Digital Experience is a teamsport - Sitecore User Group Conference keynote
 
Developer Marketing in B2B SaaS where the developer is not the buyer authorit...
Developer Marketing in B2B SaaS where the developer is not the buyer authorit...Developer Marketing in B2B SaaS where the developer is not the buyer authorit...
Developer Marketing in B2B SaaS where the developer is not the buyer authorit...
 
Why marketers are the real winners with Sitecore XM Cloud
Why marketers are the real winners with Sitecore XM CloudWhy marketers are the real winners with Sitecore XM Cloud
Why marketers are the real winners with Sitecore XM Cloud
 
Architects Guide to SaaS migration (SUGCON EU 2022 keynote)
Architects Guide to SaaS migration (SUGCON EU 2022 keynote)Architects Guide to SaaS migration (SUGCON EU 2022 keynote)
Architects Guide to SaaS migration (SUGCON EU 2022 keynote)
 
Composale DXP with MACH architecture.pptx
Composale DXP with MACH architecture.pptxComposale DXP with MACH architecture.pptx
Composale DXP with MACH architecture.pptx
 
Keynote SUGCON 2021 - Sitecore and SaaS our shared journey
Keynote SUGCON 2021 - Sitecore and SaaS our shared journeyKeynote SUGCON 2021 - Sitecore and SaaS our shared journey
Keynote SUGCON 2021 - Sitecore and SaaS our shared journey
 
Sitecore Experience Edge
Sitecore Experience EdgeSitecore Experience Edge
Sitecore Experience Edge
 
What's new in Sitecore 9.3
What's new in Sitecore 9.3What's new in Sitecore 9.3
What's new in Sitecore 9.3
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Dernier (20)

Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Sitecore webinar pipelines and processors

  • 1. Sitecore Architecture Webinar: Pipelines en processors Pieter Brinkman, Solution Architect Sitecore Netherlands http://newguid.net/
  • 2. Subjects  Introduction Pipelines  Introduction Processors  Demo: Create a custom processor  HttpRequestBegin Pipeline  Modifying Pipelines  Other notes  Summary  Questions
  • 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. 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. 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. 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. 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. 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
  • 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. 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. SitecoreSymposium 2012  In September in Amsterdam  Two days of inspiration and insight on all things Sitecore!  Register now!  http://www.sitecore.net/Events/SymposiumEU2012/
  • 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. Thanks you ! Nieuwsbrief : http://www.sitecore.net/nieuwsbrief Blog : http://newguid.net/ Twitter : @pieterbrink123