Live data from Hacker News

Show HN: Vue-Model – Models with HTTP Actions for Vue.js

github.com

41–46 of 46 posts

Re: Show HN: Vue-Model – Models with HTTP Actions for Vue.js

#41
post #24

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.

You happily embrace violations of single responsibility?

Re: Show HN: Vue-Model – Models with HTTP Actions for Vue.js

#42
post #19

Earlier 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.

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

#43
post #10

Earlier 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.

Yup, Ecto is awesome. For a project this recent, it does a lot of things right and gets out of your way when you need plain sql.

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

#44
post #42

Earlier 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.

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.

Re: Show HN: Vue-Model – Models with HTTP Actions for Vue.js

#45
post #19

Earlier 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.

For those of us who have no clue what you're talking about, could you please take the time to explain what you mean? For example, what are the better ways to manage front-end state? How does this project violate the single-responsibility and open/closed object-oriented design recommendations? Is there anything the author could do to address your concerns?

Re: Show HN: Vue-Model – Models with HTTP Actions for Vue.js

#46
post #42

Earlier 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.

Maybe you could talk more about better solutions instead of vague handy-wavey bashing?
Post reply on HN