Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'django.': 0.05; 'subject:Python': 0.06; 'plenty': 0.07; 'answer?': 0.09; 'framework.': 0.09; 'plug': 0.09; 'rewrite': 0.09; 'things,': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'django': 0.11; 'suggest': 0.14; '(just': 0.16; '10:00': 0.16; 'any.': 0.16; 'combinations': 0.16; 'dump': 0.16; 'fine.': 0.16; 'gpg': 0.16; 'self-host': 0.16; 'subject:RESTful': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'app': 0.19; 'thu,': 0.19; 'later': 0.20; 'cc:addr:gmail.com': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'cc:no real name:2**0': 0.24; 'options': 0.25; '>': 0.26; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'hosting': 0.29; 'rest': 0.29; '(like': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; '25,': 0.31; 'changed.': 0.31; 'there.': 0.32; 'probably': 0.32; 'stuff': 0.32; 'run': 0.32; 'url:python': 0.33; 'something': 0.35; 'one,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'there': 0.35; 'in.': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'application': 0.37; 'easily': 0.37; 'subject:new': 0.38; 'depends': 0.38; 'pm,': 0.38; 'little': 0.38; 'anything': 0.39; 'ability': 0.39; 'url:mail': 0.40; 'simple,': 0.60; 'new': 0.61; 'facebook': 0.61; 'personal': 0.63; 'today': 0.64; 'account': 0.65; 'to:addr:gmail.com': 0.65; 'charset:windows-1252': 0.65; 'subject': 0.69; 'haven\x92t': 0.84; 'it\x92s': 0.84; 'locked': 0.84; 'played': 0.84; 'road.': 0.84; 'url:tk': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=2P5BFf9d0E/UWnkQRkT2qhiN9kC2qpTGkS/zeDqLtAA=; b=k+HSSfhhj9to1tNWQKee9WLzliICeu75RlXwSv7iWg6wi0XeiKkTM4xW03LbDoaUi/ mCHdKiZXDYnQOP6EyREzppezSX4lIbqMYSzmjAcHXJe4djppD94V7Jfk2LX/yso+KWzB LnNMsXpSeXkLqyCMrFpTut8RaNBVxZqIvXUoUNx4x7nD/oE/JxvkPXchLsCLRMe+0Y7x ghzEdrnNpZh3oRngeXP6KAQ3dJ4Z2uO9HcnUGS1CY3vMZ9L1u4Kq5oLdR6/cRqQQ5yPH cv89EE/+4pcmCZo0X6wjWMiEXuzgi+6oEUUUjw1Jc/EzLAdM4rMH6VaHHHYA0QR9qkdk Lrtg== MIME-Version: 1.0 X-Received: by 10.220.248.200 with SMTP id mh8mr30446152vcb.51.1367066788061; Sat, 27 Apr 2013 05:46:28 -0700 (PDT) In-Reply-To: References: Date: Sat, 27 Apr 2013 13:46:27 +0100 Subject: Re: Python platform/framework for new RESTful web app From: =?ISO-8859-1?Q?F=E1bio_Santos?= To: =?windows-1252?Q?Chris_=93Kwpolska=94_Warrick?= Content-Type: multipart/alternative; boundary=089e013c68644992a404db570a1a Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 133 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1367066797 news.xs4all.nl 15915 [2001:888:2000:d::a6]:57159 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44450 --089e013c68644992a404db570a1a Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable For rest I would go with bottle. It's dead simple, and you can plug in anything you like. You can probably use django models as well, so you don't have to rewrite your model layer. Or django-smarter. On 27 Apr 2013 13:23, "Chris =93Kwpolska=94 Warrick" w= rote: > On Thu, Apr 25, 2013 at 10:00 PM, Eric Frederich > wrote: > > If I wanted to create a new web application (RESTful) today with Python > what > > are my options given the following requirements. > > > > * Google Account authentication > > * Facebook authentication > > * Managed hosting (like Google App Engine or Heroku) but with the > ability to > > be self-hosted later down the road. > > Plenty of combinations here. > > > I am familiar with Django (well I was a 3 years ago). > > I have played a little with web.py and like the ideas there. > > 3 years is a long time, and a lot of stuff probably changed. I > personally like Django and Flask, other people may suggest Pyramid. > > > I like the idea of using something like GAE but don't want to be locked > in. > > So go with Heroku. GAE has many GAE-specific things, while on Heroku > everything is standard and you can go self-hosted easily (just get a > DB dump and a dump of your files). > > > Is Django the answer? > > Maybe. It depends on the size of your app and if you like Django. > It=92s subject to personal opinion. > > > I think you can run Django on GAE (and obviously you can self-host it). > > Yes, it works on GAE and Heroku just fine. > > > I see there is a Django REST framework. Is this a good framework? > > Are there good Google and Facebook authentication extensions? > > That=92s, again, subject to personal opinion, and I, for one, haven=92t u= sed > any. > > -- > Kwpolska | GPG KEY: 5EAAEA16 > stop html mail | always bottom-post > http://asciiribbon.org | http://caliburn.nl/topposting.html > -- > http://mail.python.org/mailman/listinfo/python-list > --089e013c68644992a404db570a1a Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable

For rest I would go with bottle. It's dead simple, and y= ou can plug in anything you like. You can probably use django models as wel= l, so you don't have to rewrite your model layer.

Or django-smarter.

On 27 Apr 2013 13:23, "Chris =93Kwpolska=94= Warrick" <kwpolska@gmail.com= > wrote:
On Thu, Apr 25, 2013 at 10:00 PM, Eric Frederich
<eric.frederich@gmail.com> wrote:
> If I wanted to create a new web application (RESTful) today with Pytho= n what
> are my options given the following requirements.
>
> * Google Account authentication
> * Facebook authentication
> * Managed hosting (like Google App Engine or Heroku) but with the abil= ity to
> be self-hosted later down the road.

Plenty of combinations here.

> I am familiar with Django (well I was a 3 years ago).
> I have played a little with web.py and like the ideas there.

3 years is a long time, and a lot of stuff probably changed. =A0I
personally like Django and Flask, other people may suggest Pyramid.

> I like the idea of using something like GAE but don't want to be l= ocked in.

So go with Heroku. =A0GAE has many GAE-specific things, while on Heroku
everything is standard and you can go self-hosted easily (just get a
DB dump and a dump of your files).

> Is Django the answer?

Maybe. =A0It depends on the size of your app and if you like Django.
It=92s subject to personal opinion.

> I think you can run Django on GAE (and obviously you can self-host it)= .

Yes, it works on GAE and Heroku just fine.

> I see there is a Django REST framework. =A0Is this a good framework? > Are there good Google and Facebook authentication extensions?

That=92s, again, subject to personal opinion, and I, for one, haven=92t use= d any.

--
Kwpolska <
http://kwpols= ka.tk> | GPG KEY: 5EAAEA16
stop html mail =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| always bottom-post
http://asciiribbon.org= =A0 =A0 =A0 =A0| http://caliburn.nl/topposting.html
--
http://mail.python.org/mailman/listinfo/python-list
--089e013c68644992a404db570a1a--