Actions

開発者エリア/Maharaアーキテクチャインストラクション/コアコンポーネント

From Mahara Wiki

< 開発者エリア/Maharaアーキテクチャインストラクション
Revision as of 06:58, 3 December 2012 by Mits (talk | contribs) (→‎グループ)

作成中です - mits

Maharaコアでは、その構造の助けとなるいくつかのコンポーネントを提供します。Parts of these components may be pluggable using the plugin system.

ユーザ

ほとんどのシステムにはユーザが存在しますが、特にMaharaではログインせずに使用することができる機能をほとんど提供しません。コアではユーザがシステムに登録すること、および自分のアカウントを管理することができます。多くのプラグインタイプにも、ユーザの側面が適用されます。例えば、認証はユーザがどのようにシステム認証するのか、また通知はユーザがシステム内のイベントをどのように受信するのかコントロールします。

アーティファクト

Maharaにおけるコンテンツの基本単位はアーティファクト (artefact) と呼ばれます。あらゆる種類のものはアーティファクトと言えます - ブログ記事、ブログ、ファイル、プロファイル情報等。アーティファクプラグインではシステムにさらに追加することができ、プラグインタイプの中でも最も興味深いものです。あなたが「システムにXを使いしたい」と思った場合、XはWiki、カレンダー、投票等ですが、恐らく、あなたはそのためのアーティファクトプラグインを開発作成できるでしょう。

アーティファクトはユーザ、グループ、インスティテューションまたはサイト自体に属することができます。いくつかのアーティファクトはこれらの1つのコンテクストでは意味を成しますが、その他では意味を成しません - 例えば、ユーザがグループを持つことが意味を成すのに対して、Wikiを持つことは意味をなさないでしょう (意味を成す場合もありますが!)。

グループ

Maharaではユーザが特別なグループを作成することができます。Maharaにおいて、グループは複数のユーザが参加、共同作業、特定のトピックに関して議論できるスペースです。あなたがFacebookユーザである場合、「Facebookグループ」 (全く同じコンセプトです) をお考えください。グループに動作に関する様々な部分はgrouptypeプラグインを使用して設定することができます。Mahara ships with standard and course groups - the latter designed to group students, tutors and teachers in one formal place.

ビュー

The Views framework provides one of Mahara's most powerful concepts. It allows users to quickly build pages combining both their own personal artefacts with other information from outside the system, and also gives users precise control over who can see those pages when. It provides a page builder which allows users to quickly pull together content for display using drag and drop.

The blocktype plugin type provides the ability to add different types of blocks that can be added to a View. Therefore, this is also a very interesting plugin type. Mahara ships with nearly 20 block types, and they're one of the smaller APIs to deal with, making creating new ones easy. Blocktypes can either use artefacts, or simply drag in content from outside the system. The ones that use artefacts are provided along with the artefact plugins themselves normally, making blocktypes the only plugin type that can be nested within another plugin.

Mahara ships with blocks to pull in video, RSS feeds and add blocks of text. In addition, each artefact plugin has blocktypes for its content - for example, the blog plugin has blocktypes for both inserting a blog and a blog post into a View.

インスティテューション

One of Mahara's goals is to make it as easy as possible for users to interact across boundaries such as schools. As such, Mahara is designed so that an entire set of schools or institutions can use the one instance, and have all of their users work together. However, this can add challenges for support - it's desirable if one school has control over its users and can provide first level support for them. So Mahara supports the concept of institutions. They have their own administrators, themes and authentication mechanisms, and the administrators can perform basic actions such as resetting their users' passwords. This scales out all the way to a national level - the MyPortfolio service in New Zealand provides one Mahara for all schools and another for all universities across New Zealand.

前へ: Maharaアーキテクチャインストラクション

次へ: コアサブシステム