Ah the legacy of Rails. Active Record anti-patterns for everything.
If stuff like handling validation errors properly( ) is part of the Rails legacy then I would happily embrace it. ( ) I'm not seing that a lot from the frontend people here.
Show HN: Vue-Model – Models with HTTP Actions for Vue.js
41–46 of 46 posts
Re: Show HN: Vue-Model – Models with HTTP Actions for Vue.js
#42Earlier quoted context omitted.
Thanks for checking it out! I put a lot of work into it so it's nice to know you looked at it.
There are many better ways to manage front end state that don't actively encourage violating SOLID principles, SRP and OCP in particular. Obviously no one cares about SOLID anymore.
Re: Show HN: Vue-Model – Models with HTTP Actions for Vue.js
#43Earlier quoted context omitted.
Might be the first time I've seen the words "elegant", "simple" and "Django's ORM" in the same sentence. You could say it's easy to get started with, or do simple queries, but it's definitely not simple nor elegant.
Haha, to each their own. There is such a thing as the object-relational impedance mismatch for a reason. I'm currently learning Elixir and Phoenix and it's ORM Ecto has some really interesting ideas. Functional programming seems to map to relational databases better than object oriented does.
I've been using Django for a decade and there are simple queries that were impossible with the ORM until recently.
If you have to twist the ORM into spitting out the SQL you already know how to build, you know there's something wrong.
Re: Show HN: Vue-Model – Models with HTTP Actions for Vue.js
#44Earlier quoted context omitted.
There are many better ways to manage front end state that don't actively encourage violating SOLID principles, SRP and OCP in particular. Obviously no one cares about SOLID anymore.
Thanks for continuing to take such an interest in this! It seems like you don't like and won't ever use the project, which is perfectly ok with me.
Re: Show HN: Vue-Model – Models with HTTP Actions for Vue.js
#45Earlier quoted context omitted.
Thanks for checking it out! I put a lot of work into it so it's nice to know you looked at it.
There are many better ways to manage front end state that don't actively encourage violating SOLID principles, SRP and OCP in particular. Obviously no one cares about SOLID anymore.
Re: Show HN: Vue-Model – Models with HTTP Actions for Vue.js
#46Earlier quoted context omitted.
Thanks for continuing to take such an interest in this! It seems like you don't like and won't ever use the project, which is perfectly ok with me.
Yes I do take an interest in helping others avoid mistakes I've made in the past. It isn't really an unreasonable thing to do. I'm actually sorry that it appears this won't be of help to you.