These are chat archives for opal/opal

10th
Nov 2014
Elia Schito
@elia
Nov 10 2014 09:12
@ryanstout I should have the original pixelmator somewhere, too bad’s not vectorial
Brian Glusman
@bglusman
Nov 10 2014 15:13
I mentioned this over in volt room, but wondering if opal is the more appropriate place to ask whether it’d be possible/practical/useful to incorporate virtual dom and/or the tools for working with it into opal or some kind of opal-extension? I’d love to work on it if so, but no idea if it’s practical or been considered already etc….
Adam Beynon
@adambeynon
Nov 10 2014 15:27
hey @bglusman - It could be incorporated, of course. We would probably need a very thin wrapper around it to handle ruby hashes => js objects for configuring the elements, but it should work fine
I did play around with an opal + reactjs bridge, which I guess is the same direction
@bglusman the reactjs bridge was actually a HAML => jsx compiler
to avoid ruby hashes => js object conversion
Elia Schito
@elia
Nov 10 2014 15:31
@adambeynon you have to to share it :)
Adam Beynon
@adambeynon
Nov 10 2014 15:41
@elia sure! it needs a lot of work, so contributions would be welcome! ;)
Elia Schito
@elia
Nov 10 2014 15:41
@adambeynon just gimme a repo :shipit:
Brian Glusman
@bglusman
Nov 10 2014 20:04
@adambeynon thanks, just curious if a useful direction to think to make volt/opal higher performance etc, not sure where/how it makes sense to consider… I don’t think react makes sense for volt, but other virtual dom wrapper might. I also just had idea this mornign to try to make volt components into general web components that can be integrated freely into rails and sinatra apps which would be awesome, but dunno how big a lift it would be :-)
Jared White
@jaredcwhite
Nov 10 2014 21:27
Just heard about RubyFire - very interested! I worked on some code a while back that provided some simple front-end controller pieces and a view-model layer that was a wrapper around KnockoutJS, but ended up putting it all on hold because I don't want to be dependent on Knockout. My overall goal was to provide a nice modular client-side framework to compliment Rails well. But I think I'll be happy now to wait to check out Fire's repo and maybe contribute any ideas if applicable at that point. :)