1 / 7

Module Development

Module Development. Sipke Schoorstra. Session Overview. Module Development Writing Unit Tests Packaging & Publishing Creating & Using Recipes. Module Development. Orchard: Enabler of Modules Modules are comparable to MVC Areas Extend Orchard Create Web Application Specific Functionality.

chul
Download Presentation

Module Development

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Module Development Sipke Schoorstra

  2. Session Overview • Module Development • Writing Unit Tests • Packaging & Publishing • Creating & Using Recipes

  3. Module Development • Orchard: Enabler of Modules • Modules are comparable to MVC Areas • Extend Orchard • Create Web Application Specific Functionality

  4. Developing The Placeholder Module • Functional Requirements • Place content items using the Placeholder Widget • Only content items with the “PlaceablePart” can be placed • Placeable content items have a technical name so they can be referenced by code and helpers • Placeable content can be rendered with a configurable display type • Theme developers should be able to render named content items using a helper • Technical Requirements • Develop a PlaceholderPart& PlaceablePart • Create a PlaceholderWidget using the PlaceholderPart • Create an HTML Helper that renders a named content item

  5. Writing Tests • Unit Tests: Specific code units (methods) • Integration Tests: Units working together • Acceptance Tests: User stories

  6. Packaging & Publishing • Package Create <Module> <Output> • Upload to Orchard Gallery

  7. Recipes • Download Modules • Enable / Disable Features • Metadata: Content Types & Parts • Data: Content Items • Settings • Commands • Custom Steps • Execute Recipes before Setup • Execute Recipes after Setup

More Related