Module development
Download
1 / 7

Module Development - PowerPoint PPT Presentation


  • 125 Views
  • Uploaded on

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.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Module Development' - chul


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Module development

Module Development

Sipke Schoorstra


Session overview
Session Overview

  • Module Development

  • Writing Unit Tests

  • Packaging & Publishing

  • Creating & Using Recipes


Module development1
Module Development

  • Orchard: Enabler of Modules

  • Modules are comparable to MVC Areas

  • Extend Orchard

  • Create Web Application Specific Functionality


Developing the placeholder module
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


Writing tests
Writing Tests

  • Unit Tests: Specific code units (methods)

  • Integration Tests: Units working together

  • Acceptance Tests: User stories


Packaging publishing
Packaging & Publishing

  • Package Create <Module> <Output>

  • Upload to Orchard Gallery


Recipes
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


ad