These are chat archives for opal/opal

14th
Mar 2019
Forrest Chang
@fkchang
Mar 14 16:19
@elia saw the tweet where you're speaking about live coding a game with opal and Vue.js - I'm curious as to how that looks, any code on github?
congrats btw
Elia Schito
@elia
Mar 14 16:22
@fkchang it's based on a previews talk I did for wroclove.rb some years ago, this time I wanted to target Vue.js because the conf appens a day before a Vue conf (same venue and organizers). So I'll end up writing vue-opal (current status: WIP). The code/video of the 2016 presentation is here: https://github.com/elia/wrocloverb-2016 :smile:
and thanks! (btw :wink:)
Forrest Chang
@fkchang
Mar 14 16:28
@elia I watched that talk, I'm just curious how the Vue.js would look in opal (not having ever coded in Vue.js but aware of it)
Elia Schito
@elia
Mar 14 16:30
From what I saw Vue is super-simple and straightforward, so the basic api is really simple, that said I might add some DSL for both callbacks and templates, like the ones used by hyperstack/inesita/clearwater
Elia Schito
@elia
Mar 14 17:04
@fkchang ^
Adrian Madrid
@aemadrid
Mar 14 17:09
man, Vue in Opal would be the most awesome thing I’ve heard in quite some time
(‘I’ve tried and failed miserably …)
Elia Schito
@elia
Mar 14 17:10
@aemadrid that's good to know, any (discarded) code I can look at? just to avoid the same path…
Adrian Madrid
@aemadrid
Mar 14 17:12
nothing special
found this https://github.com/arika/opal-vue-trial and tried to play with that
but I guess I don’t know Opal and Vue internals as well as I should ;-)
but I have a lot of code with Due/VueX that I would love to change into Opal/Vue
love Hyperstack actions/store too
I would dump Vuex for that any day if I could have everything inside Opal
one complain I hear from other devs is that they hate mixing JS/Coffee/etc in a single project
if they could have one language everywhere it would be a great win
I’ll take a look later to your video
Elia Schito
@elia
Mar 14 17:26
@aemadrid the existing video is just about opal/jquery/mri (no vue there, that said, hope you enjoy it anyway :smile: )
Adrian Madrid
@aemadrid
Mar 14 17:26
cool, thx
Forrest Chang
@fkchang
Mar 14 18:47
@elia yeah, I'd be most interested in the single file component of vue.js but in opal
Mitch VanDuyn
@catmando
Mar 14 21:13
@aemadrid well let those other dev's know about hyperstack. I suspect there several 100Ks of deployed code world wide all written in Ruby. And they are right: mixing languages (and tool chains) is not as easy as people make it out. Having a single language / framework is well worth it.