[BangPypers] UI less Rest API server with flask

kracekumar ramaraju kracethekingmaker at gmail.com
Mon Jun 22 14:58:01 CEST 2015


The biggest problem with all rest apis except Django REST framework is no
distinction between serializer and model. Soon that will be problem for the
kind of tasks you want to do.

I don't use any framework to create apis in Flask.

I follow different approach, use schematics [1] for serialization, Flask
method view and use model methods/service layer to interact with dbs,
queues etc ...

You can find the similar example for Django in schematics example
directory, it should be easy to implement in Flask too.

[1]: http://github.com/schematics/schematics


More information about the BangPypers mailing list