[Tutor] some web and python version questions

Russel Winder russel at winder.org.uk
Mon Mar 4 19:41:19 CET 2013


On Mon, 2013-03-04 at 17:58 +0000, Alan Gauld wrote:
[…]
> There are so many web frameworks for Python that asking which is bet is 
> rather pointless. They are all fairly good, some are very good for 
> specific tasks, others are more general. The main thing to start with is 
> pick one and learn it. You can switch later once you understand the 
> concepts but stick with one until you do.

I think it probably is worth dividing the "full stack" frameworks from
the microframeworks since although the latter can be combined with other
frameworks to emulate the former, they can serve better for some web
applications that do not need big database support.

> My personal recommendation would be either to go direct to Django
> or try CherryPy. But there are plenty of advocates for the other options 
> too. It really is less important which one you choose, rather focus on 
> understanding the concepts of  translating urls to Python methods, using 
> templates to isolate code from presentation and using databases to store 
> data. The frameworks all facilitate these features in one way or another.

Many will argue that there are better full stack frameworks, but as of
today Django is  definitely a "not wrong" proposal. Principally because
the documentation is very extensive and there is an excellent tutorial
using TDD at http://www.tdd-django-tutorial.com/

For microframeworks, Bottle is getting a lot of good press. Flask also
except that it doesn't have a Python 3 presence as far as I know just
now.


-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/tutor/attachments/20130304/22a7d5a0/attachment.pgp>


More information about the Tutor mailing list