I have come across the section on Services in the DO documentation. Are there any examples of why and how you would use domain/session scoped services?

Thanks, Eric.

asked Feb 20 '14 at 04:02

ericmutta's gravatar image


One Answer:

Hello Eric,

we have few samples of using DO service container. However you're not obligated to use internal service API with DO. Both Domain and Session have Extensions collection which allows you to associate arbitrary objects with them.

answered Feb 20 '14 at 04:48

Denis%20Krjuchkov's gravatar image

Denis Krjuchkov

Many thanks Denis for the rapid response. I was going to ask about samples in general, but I see there's a whole site dedicated to them. It may be a good idea to put a link to the samples right on the home page like you do with the Documentation link. People evaluating DO will most likely want to see real code quickly!

(Feb 20 '14 at 05:12) ericmutta ericmutta's gravatar image

Samples are currently work-in-progress, we plan to provide full set of sample closer to 5.0 release

(Feb 21 '14 at 02:48) Denis Krjuchkov Denis%20Krjuchkov's gravatar image

Will be nice to see fully fledged samples like you had in DO3.9, like the PetShop.

(Mar 25 '14 at 02:42) Malisa Malisa's gravatar image
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview


Once you sign in you will be able to subscribe for any updates here



Asked: Feb 20 '14 at 04:02

Seen: 2,887 times

Last updated: Mar 25 '14 at 02:42

powered by OSQA