Re:Choosing Ruby on Rails for web development project in 2019
by batiste on Monday June 03, 2019 @07:13AM
(#20081997)
Principally the file organisation that pretty much forces you to stick all your controllers in one single directory. If you want to create a truly modular application (think microservices) RoR defaults seemed to work against you.
[ Parent
| on HN ]
Re:Choosing Ruby on Rails for web development project in 2019
by diveanon on Tuesday June 11, 2019 @02:03AM
(#20153302)
I understand what you mean, but that is one of the trade offs when using opinionated frameworks.
I've found that a more effective way to achieve the same results as microservices is to deploy the monolith to multiple servers and have each one acting in a specialized capacity.
This tends to make testing a lot more consistent and improves code reuse dramatically.
If you really want to make it modular you could always package the functionality you want to share into gems.