Your SlideShare is downloading. ×
0
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Creating Web Parts With Connections   Scott Ruble
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Creating Web Parts With Connections Scott Ruble

1,106

Published on

Published in: Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,106
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Transcript

    • 1. Creating Web Parts with Connections
    • 2. Agenda
      • Previous Technology
      • Web Part Connections Concept
      • Connection Framework
      • Scenarios
      • Connecting Parts Demo
      • Supported Interfaces
      • Interface Details
      • Compatibility
      • Cross Page Connections
      • Connectable Microsoft Web Parts
      • Code Flow
      • Code Walk Through Demo/Lab
    • 3. Previous Technology
      • Hardwired solutions
      • Parts need intimate knowledge of each other
        • DDSC.RegisterForEvent, DDSC.RaiseEvent
        • Parameterized Hyperlinks
      • Lack of flexibility
      • Developer-driven
    • 4. Web Part Connections Concept
    • 5. Connections Framework
      • Allows Web Parts to send & receive basic types of data; e.g., Cell, Row, List, etc.
      • Uses standardized set of interfaces
      • Allows completely independent parts to connect
      • Enables end users to form connections
        • Browser
        • FrontPage
    • 6. Scenarios
      • Master/Detail
      • Parent/Child
      • Data Entry and Filter
      • Calculations
      • Alternate Views
      • Data Enhancement
    • 7. Scenarios Master Detail
    • 8. Scenarios Parent/Child
    • 9. Scenarios Data Entry and Filtering
    • 10. Scenarios Calculations
    • 11. Scenarios Alternate Views
    • 12. Scenarios Data Enhancement
    • 13. Connecting Parts
    • 14. Supported Interfaces
      • ICellProvider, ICellConsumer
      • IRowProvider, IRowConsumer
      • IListProvider, IListConsumer
      • IFilterProvider, IFilterConsumer
      • IParametersOutProvider, IParametersOutConsumer
      • IParametersInProvider, IParametersInConsumer
    • 15. Interface Details Cell Scenario
    • 16. Interface Details Cell Interfaces
      • ICellProvider
        • Events
          • CellProviderInit()
          • CellReady()
        • Event Handlers
          • CellConsumerInit()
      • ICellConsumer
        • Events
          • CellConsumerInit()
        • Event Handlers
          • CellProviderInit()
          • CellReady()
    • 17. Interface Details Row Scenario
    • 18. Interface Details Row Interfaces
      • IRowProvider
        • Events
          • RowProviderInit()
          • RowReady()
        • Event Handlers
          • None
      • IRowConsumer
        • Events
          • None
        • Event Handlers
          • RowProviderInit()
          • RowReady()
    • 19. Interface Details List Scenario
    • 20. Interface Details List Interfaces
      • IListProvider
        • Events
          • ListProviderInit()
          • ListReady()
          • PartialListReady()
        • Event Handlers
          • None
      • IListConsumer
        • Events
          • None
        • Event Handlers
          • ListProviderInit()
          • ListReady()
          • PartialListReady()
    • 21. Interface Details Filter Scenario
    • 22. Interface Details Filter Interfaces
      • IFilterProvider
        • Events
          • SetFilter()
          • ClearFilter()
          • NoFilter()
        • Event Handlers
          • FilterConsumerInit()
      • IFilterConsumer
        • Events
          • FilterConsumerInit()
        • Event Handlers
          • SetFilter()
          • ClearFilter()
          • NoFilter()
    • 23. Interface Details ParamsOut Scenario
    • 24. Interface Details ParamsOut Interfaces
      • IParmetersOutProvider
        • Events
          • ParametersOutProviderInit()
          • ParametersOutReady()
        • Event Handlers
          • None
      • IParametersOutConsumer
        • Events
          • None
        • Event Handlers
          • ParametersOutProviderInit()
          • ParametersOutReady()
    • 25. Interface Details ParamsIn Scenario IParametersOutProvider IParametersInConsumer Transformer
    • 26. Interface Details ParamsIn Interfaces
      • IParmetersInProvider
        • Events
          • ParametersInReady()
        • Event Handlers
          • ParametersInConsumerInit()
      • IParametersInConsumer
        • Events
          • ParametersInConsumerInit()
        • Event Handlers
          • ParametersInReady()
    • 27. Transformers Transformers allow different interfaces to be connected to one another. * Not supported for cross page connections. Transformer Connectable in Browser Connectable in FrontPage IRowProvider to ICellConsumer * Yes Yes IRowProvider to IFilterConsumer Yes Yes IParametersOutProvider to IParametersInConsumer No Yes IRowProvider to IParametersInConsumer No Yes
    • 28. Compatibility Interfaces Web Parts
    • 29. Compatibility Rules
      • Reciprocal pairs or transformer exist
      • MaxConnections not exceeded
      • RunAt matches
      • Connect over only one interface
      • No circular connections
    • 30. Cross Page Connections Features
      • Allow connecting parts on different pages
      • Can only be created in FrontPage
      • Certain interfaces supported
      Page 1 (Source) Page 2 (Target)
    • 31. Cross Page Connections Supported Interfaces Supported cross page connections. In some cases, a transformer is used. Source Page Interface Target Page Interface IRowProvider IFilterConsumer IRowProvider IParametersInConsumer IFilterProvider IFilterConsumer IParametersOutProvider IParametersInConsumer IParametersInProvider IParametersInConsumer
    • 32. Connectable Microsoft Parts
    • 33. Code Flow
      • EnsureInterfaces()
        • RegisterInterface()
      • CanRunAt()
      • PartCommunicationConnect()
      • PartCommunicationInit()
        • Fire Init Events; e.g., CellProviderInit()
      • PartCommunicationMain()
        • Fire Remaining Events; e.g., CellReady()
      • GetInitEventArgs()*
      *Only needed for interfaces that require transformers.
    • 34. Creating Connectable Parts Code Walk Through
    • 35. Questions?

    ×