Pulga is a tiny (16k only) implementation of
avalon framework container.
It is used by guara internally and some applications written on guara.
Xingu replaced excalibur by Pulga as its internal container.
Download it here.
On the first example, if you component lives on
Pulga will search for a default implementation on
So you don't have to add configuration lines on this case. Do it if you want to provide another implementation (second example).
You can supply inline configuration elements if you want, or, you can place them on separate files using a key to join the component and it's configuration (second example).