On Sat, 2011-01-01 at 16:05 +0100, Andreas Jung wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> What is the canonical way for implementing a REST service based on
> Pyramid? Google mentions different approaches but is there
> something build-in in Pyramid for reuse?

Not really.  But you can assemble a "REST API" (whatever definition of
"REST API" you consider to be your particular religion) using routes
with views that have view predicates (like request_method) and a json
renderer as necessary.
 
- C


> 
> Andreas
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iQGUBAEBAgAGBQJNH0KmAAoJEADcfz7u4AZj0JMLwKg5NiaemmrWfryBS2VUuHgD
> J+WQK2gTo6EU/g5VEX8SEkhyt52LXJJB86bVIKz8LvIpLgln2rpp3WqXlbhrHtaL
> oIeI4Ns4kGcW/0KGD8issQDrluDokwxdr4FWGTsbq2SDrZfmHyWdoJlVgfqmphcJ
> hv/Ot5MsNUy2l/1fcmxONpGX+4scD54vKYy732OyudsnkdDHw3VsqDjRcMClj9q5
> XQbKwtFt2VZBHsYVReFkKmg8f/bNgLkDC+tTmql1FiBxGGA6cNJrg2BxE4QMsauz
> OotqA7cQWnOw6J2YIVi3t6SxbljxlfadwYswKqK1nEYC00OZeZid/klz4otmL45I
> gmfOMynLMoLuobNaUJf0OcyCVYw1PmDTwMf/HxZTBIpCaxEESZTJm/EvsSNhAvcm
> SVzAzIRGQqhe/Z3+Hr0WbJKXOGcREPC0wQVWvzRrli8b7UF+Y757GSOuR7hreqo1
> fEeQxHahWX7z4gqFPBSja2fWHlo0fh8=
> =44aN
> -----END PGP SIGNATURE-----
> 


-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to