Orchard CMS: Up and Running

Book description

Use your C# skills to build your next website with Orchard, the popular content management system based on ASP.NET MVC. With step-by-step guidance, you’ll learn your way around the Orchard environment by constructing a complete, real-world site throughout the course of this book. You’ll create, manage, and display dynamic content with out-of-the-box functionality, and then build themes, modules, and widgets to customize the site.

Author John Zablocki gets you started by showing you how to obtain and compile the Orchard source code, so you can more efficiently customize and manage the sites you create.

  • Create or extend Orchard content types to manage dynamic content
  • Use alternate templates to change the way Orchard displays content
  • Design a theme to define your website’s look and feel
  • Build custom modules when the Orchard Gallery doesn’t have extensions you need
  • Create reusable content pieces by creating widgets
  • Explore options for adding multi-language support to a site
  • Learn hosting options for your Orchard sites, including the cloud
  • Package your custom themes and modules to share in Orchard Gallery

Table of contents

  1. Orchard CMS: Up and Running
  2. Dedication
  3. SPECIAL OFFER: Upgrade this ebook with O’Reilly
  4. Preface
    1. About the Orchard Project
    2. Why Another .NET CMS?
    3. Audience
    4. Contents of This Book
    5. Companion Material
    6. Conventions Used in This Book
    7. Using Code Examples
    8. Safari® Books Online
    9. How to Contact Us
    10. Acknowledgments
  5. 1. Getting Started with Orchard
    1. Prerequisites
    2. Development Environment
    3. Obtaining the Orchard Solution
      1. Packaged Releases
      2. Using Source Control
    4. The Contents of the Solution
      1. Setting Up the Website
    5. Configuring Orchard for the First Time
    6. The Orchard Dashboard
      1. Creating Content
      2. Adding Widgets
      3. Orchard Modules
    7. Orchard Security
    8. Summary
  6. 2. Creating and Managing Content
    1. Bio Items
      1. Content Types
      2. Content Parts
      3. Content Fields
    2. Projections and Queries
      1. Filters
      2. Sort Criteria
    3. Layouts
    4. Event Items
      1. Content Types and Fields Continued
      2. Projections and Queries Continued
    5. Daisy’s Blog
      1. The Blog Module
    6. About Page
    7. Contact Page
    8. Home Page
    9. Zones and Layers
    10. Gallery
    11. Summary
  7. 3. Displaying Content
    1. Customizing Biography Content
      1. Content Templates
      2. Alternate Templates
      3. Customizing Events
      4. Placement Files
      5. Field Templates
      6. Shape Tracing
        1. Finding alternate templates
        2. Finding shape properties
    2. Summary
  8. 4. Creating Themes
    1. The Orchard Command-Line Interface
      1. Getting Help
    2. Code Generation Tools
      1. Code Generating a Theme
    3. The Structure of a Theme
      1. Default Content Templates
    4. Working with Views
    5. Layouts
      1. Zones and Layers
    6. Alternate Templates
      1. Theme Inheritance
      2. Basic Styling
      3. Styling Projections
      4. Shape Wrapping
    7. Theme Metadata
      1. Theme Previews
      2. Theme Credits
    8. Summary
  9. 5. Creating Modules
    1. The Places Field
      1. Getting Places Data
    2. Module Code Generation
    3. The Places Field Project
      1. Places Field Model
      2. Drivers
      3. Field Templates
      4. Settings
      5. Controllers
      6. Module Metadata
    4. Using the Places Field
      1. Creating Content with the Places Field
      2. Displaying the Places Field
    5. Summary
  10. 6. Creating Widgets
    1. Content Parts
    2. The JW Player Widget
    3. Creating the Module
      1. JW Player Model
      2. Database Migrations
      3. Handlers and Drivers
      4. Placement
      5. Enabling Our Module
      6. A Second Migration
      7. The Widget Views
      8. Adding the Widget to a Zone
      9. Widget Metadata
    4. Summary
  11. 7. Localization
    1. Orchard Site Localization
      1. Admin Localization
    2. PO Files
    3. Content Item Localization
    4. Summary
  12. 8. Maintaining Orchard Sites
    1. Packaging Themes and Modules
    2. Deploying Orchard Sites
      1. Shared Hosting
      2. Dedicated Hosting
      3. Cloud Hosting
      4. Multi-Tenancy
    3. Modules and Performance
    4. Workflow
    5. Upgrading
    6. Summary
  13. 9. Conclusion
  14. About the Author
  15. SPECIAL OFFER: Upgrade this ebook with O’Reilly
  16. Copyright

Product information

  • Title: Orchard CMS: Up and Running
  • Author(s): John Zablocki
  • Release date: May 2012
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781449339760