erlang @ Wiki
http://w.atwiki.jp/erlang/
erlang @ Wikija2007-10-19T23:29:25+09:001192804165Des_Overview
https://w.atwiki.jp/erlang/pages/37.html
The OTP Design Principles is a set of principles for how to structure Erlang code in terms of processes, modules and directories.
OTPの設計原則はErlangコードのプロセス、モジュール、ディレクトリといった項目の構築原則のセットです。
*1.Supervision Trees
supervisionツリー
A basic concept in Erlang/OTP is the supervision tree. This is a process structuring model based on the idea of workers and supervisors.
Erlang/OTPの基本的なコンセプトはsupervisionツリーです。これはworkerとsupervisiorのアイディアモデルベースのプロセス構築です。
-Workers are processes which perform computations, that is, they do the actual work.
ワーカは、計算指示を実際の動作に変換するプロセスです。
-Supervisors are processes which monitor the behaviour of workers. A supervisor can restart a worker if something goes wrong.
Supervisiorsはworkerビヘイビアのモニターをするプロセスです。supervisiorは、想定外の事が起こった場合にワーカーを再起動できます。
-The supervision tree is a hierarchical arrangement of code into supervisors and workers, making it possible to design and program fault-tolerant software.
supervisionツリーはコード内にsupervisorsとworkerの階層的引数を持ち、障害耐性の高いソフトウ 2007-10-19T23:29:25+09:001192804165OTP 設計原則 (OTP Design Principles)
https://w.atwiki.jp/erlang/pages/36.html
+ [[概要(Overview)>Des_Overview]]
++ Supervision Trees
++ Behaviours
++ Applications
++ Releases
++ Release Handling
+ [[Gen_Server Behaviour>Des_Gen_Server]]
++ Client-Server Principles
++ Example
++ Starting a Gen_Server
++ Synchronous Requests - Call
++ Asynchronous Requests - Cast
++ Stopping
++ Handling Other Messages
+ [[Gen_Fsm Behaviour]]
++ Finite State Machines
++ Example
++ Starting a Gen_Fsm
++ Notifying About Events
++ Timeouts
++ All State Events
++ Stopping
++ Handling Other Messages
+ [[Gen_Event Behaviour]]
++ Event Handling Principles
++ Example
++ Starting an Event Manager
++ Adding an Event Handler
++ Notifying About Events
++ Deleting an Event Handler
++ Stopping
+ [[Supervisor Behaviour]]
++ Supervision Principles
++ Example
++ Restart Strategy
++ Maximum Restart Frequency
++ Child Specification
++ Starting a Supervisor
++ Adding a Child Process
++ Stopping a Child Process
++ Simple-One-For-One Supervisors
++ 2007-04-15T18:40:05+09:001176630005リンク集
https://w.atwiki.jp/erlang/pages/35.html
maagrena.tripod.com
[O] これから15分でErlangを始めるための資料
http://blog.overlasting.net/2007-05-09-1.html
Erlang Land
http://www.kmonos.net/alang/etc/erlang.php
Erlang - Wikipedia
http://ja.wikipedia.org/wiki/Erlang
Thinking-in-Erlang-Japanese-version
http://www.scribd.com/doc/45477/
どう書く?org :doukaku
http://ja.doukaku.org/
リレーショナルでもオブジェクトでもない、JSONが前提のドキュメントデータベース
CouchDb Project Website
http://couchdb.org/CouchDB/CouchDBWeb.nsf/Home?OpenForm
DSAS開発者の部屋
http://dsas.blog.klab.org/
Erlang クエックブック
http://ancient.s6.xrea.com/erlang/cookbook.html
少年よ大志を抱け:Erlang
http://bba-ltom.blogspot.com/search/label/erlang
Erlangプログラミング (Erlang Programming)
基本的な使い方・構文 (Getting Started)]]
Erlnag リファレンスマニュアル (Erlang Reference Manual)]]
2008-03-04T21:05:32+09:001204632332Ports and Port Drivers
https://w.atwiki.jp/erlang/pages/34.html
1. Ports
2. Port Drivers
3. Port BIFs 2007-04-13T15:13:13+09:001176444793Compilation and Code Loading
https://w.atwiki.jp/erlang/pages/33.html
1. Compilation
2. Code Loading
3. Code Replacement 2007-04-13T15:13:01+09:001176444781Distributed Erlang
https://w.atwiki.jp/erlang/pages/32.html
1. Distributed Erlang System
2. Nodes
3. Node Connections
4. epmd
5. Hidden Nodes
6. C Nodes
7. Security
8. Distribution BIFs
9. Distribution Command Line Flags
10. Distribution Modules 2007-04-13T15:12:42+09:001176444762Processes
https://w.atwiki.jp/erlang/pages/31.html
1. Processes
2. Process Creation
3. Registered Processes
4. Process Termination
5. Message Sending
6. Links
7. Error Handling
8. Monitors
9. Process Dictionary 2007-04-13T15:12:24+09:001176444744Errors and Error Handling
https://w.atwiki.jp/erlang/pages/30.html
1. Terminology
2. Exceptions
3. Handling of Run-Time Errors in Erlang
4. Exit Reasons 2007-04-13T15:12:01+09:001176444721Records
https://w.atwiki.jp/erlang/pages/29.html
1. Defining Records
2. Creating Records
3. Accessing Record Fields
4. Updating Records
5. Records in Guards
6. Records in Patterns
7. Internal Representation of Records 2007-04-13T15:11:40+09:001176444700Macros
https://w.atwiki.jp/erlang/pages/28.html
*1. Defining and Using Macros
A macro is defined the following way:
マクロの定義は以下のようにします:
-define(Const, Replacement).
-define(Func(Var1,...,VarN), Replacement).
A macro definition can be placed anyhere among the attributes and function declarations of a module, but the definition must come before any usage of the macro.
マクロ定義はモジュールの属性と関数が出来るみたいな。しかし、定義はマクロを使う前に必要だってかんじ。
If a macro is used in several modules, it is recommended that the macro definition is placed in an include file.
もしも、マクロがseveralモジュール内でつかうなら、これはマクロ定義はインクルードファイルないにあるとrecomendされる。
A macro is used the following way:
マクロは以下のように使われる:
?Const
?Func(Arg1,...,ArgN)
Macros are expanded during compilation. A simple macro ?Const will be replaced with Replacement. Example:
マクロはコンパイル時に展開される。シンプルなマクロ?Constは置き換えられるだろう。例:
-define(TIMEOUT, 200).
...
call(Request) ->
server:call(refserver, Request, ?TIMEOUT).
This will be expanded to:
これは以下のように展開されるでしょう:
call(Request 2007-04-15T18:06:57+09:001176628017