[Konstrukt] Error in third part of tutorial?

2 views
Skip to first unread message

Thomas Allen

unread,
Apr 27, 2010, 11:22:16 AM4/27/10
to Konstrukt
The bucket example shows a factory that sets things related to PDO,
and the component discussed is working with some undefined
ContactsGateway with no further references to PDO. It doesn't make any
sense to me.

Thomas

--
You received this message because you are subscribed to the Google Groups "Konstrukt" group.
To post to this group, send email to kons...@googlegroups.com.
To unsubscribe from this group, send email to konstrukt+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/konstrukt?hl=en.

troels knak-nielsen

unread,
May 2, 2010, 3:52:19 PM5/2/10
to kons...@googlegroups.com
The tutorial builds on the previous two parts. ContactsGateway is
defined in part 1 [1]

Since ContactsGateway depends on PDO through its constructor, Bucket
will automatically fill this in at construction time, just as it will
automatically pass ContactsGateway to your component.

--
troels

[1] http://konstrukt.dk/getting-started-part1.html
Reply all
Reply to author
Forward
0 new messages