[Groonga-commit] droonga/droonga.org at 888bb88 [gh-pages] Rewrite plugin types as operation phases

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Fri Feb 7 16:16:52 JST 2014


YUKI Hiroshi	2014-02-07 16:16:52 +0900 (Fri, 07 Feb 2014)

  New Revision: 888bb888f509c205e601e503fb082aaab155f912
  https://github.com/droonga/droonga.org/commit/888bb888f509c205e601e503fb082aaab155f912

  Message:
    Rewrite plugin types as operation phases

  Modified files:
    tutorial/plugin-development/index.md

  Modified: tutorial/plugin-development/index.md (+17 -16)
===================================================================
--- tutorial/plugin-development/index.md    2014-02-07 15:49:30 +0900 (f06cff4)
+++ tutorial/plugin-development/index.md    2014-02-07 16:16:52 +0900 (27d3ace)
@@ -25,32 +25,33 @@ Generally, data processing tasks in the real world need custom treatments of the
 
 You can use plugins in those situations.
 
-## Types of plugins
+## Pluggable operations in Droonga Engine
 
-Droonga has 4 types of plugins corresponding to the purpose of plugin.
-In other words, from the point of view of Droonga internal, the type of a plugin is distinguished by the component which the plugin is plugged in. See the [overview][] to grasp the big picture.
+In Droonga Engine, there are 4 pluggable phases for plugins.
+In other words, from the point of view of plugins, each plugin can do from 1 to 4 operations.
+See the [overview][] to grasp the big picture.
 
-AdapterPlugin
-: used to modify incoming requests and outgoing responses.
+Adaption phase
+: On this phase, a plugin can modify incoming requests and outgoing responses.
 
-HandlerPlugin
-: used for low-level data handling.
+Handling phase
+: On this phase, a plugin can do low-level data handling, for example, database operations and so on.
 
-PlannerPlugin
-: used to control internal message distribution.
+Planning phase
+: On this phase, a plugin can control internal message distribution.
 
-CollectorPlugin
-: used to control internal message collection.
+Collection phase
+: On this phase, a plugin can control internal message collection.
 
-In this tutorial, we focus on AdapterPlugin at first. This is the most "basic" plugin, so it will help you to understand the overview of Droonga plugin development.
-Then, we focus on HandlerPlugin, PlannerPlugin and CollectorPlugin in this order.
-Following this tutorial, you will learn how to write these plugins. This will be the first step to create plugins fit with your own requirements.
+In this tutorial, we focus on the adaption phase at first. This is the most "basic" usecase of plugins, so it will help you to understand the overview of Droonga plugin development.
+Then, we focus on other phases in this order.
+Following this tutorial, you will learn how to write plugins. This will be the first step to create plugins fit with your own requirements.
 
 ## How to develop plugins? How to operate requests and responses?
 
  1. [Modify requests and responses][adapter]
- 2. Process requests (under construction)
- 3. [Distribute requests and collect responses][distribute-collect]
+ 2. Handle requests (under construction)
+ 3. Distribute requests and collect responses (under construction)
 
   [basic tutorial]: ../
   [overview]: ../../overview/
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る