4 ms·
We love forgetting lessons we learned the hard way. With Rails we forgot that dev environments and deployments should be easy like they were with PHP. With Node
by freehunter 7y ago
We love forgetting lessons we learned the hard way. With Rails we forgot that dev environments and deployments should be easy like they were with PHP. With Node.js we forgot that programmer time is important and boilerplate can be automated like it was with Rails. We’ll see what the next popular language holds for us, and what we forget along the way.
- cutler 7y agoThat's strange because I hear of lot of "best practices" for PHP, particularly Symfony and Laravel, involve jumping on the Docker/Kubernetes bandwagon. AWS RAM prices are a joke compared with, say, Hetzner.com yet PHP authorities are to be heard recommending leaving behind that which made PHP famous - FTP-ing PHP files to a cheap web host or VPS.
- systematical 7y agoAPI Platform, a Symfony bundle (thats a library, but I guess they thought bundle sounded better), gives you a pretty verbose docker-compose.yaml to get started. I looked at it, shook my head and downloaded it. https://github.com/api-platform/api-platform https://github.com/api-platform/api-platform I'm sure they had good reasons...or they just wanted to say hey, we're modern.
- GrumpyNl 7y agoIt can be easier, just install xampp and you are up and running within a minute.
- jjeaff 7y agoI always see hetzner come up as a cheaper alternative to cloud. But why is everyone using them as a baseline for regular hosting? They don't even have a data center in the US that I can tell. Are US companies really hosting their apps in Europe? Seems like a lot of latency.
- freehunter 7y agoFTP to production is probably a bad idea, sure, but you have to be careful following best practices from people whose business depends on constantly selling you more. Whether they’re bloggers who need you to click the new article or Udemy teachers who need to sell new videos or cloud providers who need you to buy more or bigger hosting options.