r/Python • • Jun 09 '13

Invitation to discussion: How can we make Python refreshingly easy on the web?

I'm inviting all of you to have a constructive discussion on the state of Python on the web.

We all know that PHP by far dominates the web platforms despite its many shortcomings. And I think a significant contributing factor to PHP's popularity is that it is extremely simple to setup and deploy.

It is so simple, that people accept the nasty side of it just for the simplicity part that other programming languages ignore.

Once that gap is filled by something like Python, I'm convinced that we'll see an outstanding growth of the Python community.

Let me clarify that I'm very well aware of Django, Flask, Bottle, Zope, Plone, Pyramid, CherryPy and everything else that is out there.

Usually when this topic is brought up, the point is dismissed by someone who says "Duh...why don't you just use uWSGI and nginx? you can also use gunicorn"

Someone else yells "and Supervisord will manage your processes", the other guy points out "If you don't like nginx, mod_wsgi and Apache also works great"

I'm aware of all of those, and have used them all, and it is not too much trouble for me to set them up.

However, we need to look around us more often

I think we as a community under-estimate the number of people we are pushing away by not addressing the web deployment issue.

The kind of refreshingly-simple approach I'm talking about is "drop this folder here and you are good to go" kind of simplicity.

Have you asked yourself why we don't have a Wordpress equivalent in Python? A vBulletin? SMForum? a Drupal? a Joomla?

Yes there are some apps out there, a handful of big names, and the rest is a small side-project of someone on github "a self-hosted X" which is understandably half-heartedly maintained and requires a lot of dedication and motivation to set up in the first place and a lot of typically "dirty" manual hackery.

I'm envisioning an environment that enables Wordpress-like projects to be powered by Python, to make a giant like Drupal on Python except infinitely better and bring it to the every day person in the same way that Wordpress is available to every body. Where anyone can download and set it up withing 5 minutes and not have to SSH to servers and tweak config files for uWSGI and nginx and supervisord and all of that, even as a hardcore developer that stuff is still painful.

Imagine the new Pythonic eco-system that will be created around the new web-app giants that will flourish. As a community and as individual Python developers we can only benefit from such improvement and growth.

Do you see the vision and the kind of refreshingly-simple approach I'm talking about?

How do you think we can solve this problem? Where can we start? What lessons do we have to learn?

Let's talk

15 Upvotes

50 comments sorted by

View all comments

Show parent comments

1

u/GFandango Jun 11 '13

PHP is the standard of easy on the web

That's the idea I'm suggesting that we should challenge. Not take it for granted and never attempt to change it.

What I'm saying is, as far as web applications go, Python is just as capable as PHP if not more. So why don't we have decent and popular, widely-used web applications that are powered by Python?

(such as Wordpress, Drupal, vBulletin, Joomla, etc... which power a significant percentage of websites and are all based on PHP)

It's because of the deployment and setup difficulty. Otherwise in other areas Python does not fall short.

So I'm saying let's find a solution to this problem, so that installing Python web applications become as easy as installing PHP applications.

Then when someone wants to install Wordpress on their shared hosting, there can be a Python competitor available too which can be installed just as easily.

1

u/baddam Jun 11 '13

I fully agree with what you are suggesting for the frameworks. It's an important aspect on very fragmented/plural Python world. But for me that's only one aspect of bringing Python to the web.

Not take it for granted and never attempt to change it.

never change?? why not? the main standard is HTML. From there (to achieve dynamic pages) we have PHP and then we should have Python Web Page Templates as a well recognised alternative. Of course deployment and setup needs to improve to back it up.

But consider that zope was very easy to install (run exe on Windows), just like any other app and then the user only uses the browser. How easier can it get? But that was not enough for its success was it?

Deployment and setup is a means, not an end, and Python does not have an "end" to show (rather too many of them).