DEV Community

loading...

Discussion on: Frontend, backend - let's be friends again

Collapse
catmando profile image
Mitch VanDuyn

Article hit all the right points. Wish you had mentioned hyperstack.org . I recently did a little comparison of Hotwire vs Hyperstack here: medium.com/@mitch_23203/hyperstack...

The nice thing about Hyperstack is its goal is to completely bust down that barrier between front end and backend.

Collapse
andrzejkrzywda profile image
Andrzej Krzywda Author

Thank you for this comment ❤️

Indeed, I could have mentioned Hyperstack. I love all the Opal ecosystem but never found enough time to see how cool it is exactly.

Are there non-Ruby such ecosystems?

Collapse
catmando profile image
Mitch VanDuyn

For javascript there is meteor.com/

Of course I am biased as a core contributor to hyperstack but indeed it is pretty cool. You simply write the same code on client as you would on the server. Even back in the "good ole days" of HTML, you had to mix HTML with Ruby using ERB. In hyperstack you just write your front end component code (roughly like a rails partial) in Ruby. All your active record models are accessible directly on the client using the same AR API that you would on the server.

I don't think it would be possible to build such a productive system in any other language because 1 - Rails gives you so much to start with, and 2 - Ruby is so good at building clean DSLs and APIs.

Forem Open with the Forem app