So you are working on the backend for a single-page application in Pyramid and need to serialize all kinds of objects to JSON? In this post we'll work our way up from the basic JSON-serialization built into Pyramid to a powerful approach for serializing SQLAlchemy objects. Pyramid...
Lately, I've had to develop REST APIs for several projects, sometimes in Java and sometimes in Python. Web services for a typical CRUD API usually have pretty much the same elements. Sooner or later that makes you think about how to reuse your code for different REST resources. I'm...