awesome-opal icon indicating copy to clipboard operation
awesome-opal copied to clipboard

[Documentation] Tutorial style intro?

Open rubyFeedback opened this issue 1 year ago • 1 comments

Would it be possible to add an "official introduction" to opal? The examples are fine but it is quite sparse, and gaining a foothold into the opal world (from ruby) is quite difficult. I know a few things but I haven't yet understood the larger context of opal. I know ruby fairly well and a tiny bit of javascript but by and large I am not an expert in javascript, so more examples, and a better tutorial - as intro - would be super helpful if anyone has some time.

Meanwhile I am going to systematically work through the links here, but a good solid intro that is not too short, would be better IMO.

rubyFeedback avatar Aug 20 '23 19:08 rubyFeedback

Check out the Opel-Rails README Usage section for a great getting started guide in a Rails 7 web application: https://github.com/opal/opal-rails

Also, check out this blog post: Using Opal Ruby with Rails 7

I heard back from people who went through that blog post, and it worked for them (though the baseball images might have changed web paths recently, so they don't work as is without modification).

Give the links above a spin.

I already contributed them to the awesome-opal project in this PR (waiting to be merged): https://github.com/fazibear/awesome-opal/pull/30

AndyObtiva avatar Aug 20 '23 21:08 AndyObtiva