File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ JavaScriptはとにかく柔軟な言語なので、こういうプラグイン
59
59
- [ ] どういう仕組み?
60
60
- [ ] どういう用途に向いている?
61
61
- [ ] どういう用途に向いていない?
62
- - [ ] この仕組みを使ってるもの
62
+ - [ ] この仕組みを使っているもの
63
63
- [ ] 実装してみよう
64
64
- [ ] エコシステム
65
65
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ ESLintのように与えられたコードを読み取ってチェックする
263
263
> これはルールからの書き換えのコマンドを` SourceCode ` というオブジェクトに集約して、最後に実際の書き換えを行うという抽象レイヤーを設けています。
264
264
> - [ Implement autofixing · Issue #3134 · eslint/eslint] ( https://github.com/eslint/eslint/issues/3134 " Implement autofixing · Issue #3134 · eslint/eslint ")
265
265
266
- ## この仕組みを使ってるもの
266
+ ## この仕組みを使っているもの
267
267
268
268
- [ azu/textlint] ( https://github.com/azu/textlint " azu/textlint ")
269
269
- テキストやMarkdownをパースしてASTにしてLintするツール
Original file line number Diff line number Diff line change @@ -180,11 +180,23 @@ Connect自体の機能は少ないため、その分_middleware_が多くある
180
180
> [ WSGI ミドルウェア] ( http://docs.pylonsproject.org/projects/pylons-webframework/en/v1.0.1rc1/concepts.html#wsgi-middleware " WSGI ミドルウェア ") より引用
181
181
182
182
183
- ## この仕組みを使ってるもの
183
+ ## この仕組みを使っているもの
184
184
185
185
- [ Express] ( http://expressjs.com/ " Express ")
186
186
- Connectと_middleware_の互換性がある
187
187
- 元々はConnectを利用していたが[ 4.0.0] ( https://github.com/strongloop/express/blob/4.0.0/History.md " 4.0.0 ") で自前の実装に変更
188
188
- [ wooorm/retext] ( https://github.com/wooorm/retext " wooorm/retext ")
189
189
- ` use ` でプラグインを登録していくテキスト処理ライブラリ
190
190
191
+ ## まとめ
192
+
193
+ ここではConnectのプラグインアーキテクチャについて学びました。
194
+
195
+ - Connectは_middleware_を使ったHTTPサーバライブラリである
196
+ - Connect自体は機能は少ない
197
+ - 複数の_middleware_を組わせてアプリケーションを作ることができる
198
+
199
+ ## 参考資料
200
+
201
+ - [ Ruby - Rack解説 - Rackの構造とRack DSL - Qiita] ( http://qiita.com/higuma/items/838f4f58bc4a0645950a#2-5 )
202
+ - [ Pylons のコンセプト — Pylons 0.9.7 documentation] ( http://docs.pylonsproject.org/projects/pylons-webframework/en/v1.0.1rc1/concepts.html )
Original file line number Diff line number Diff line change 74
74
- プラグインのアーキテクチャ
75
75
- expected : middleware
76
76
pattern :
77
- - ミドルウェア
77
+ - ミドルウェア
78
+ - expected : は
79
+ pattern : のは
80
+ - expected : 使っているもの
81
+ pattern : 使ってるもの
You can’t perform that action at this time.
0 commit comments