Re:Write Fast Apps Using Async Python 3.6 and Redis
by theptip on Thursday April 27, 2017 @05:05PM
(#14214710)
Interesting, hadn't seen that yet; thanks for sharing. Does look like it'll have some nice design concepts -- I've definitely come to view Django/DRF's strong coupling to the ORM as a hinderance to architectural flexibility/sanity as my application has grown.
Interestingly it eschews Swagger/OpenAPI in favour of JSON Schema, wonder how that'll pan out; I like the promise of codegen that swagger offers, but haven't found the generated clients to be particularly usable.
Re:Write Fast Apps Using Async Python 3.6 and Redis
by tomchristie on Thursday April 27, 2017 @05:30PM
(#14214879)
One thing to clarify here. Swagger/OpenAPI use JSON Schema in order to describe parameters and response structures. The rest of the schema work will start to fall into place pretty quickly now that we've got the groundwork done. Swagger generation based on the annotations will be one of the features, but there'll be plenty more to get excited about too.
Re:Write Fast Apps Using Async Python 3.6 and Redis
by theptip on Thursday April 27, 2017 @05:34PM
(#14214911)
Isn't Swagger a subset of JSON Schema though? [1]
If APIStar happens to target the same subset, that's not a problem of course.
Re:Write Fast Apps Using Async Python 3.6 and Redis
by zebra9978 on Friday April 28, 2017 @12:04AM
(#14216797)
any particular reason you are using BSD license ? With all due respect, this does not cover a patent grant like the Apache license and could be a poison pill for companies to adopt.
Re:Write Fast Apps Using Async Python 3.6 and Redis
by tomchristie on Friday April 28, 2017 @02:04AM
(#14217166)
I just had a quick scan over the licenses of other projects used for server side projects. Projects using BSD/MIT include Node, Go, Rails, Django, and Flask.
I'm happy with the choice.
Re:Write Fast Apps Using Async Python 3.6 and Redis
by sandGorgon on Friday April 28, 2017 @04:53AM
(#14217897)
Sorry to interject - but that's not completely true. Go comes with a separate patent disclaimer.
And IMHO nodejs is not a standard BSD license and comes with patent grant. That discussion went on for a year in the TSC . https://github.com/nodejs/node/blob/master/LICENSE
In general, this stuff is not always evident. But the BSD license by itself is not as good as Apache.
While in doubt, use Apache !
P.S. fyi, doing this later is super heavy-duty hard.
It's built by Tom Christie - the original author of Django Rest Foundation.
http://discuss.apistar.org/t/how-does-api-star-fit-in-with-d...