Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105946 > unrolled thread

Re: Which are best, well-tested ways to create REST services, with Json, in Python?

Started byjustin walters <walters.justin01@gmail.com>
First post2016-03-28 21:16 -0700
Last post2016-03-28 21:16 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Which are best, well-tested ways to create REST services, with Json, in Python? justin walters <walters.justin01@gmail.com> - 2016-03-28 21:16 -0700

#105946 — Re: Which are best, well-tested ways to create REST services, with Json, in Python?

Fromjustin walters <walters.justin01@gmail.com>
Date2016-03-28 21:16 -0700
SubjectRe: Which are best, well-tested ways to create REST services, with Json, in Python?
Message-ID<mailman.128.1459224998.28225.python-list@python.org>
Hi David, once again, please reply all on this list.

I sent you a couple of step by step guides. Pleas look at the links that I
sent.

On Mon, Mar 28, 2016 at 9:12 PM, David Shi <davidgshi@yahoo.co.uk> wrote:

> Hello, Justin,
>
> Is there any official step by step guide.
>
> Send me the download link and link to Official tutorial.
>
> Regards.
>
> David
>
>
> On Tuesday, 29 March 2016, 2:35, justin walters <
> walters.justin01@gmail.com> wrote:
>
>
>
>
> On Mon, Mar 28, 2016 at 5:17 PM, David Shi <davidgshi@yahoo.co.uk> wrote:
>
> Hello, Justin,
>
> I am thinking of a fast, responsive, secure way of doing this.  Python at
> server-side.  It provides REST services.  Data exchange with the
> web--page.  Formatted XML or Json.
>
> Ideally, it uses the least code.
>
> Any excellent literature describes this?  I like articles which give
> insight into the nitty-gritty.
>
> Looking forward to hearing from you.
>
> Regards.
>
> Shao
>
>
>
>
>
> David,
>
> Please reply all on this list.
>
> My preferred method is to use Django with Django Rest Framework. Django is
> a very mature and robust framework with a ton of features. I use it in
> production for several projects and have very few issues. It includes
> middleware authentication and security features as well. You can find the
> Django documentation here: https://docs.djangoproject.com/en/1.9/. If
> you've never used Django before, I recommend going through the official
> tutorial. It is also advised to use Python 3.4+.
>
> Django rest framework is probably one of the best documented packages out
> there. You can find it's documentation here:
> http://www.django-rest-framework.org/. The official tutorial is very
> in-depth. I would recommend working through it as well. DRF includes a lot
> of functionality and multiple authentication and serialization methods.
>
>
> There are other options as well depending on the scale of your project you
> may choose to use something like flask: http://flask.pocoo.org/ with
> flask-restful and sqlalchemy.
>
> Like I said my personal recommendation is Django and DRF as it is easy to
> set up, there isn't much overhead, and it scales very well.
>
> Does that answer your question, or were you looking for more information?
>
>
>
>

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web