ohdang888 Posted September 26, 2009 Share Posted September 26, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/175636-python/ Share on other sites More sharing options...
waynew Posted September 26, 2009 Share Posted September 26, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/175636-python/#findComment-925491 Share on other sites More sharing options...
xcoderx Posted September 26, 2009 Share Posted September 26, 2009 Codeigniter = framework. Quote Link to comment https://forums.phpfreaks.com/topic/175636-python/#findComment-925500 Share on other sites More sharing options...
corbin Posted September 26, 2009 Share Posted September 26, 2009 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. ??? Yes, Python and PHP can be integrated. Quote Link to comment https://forums.phpfreaks.com/topic/175636-python/#findComment-925527 Share on other sites More sharing options...
RichardRotterdam Posted September 26, 2009 Share Posted September 26, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/175636-python/#findComment-925546 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.