Lurker News

Comments (438) 69 threads

Earlier comments
pm24601#
Another point that was subtly made, but needs highlighting.

If you are programming in ruby you are ONLY doing a front facing webapp. There are lots of servers out there that run headless. The ruby ecosystem is completely dominated and controlled by rails. As a result, ORM mappings and gems are completely focused on a web-response centric world.
As monolithic ruby apps are broken into microservices, ruby as a language will also be abandoned for those microservice back-ends - simply because the ruby ecosystem has only one way of viewing the world.

agentgt#
I have seen posts like this time after time of experienced developer eventually hating (opinionated and/or coupling) framework.

I too eventually came to a similar conclusion albeit on different platforms. Frameworks get you started quickly but you will eventually hate them. And I do mean framework and not library (there is a subtle but massive difference... yes the oxymoron was intentional).
Its even worse in Javascript land. You could rewrite this post and just insert one of the many Javascript frameworks like Angular.

kyledrake2 replies#
I'm not going to pretend it's better than Rails, but I implement most of my projects as Sinatra psuedo-frameworks, with Sequel for the ORM. Sequel is a solid ORM that has a reputation of being stable and reliable. Sinatra is just simple (vs easy sometimes) and I like the way it integrates routing directly. It's good enough to power Neocities anyways, and I've baked in some of the niceties you'd expect from a larger framework (such as testing).
bdcravens#
I've been doing a lot of the same recently. Super light in terms of code and very readable. When appropriate, easy to gemify and then mount in a Rails app
cyberferret#
I wonder if the author of the article above has looked into Sinatra? It seems to be the solution he is looking for, in a sense.

I have used Padrino (http://www.padrinorb.com) a lot recently, which is really a framework on top of Sinatra that make things like testing, ORMs and renderers easier to integrate into a raw Sinatra base.
I especially love that I can use 95% of gems written for Rails in it - about the only ones I can't use are the ActiveRecord specific ones. (Note: I use DataMapper in most of my projects, but looking at Sequel as the ORM for my current app).

Load more comments