Blog Post RSS ?

Blogs » PHP » Python Server Pages
 

Python Server Pages

by Harry Fuecks

Via Simon’s blogmarksPython Server Pages.

Finally!

Personally think this is great news. Up until now (ignoring third party Python projects which have tried this), mod_python has had an awkward deployment mechanism (much like mod_perl, if you know it) requiring definition of handlers, within Apache. Python Server Pages make it pretty much the same as creating PHP pages – just tell Apache to watch out for .psp files and away you go.

If you’re wondering why I’m talking about Python on a PHP blog, I don’t have a clear answer for you. Python is a very well designed language. For my tastes, perhaps most pleasant to work with, out of the dynamically typed family (e.g. Perl, PHP, JavaScript and Ruby).

As a solution for web applications, PHP has a significant head start over Python, with massive support amongst hosting providers and almost all the functionality you need “ready to go”. Also there’s a huge weight in supporting projects for PHP, as John Lim suggests here.

That said, Python comes with all those things that itch PHP developers, such as support for namespaces and an in-built (i.e. free) mechansim that stores a “compiled” form of your scripts. And things like the distutils solve many a headache for distributing your work.

So Python Server Pages is an alternative to PHP. Perhaps competition is a good thing, PHP being much like a monopoly these days.

Turns out Sterling Hughes, who’s one of PHP’s core developers, provided the basis for the PSP add-on to mod_python, as he mentioned a while back here. Et Tu, Brute? ;)

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Ping.fm
  • Twitthis

Related posts:

  1. Will Server-Side JavaScript ever catch on? Server-side JavaScript appears to be a logical choice for web...
  2. Server-side JavaScript Will Be as Common as PHP Despite the fact that JavaScript has been typecast as the...
  3. Monty Python Makes Money with Free Videos After launching an official YouTube channel, Monty Python saw DVD...
  4. Build Your Own Dev Server with VirtualBox What's the best way to test your web site on...
  5. How to Install Apache Web Server on Windows Professional web developers need a web server and Apache is...

This post has 10 responses so far

Sponsored Links

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.

Follow SitePoint on...