4 ms·
All else being equal, how do we feel about Rails 7 vs Laravel 9 in 2022? Giving the breadth of both frameworks I am pretty certain there has to be one objective
by jstummbillig 5y ago
All else being equal, how do we feel about Rails 7 vs Laravel 9 in 2022? Giving the breadth of both frameworks I am pretty certain there has to be one objectively better choice. Which one is it? Why?
- e12e 5y agoI don't think either is objectivly better - if for no other reason than ruby and php being quite different languages. Personally I much prefer ruby - but I could perhaps see myself reaching for Laravel for a project depending on requirements.
- jmcharnes 5y agoAs a Ruby developer I resonate with this. I love a LOT about the Laravel ecosystem, but I also still really love Ruby and Rails.
- jstummbillig 5y agoWhat requirements does Laravel meet that Rails does not?
- yurishimo 5y agoMarginally cheaper/easier to deploy. Very robust queue system built in. Where you'd pay for Sidekiq in Rails, that's included in Laravel. Auth is also more streamlined since Laravel takes a stance on what the default is unlike Rails (though I admit most people just use Devise). I think PHP is still faster as a language? There are also tools available now to run Laravel apps on serverless infrastructure if that's something you don't want to mess with. I'll admit I'm biased and haven't spent much time with Rails outside of a hello world and various podcasts.
- e12e 5y agoI'm guessing it's feasible to deploy to shared hosting for example?
- FinalBriefing 5y agoI think Rail's latest take on frontend build tools is a great direction. They really messed up their Webpack integration in my opinion, and Laravel Mix isn't much better (but it is a lot easier to use). Overall, I think it would just be a matter of which language you know better.
- jstummbillig 5y agoLet's say I know neither. Which should I pick and why?