opal-jquery
jQuery for Opal (by opal)
opal-devtools
A Browser extension providing tools for developing with Opal Ruby in the browser. (by janbiedermann)
opal-jquery | opal-devtools | |
---|---|---|
5 | 1 | |
189 | 8 | |
0.0% | - | |
4.7 | 0.0 | |
4 months ago | over 2 years ago | |
Ruby | Ruby | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
opal-jquery
Posts with mentions or reviews of opal-jquery.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-22.
-
Open Source Adventures: Episode 59: What Opal Ruby is not
It's possible to build a framework on top of Opal Ruby, like notably Hypestack, which uses uses Opal and React. There are also some wrappers like opal-jquery, and I even created opal-d3 once upon a time, but I don't actively maintain it anymore.
-
Opal 1.5.0 released - compile Ruby to JS and run it in a browser
You can use opal-jquery, which is a wrapping layer over jQuery and in its API it combines the best worlds of jQuery and Ruby.
-
Using Opal Ruby with Rails 7
Next, let's refactor the code to utilize Opal jQuery in Ruby instead of plain Opal. This simplifies the code in app/assets/javascript/application.js.rb quite a bit:
-
Opal 1.3 released
Opal itself is a low-level thing, not depending on Rails whatsoever. We provide an official Gem for integration with Rails that integrates everything nicely and allows you to have .rb files in your JavaScript assets directory. Unlike Rails, Opal is not opinionated, to interface with web browser APIs properly you need to either use a library that wraps DOM directly, use a similar one that wraps jQuery or use Hyperstack, a fully-fledged Rails-integrated framework based on React that also allows you to share your models between frontend and backend. It's also possible to not use any of those and interface JavaScript APIs directly using an API that looks like this: $$[:document][:location].replace("https://opalrb.com/") or simply embed JavaScript with a backtick notation: `document.location.replace(#{@url})`.
opal-devtools
Posts with mentions or reviews of opal-devtools.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-03.
-
Opal 1.3 released
If you have source maps - things should work well (unless you strip them and minify the code). But in web console you still need to speak JavaScript (unless you have this: https://github.com/isomorfeus/opal-devtools - but I don't think it will work with the current version). Fortunately, Opal API for JavaScript is pretty straightforward, though at least a little bit verbose: https://opalrb.com/docs/guides/v1.3.1/compiled_ruby
What are some alternatives?
When comparing opal-jquery and opal-devtools you can also consider the following projects:
Opal - Ruby ♥︎ JavaScript
ajax-datatables-rails - A wrapper around DataTable's ajax methods that allow synchronization with server-side pagination in a Rails app
opal-browser - Browser support for Opal.
spec - The Ruby Spec Suite aka ruby/spec
opal-d3 - Opal wrapper library for D3 library
opal-rails - Bringing Ruby to Rails · Rails bindings for Opal
snabberb - A simple component view framework for Ruby Opal based on Snabbdom
opal-js_wrap-three - Three.JS for frontend Ruby (Opal) with almost 0 bindings
Ruby on Rails - Ruby on Rails
opal-jquery vs Opal
opal-devtools vs Opal
opal-jquery vs ajax-datatables-rails
opal-devtools vs opal-browser
opal-jquery vs opal-browser
opal-devtools vs spec
opal-jquery vs opal-d3
opal-devtools vs opal-rails
opal-jquery vs snabberb
opal-jquery vs opal-js_wrap-three
opal-jquery vs opal-rails
opal-jquery vs Ruby on Rails