I'm trying to figure out the best way to register a large number services
for my Pyramid app. I'm using the Pyramid Services library (
https://github.com/mmerickel/pyramid_services) and I'm registering all my
services within my app's *main* function. The problem that I'm starting to
realize is that all this services initialization code in my *main* function
is getting unwieldy. At this point, I'm trying to figure out a better way
to register services that's a bit more modular.

Ideally, I would like my app to automatically register services when the
given package is included in my app, however, I'm not sure on the best way
to do this. One thought I had was to use the *ApplicationCreated* event and
register the services based on this callback, but this just doesn't seem
right (plus I'm not sure Pyramid Services can register service *after* the
app has been initialized).

Thanks for any direction you can offer.

-Vincent

-- 
Vincent Catalano
Software Engineer and Web Developer,
(520).603.8944

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to