微前端架构如何改变企业的开发模式与效率提升
560
2022-11-02
jsonapi 是 Django 框架中连接数据交换格式(JSON)API 的开发包
JSON-API
Django module with json-api standard support. It lets you easily add powerful api on top of your models and generate auto documentation. Module is focused on simple integration allowing developers to add features later on. Most of the functions would work out of the box.
Compared to other solutions, this project does Django model introspection. It allows to automatically query database using select_related/prefetch_related options for related resources. No more configs, if you would like to include one resource into another, you are able to do that from client side. Your client knows, when it needs it. Server in this case would perform db queries in a most efficient way.
Development
Throughput Graph
Documentation
Library: http://jsonapi.readthedocs.org/
Api Specification: http://jsonapi.org/
TODO
I'm going to migrate backend ORM to peewee soon. During development I would support Django all the time. Idea behind it is to unify framework, so it would be possible to use jsonapi with Tornado, Flask or Asyncio.
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~