Context: During peak business period, a client, specialising in developing applications that augment Shopify’s features for a vast array of stores and products faced the need for infrastructure migration. The switch from Heroku to Digital Ocean was driven by the goals of reducing operational costs and increasing both the flexibility and manageability of their infrastructure.
If you were playing a game, and it flickers on every click due to page reload, that would be a poor user experience. In this project I used the Javascript fetch API on the client side to communicate with a rails backend during game play, and request a full page reload on the start of every new game.
I recently started my foray into full-stack web development, and during the course of the past three months I’ve learnt that the web runs on forms and that modern Javascript is a joy to write but you still need a combination of different build tools. I’ve also seen quite a lot of assertions that Ruby on Rails is dead, however I find the coding by convention philosophy of Rails appealing. For a beginner, it helps you adhere to standard practices and quickly prototype ideas.