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
https://forums.phpfreaks.com/topic/175636-python/
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
https://forums.phpfreaks.com/topic/175636-python/#findComment-925491
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
https://forums.phpfreaks.com/topic/175636-python/#findComment-925546
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.