5 ms·
Laravel (or any other PHP framework) also requires an "up-front install", but you don't need a framework like Django to "slap" together a Python program for web
by mtbcoder 11y ago
Laravel (or any other PHP framework) also requires an "up-front install", but you don't need a framework like Django to "slap" together a Python program for web purposes either. What you need is an understanding of what a CGI application does and how to deploy one with your favorite web server. Deploying a Python application with Apache/mod_wsgi (or nginx/uwsgi) is really no more difficult than deploying a PHP application with Apache/PHP-FPM or FastCGI.
- bitJericho 11y agoI don't think you can apt-get install python and expect to be running a webserver. But I think we can all agree that running a python web app (properly) is 10 times easier than ruby.
- mtbcoder 11y agoTrue, but by doing apt-get install php you won't be up and running either. My point was really to clarify that you don't need a full blown framework to run basic Python scripts for web programming purposes and also to state that the barrier to entry for Python isn't really that much higher than PHP.
- marrs 11y agoWith PHP you don't need any of that. All you need is to rename your index.html to index.php and re-upload. The learning curve is incredibly shallow.