Groups
Groups
Sign in
Groups
Groups
The BEAR Project for PHP
Conversations
About
Send feedback
Help
"はじめてのDI”
20 views
Skip to first unread message
koriym
unread,
Nov 28, 2012, 4:13:42 AM
11/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bear-p...@googlegroups.com
twitterからの引用です。
koriym:
@mackstar こちらも質問なのですが、このDIの説明は一般的なサービスオブジェクトを使うものと違って少しオリジナルな感じでの説明です。(Inside/Pull/Injection) 正しくDIが説明できているでしょうか?
http://code.google.com/p/bearsunday/wiki/my_first_di?wl=en
mackstar:
@BEARSunday 一般的のサービスオブジェクトの説明と違うのがすぐわかります。自分のインジェクトするクラスの作り方と束縛し方をの説明として理解しています。
@BEARSunday しかしなんでコンテイナーを使わない説明はどこかにあったらいいかもしれません。
koriym
unread,
Nov 28, 2012, 4:18:41 AM
11/28/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bear-p...@googlegroups.com
なぜコンテナーを使わないか(必要ないか)は「依存(必要なもの)は常に外部から代入される」 というのが最初の学習で最も重要と考えて意図的に説明してませんでした。
マニュアル(リファレンス)のDIのところで説明したらいいと思うのですがどうでしょうか。
2012年11月28日水曜日 18時13分42秒 UTC+9 koriym:
Reply all
Reply to author
Forward
0 new messages