4 ms·
I prefer rails specifically because the "hosting/running situation" for Rails is so FAR superior to that of PHP. $ git push heroku master ...done.
by colinbartlett 13y ago
I prefer rails specifically because the "hosting/running situation" for Rails is so FAR superior to that of PHP.
$ git push heroku master
...done.
- albertojgomez 13y agoyou know you can do the same with php, right? $ git push fortrabbit master ...done
- tomjen3 13y agoNot really. That only works with one host, whereas PHP works with just about any 5 dollar/month host in the world.
- jonahx 13y agoI don't really want to stand up for php, but this just isn't true. "git push heroku master" comes at a steep price. PHP hosting is, in general, ubiquitous, cheap, and incredibly easy. You can get comparable pricing for ruby hosting, but you'll be doing some server setup yourself.
- davorb 13y ago> You can get comparable pricing for ruby hosting Might I ask where?
- jonahx 13y agoeg: https://www.digitalocean.com/pricing https://www.digitalocean.com/pricing
- mehwoot 13y ago"git push heroku master" comes at a steep price. Um... what? 1 dyno is free on heroku. You host it for nothing. Am I missing something?
- coldtea 13y agoYes, that 1 dyno is not enough, and there are tons of other limitations (db use, etc).
- jonahx 13y agoyeah you're missing something, unless you're just running something low priority like a personal blog: Although an app may not require the resources of more than a single dyno, we recommend running at least 2 dynos for a production app. One reason for this is that dynos restart roughly every 24 hours, and dyno redundancy helps ensure that you don't experience excessive queueing or dropped requests while a single dyno restarts. Additionally, dynos and the processes running on them can occasionally crash, and having another dyno helps ensure that you don't have downtime while that dyno recovers. Finally, single web dynos sleep after an hour of inactivity, and having a second dyno means that all dynos will stay awake.[1] [1] https://blog.heroku.com/archives/2013/4/26/introducing_production_check https://blog.heroku.com/archives/2013/4/26/introducing_produ...
- gchucky 13y agoNot to be overly pedantic, but Heroku does also support PHP.[1] [1] https://github.com/heroku/heroku-buildpack-php https://github.com/heroku/heroku-buildpack-php