On Mon, Mar 28, 2016 at 5:17 PM, David Shi <davidg...@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? -- https://mail.python.org/mailman/listinfo/python-list