模块入门-Getting Started with Modules

This four part course will get you started with a gentle introduction to extending Orchard at the code level. You will build a very simple module which contains a widget that shows an imaginary featured product.

这个由四部分组成的课程将为您提供在代码级别扩展Orchard的温和介绍。您将构建一个非常简单的模块,其中包含一个显示虚构特色产品的小部件。

It will teach you some of the basic components of module development and also encourage you to use best-practices when developing for Orchard.

它将教您模块开发的一些基本组件,并鼓励您在开发Orchard时使用最佳实践。

  • Getting Started with Modules - Part 1 - Static Widget

  • [模块入门 - 第1部分](模块入门 - 第1部分) - 静态小工具

    This first part walks you through creating a static widget and introduces you to many of the classes that form the basis of module development in Orchard.

The second part of the course explains how you can refine the widget to implement settings that are configurable via the admin dashboard.
  • Getting Started with Modules - Part 3 - Orchard API

  • [模块入门 - 第3部分](模块入门 - 第3部分) - Orchard API

    The third part examines Orchard at an API level. You will learn how to work with content items in code and make decisions based on the values of its fields. You will also learn about some of the support classes which make this easier.

The final installment reviews the completed widget and brings to light loose ends. You take a tour back through the code, applying development best-practices along the way.

When you have completed this course you will have a solid grounding in extending Orchard via code. With this knowledge you will be able to build your own simple modules. You will also understand the concepts underpinning the documentation found elsewhere in this site and around the web. These skills lay a solid groundwork for you to continue your studies in Orchard module development.

完成本课程后,您将通过代码扩展Orchard。有了这些知识,您将能够构建自己的简单模块。您还将了解本网站其他地方和网络上找到的文档的基础概念。这些技能为您继续学习Orchard模块开发奠定了坚实的基础。