←back to thread

105 points robbyrussell | 2 comments | | HN request time: 0s | source
Show context
kiririn ◴[] No.45073990[source]
Still maintaining a Laravel 3 project. Barely made it 2 years before maintainability became a nightmare and the only upgrade path was complete rewrite. Projects written without an opinionated framework easily sail past 10 years of comfy maintainability
replies(5): >>45074063 #>>45074210 #>>45074585 #>>45075184 #>>45076069 #
dham ◴[] No.45074063[source]
We started on Rails 3.2 and on Rails 8 now. Some upgrades were harder than others, but they never warranted anything close a rewrite.
replies(2): >>45074553 #>>45075064 #
kiririn ◴[] No.45074553[source]
Not a Ruby/Rails person, but from a quick look there are still APIs named exactly the same between those versions. Very nice to see

On the other hand, Laravel decided to change from snake_case to CamelCase between versions 3 and 4, just because. Literally 0% compatibility

replies(1): >>45074772 #
gkedzierski ◴[] No.45074772[source]
They also completely changed the project structure recently, which made 100% of previous tutorials and examples on the internet obsolete.
replies(1): >>45075439 #
1. kyleee ◴[] No.45075439[source]
Ouch, I haven’t kept up to date. Have any links explaining? Thanks
replies(1): >>45075749 #
2. gkedzierski ◴[] No.45075749[source]
https://laravel-news.com/laravel-11-directory-structure

Things which you were able to configure in the past, are now hidden. The meaning of many files (e.g. bootstrap) is now completely different. All different service provider classes are gone.