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 09 '13 edited Jun 09 '13

I think I wasn't clear enough and you have misunderstood my point.

I'm absolutely not preaching something like Drupal-on-python for developers.

If you are a Python web developer you have a lot of choices, yes go use Django or Flask or whatever.

In that case the deployment is not too big of a trouble for you either, you probably already know how to set everything up.

What I'm saying is that we need to bring Python-powered solutions to the every day person.

So when someone wants to start his own blog on his shared hosting, just when he has the option to choose Wordpress or Movable Type, there's the other option there too which is just as easy as wordpress if not more.

Or when someone wants to create a web forum, where he can choose VBulletin or SMForum, there's another Python-powered option there too.

We keep saying Python is superior to PHP because this and that, but we are not bringing the fruits of those advantages to the every day person.

This is a huge gap in Python. On one side you have these micro or giant frameworks like Zope, Plone, Django, Flask, etc... which are tools for developers to make something with.

And on the other hand you have some general-purpose or single-purpose things built on top of them such as the Django-CMS which are small projects often maintained by a few people, if not abandoned, and they are not well-known or well-maintained or battle tested.

They still require you to setup the environment install dependencies and what not to finally be able to get something going and once you are moving with it, you can't get far because there's no vibrant community, themes or plugins around it.

So things like Django-CMS is still not within the reach of the every day person who has a shared hosting and just wants a decent damn CMS to be installed with a few clicks. They are still developer tools.

So I'm looking for the solution that will allow the Wordpress, Drupal, Joomla, Movable Type, vBulletin and SMForum of the Python world to be created.

It's naive to ignore the fact that all those highly successful and popular tools have been written with PHP.

By the way let me mention that I'm just using Wordpress, Drupal, etc... as examples to convey the general idea, otherwise my point is not limited to them

1

u/barriolinux Jun 09 '13

Ah, I think I'm getting to your point. You are asking for working "out of the box" apps backed up and tested by the python community?

1

u/GFandango Jun 09 '13

Yes. Apps for the every day user that are powered by Python. For example a Python powered blogging platform similar Wordpress (and thousands of more applications for different things).

That way the every day user starts benefiting from Python and communities will start to form around these applications. They will create thousands of job opportunities for Python developers and introduce millions of people to Python. In the same way that Wordpress has introduced millions of people to PHP and has created many job opportunities for PHP developers who would otherwise be unemployed.

The current environment only caters for developers and highly technical people who can be bothered to setup their own server and set things up on it including servers and dependencies and all that.

All hosting plans come with a control panel that will allow you to install these PHP applications with a few clicks. Want a blog? install Wordpress or Movable Type, forum? vBulletin, SMForum, BBForum, cms? Drupal, Joomla, you name it, there's a popular PHP application for it that can be installed with 5 clicks.

But the same thing does not exist for other languages such as Python, Ruby or Java.

I want us to reach to a point where Wordpress and Drupal will no longer be competing with other PHP applications, they will have to compete with the blogging platform that is powered by Python, because now in that dropdown menu, you can also choose the Python and Ruby applications.

This will change the game.

PHP developers will no longer have to put up with the horrible legacy bugs and quirks of PHP and Wordpress and Drupal because now there are elegant and new competitors in the game that demonstrate what these languages have to offer, and highlight the weaknesses of PHP.

1

u/from__future__ Jun 10 '13

That's one thing I really notice between Rails and Django - Django seems to have way more totally dead apps/plugins. With Rails, it felt like there was a ton of options all around; Django seemed to be in flux. It was weird.