Jump to content

python?


ohdang888

Recommended Posts

ok i'm proficient in php, and LOVE its combination of effectiveness and simplicity..

 

but I've been hearing a LOT lately about pyhton... particularly facebook's open sourcing of "Tornado" ("Tornado is a relatively simple, non-blocking Web server framework written in Python. It's designed to handle thousands of simultaneous connections, making it ideal for real-time Web services.")

 

So i'm a little confused. Can python be intergrated with a php site? And its wording is confusing as well... its a framework?? it doesn't actually handle, say for instance, form handling, user interface, etc. ???

 

Thanks

Link to comment
Share on other sites

A framework is basically just something that gives you a set of ready-made functions for generic actions such as user logins, printing out tables etc. It speeds up development (IF you know the framework) and helps enforce conventions (ex: where I put my presentation files, logic files etc). It's mostly for speeding up development though.

Link to comment
Share on other sites

This is what wikipedia says :

Tornado is a scalable, non-blocking web server and web framework.[1]

 

Seems like it's both a webserver (which would replace Apache, IIS or any other webserver) and a framework such as Django, ZF and CakePHP. As the example hello world I see python code so I don't think you can combine "Tornado" and Python. But apache can run Python fine as it is.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.