3 ms·
2nd this: if you already know PHP: * PHP with a mature and well documented framework like laravel if you already know python * python with django :) but im
by t312227 4y ago
2nd this:
if you already know PHP:
* PHP with a mature and well documented framework like laravel
if you already know python
* python with django :)
but imho. the deployment of python webapps in general - regardless if you use django/flask/... - is sadly a bit of a pain compared to the ease of PHP...
- gnz11 4y agoDeploying PHP is only simple if you already have a web server up and running that someone else is maintaining. Otherwise deploying a PHP web app involves the same complexities as deploying a Python web app. I would even be inclined to say that deploying with gunicorn is even simpler than any PHP setup.
- thomaslord 4y agoI just took a look at Gunicorn and, while I'm probably a bit biased as a PHP developer who also maintains the infrastructure, I think setting up PHP is almost exactly the same as setting up Gunicorn. The Nginx config will look a little different, but it requires roughly the same number of lines in the config file. In both cases a first-time user will probably be doing a Google search for a tutorial and following that tutorial, and in both cases it's pretty much as simple as copy/pasting in the installation commands and then copy/pasting the Nginx config and modifying it to suit your use case. PHP has the advantage of allowing you to use shared hosting if you really want to, which is great if you're just getting started. Definitely not what I'd want to use for anything resource-intensive, but at least there's a way to build a basic site without setting up the server yourself.