This is really cool.  After needing to implement "login" as both a form and
a JSON api, can totally see the use-case for this.

On Tue, Feb 17, 2015 at 2:34 AM, Michael Merickel <[email protected]>
wrote:

> Hey everyone,
>
> I've been using some patterns within Pyramid for a while to create
> service layers in my web apps. They allow me to keep all database
> connections and queries and any other business logic out of my views,
> and even off of the request object. I've packaged these helpers into a
> small library named pyramid_services.
>
> The library boils down to basically 2 methods.
> `config.register_service_factory()` and `request.find_service()` and
> it can be used with zope interfaces to lookup objects, or with simple
> strings as well.
>
> https://pypi.python.org/pypi/pyramid_services
> https://github.com/mmerickel/pyramid_services
>
> I hope you find it useful.
>
> - Michael Merickel
>
> --
> 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.
>

-- 
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