9 ms·
Volt: A reactive web framework where your Ruby code runs both server and client
- radicalriddler 6y agoI keep seeing a Connection Lost alert on the site that is blocking the navigation bar
- thepratt 6y agoSame. All attempts to open a websocket connection seem to result in a 502.
- midnightmonster 6y agoSeems really interesting but (alas) hasn't been updated in 5 years.
- mfkp 6y agoLooks like the author was looking for someone to take over but doesn't look like that happened: https://github.com/voltrb/volt/issues/357 https://github.com/voltrb/volt/issues/357
- phaedryx 6y agoI've heard that https://hyperstack.org/ https://hyperstack.org/ took up this mantle? Hmm, I just checked and it looks like it hasn't seen much work lately either.
- vinceguidry 6y agoHyperstack is still fairly active, it just has a very small dev team. They're responsive on their slack channel if you ever need help.
- randtrain34 6y agoIs this similar to what's behind Stimulus Reflex?
- bdcravens 6y agoIt does use websockets, like Stimulus Reflex. As for the rendering piece, it seems to be a different approach (SR is essentially dynamically rendering partials inside of a Rails view - obv I'm dramatically oversimplifying that)
- solidsnack9000 6y agoThey mention Opal and include a link; it goes to a website for a casino. Volt is a reactive web framework where your Ruby code runs both on the server and the client (via opal).
- TwelveNights 6y agoI noticed that too. The copy on the casino site is especially odd. Opal Ruby to JavaScript Compiler It is source-to-source, making it fast as a runtime. Opal includes a casino comparison compiler (which can be run in any browser), a corelib and runtime implementation. The corelib/runtime is also very small.
- mjmasn 6y agohttps://opalrb.com/ https://opalrb.com/
- lbj 6y agoIts such a great idea, but the site seems somewhat broken. I have a constant "Connection lost" banner flashing at the top. But I will say that in terms of productivity, Clojurescript/Reagent has been a real red-pill experience. Functions that compile to both back-/frontend. Seamless data-transfer via Transit (access front-end vars from the backend, no conversions - and simple cljs function compiling directly to React components is a very potent cocktail.
- chimen 6y agoI'm intrigued - what makes it a "red-pill experience" compared to a typical typescript setup for example?
- cutler 6y agoBaked-in immutability for a start. Then there's REPL-driven development, Lisp ergonomics and a real functional core. 'Tis a joy to behold.
- diggan 6y agoFor me, the real game changer is the REPL-driven workflow you get with both Clojure and ClojureScript, but it's really hard to describe the details of how it's different than hot-reloading in the React ecosystem. I've tried many times, but my explanations seems to mostly confuse people rather than enlighten them. So let's use the words of others instead, here is the best explanation I know about why the Clojure REPL rocks: https://vvvvalvalval.github.io/posts/what-makes-a-good-repl.html https://vvvvalvalval.github.io/posts/what-makes-a-good-repl.... Short version is: you can send snippets of code to your REPL from your editor, and because of the common structure of Clojure apps, you can usually evaluate content in the middle of a function without having to change any code. Basically unlimited introspection into a running program. I used to program in PHP, C#, Golang, Ruby, NodeJS/JavaScript (both backend/frontend) and some others, and no language comes close to the dev experience of Clojure. I'm sure other lisps are similar as well, but haven't used anything else than Clojure substantially.
- holtalanm 6y ago
- pdoub 6y agoIf you're looking for something similar (in terms of fullstack Ruby, but without Opal) go check out https://matestack.io https://matestack.io - recently published v1.0, small but motivated team and under active development!
- cultofmetatron 6y agoI've been loving the experience with Liveview. I'm currently working on an mvp for a client with it and its been amazing. 1. no friction thinking for thinking about communication between the frontend and backend. 2. js interop has been great. The hooks system allowed me to seamlessly plug in dropzone and stripe elements while keeping the rest of the frontend as elixir. 3. I can have the frontend pages react to pubsub channels and react to events from other parts of the system and update the page instantly. 3. super fast with SSR.
- ksec 6y agoIs latency an issue? Applications that are only used within an organisation or within a company of a local region, where Latency wont be an issue. I am wondering if say your App is hosted in US while the user is in Singapore or Japan, what the experience will be like when you have an RTT of ~200ms. Otherwise I really like the idea of LiveView / LiveWire / StimulusReflex, cant wait to see it mainstream.
- te_chris 6y agoYes, it definitely can be. LiveView will create real problems when the user is many hops from the server. I say this as someone who has gone all in, but currently we're UK based and only serving the UK market. Multi-region scaling for liveview will certainly be 'interesting'.
- ksec 6y agoThx. I really hope Phoenix team will provide a sort of default way for Multi-Region Set up. Just thinking about that complexity cause me headache.
- ecmascript 6y agoCan't you put a load balancer in front of several elixir servers? So that the load balancer can point you to whichever is closest. Then just share the database connection between these elixir servers.
- rntksi 6y agoDevelopment has stopped since 2016. Anyone has any idea why? Watching the youtube video of "Building a Todo" using Volt from 2015 brings me back to my memory of seeing the Youtube video of Rails for the first time.
- rntksi 6y agoSo after reading the github issues it seems the maintainer stopped in 2016 and since then no one continued the effort.
- m12k 6y agoI think this page should link to https://opalrb.com/ https://opalrb.com/ - the .org domain seems to be squatted by some casino.
- deleted 6y ago[deleted]
- sebyx07 6y agoIt's dead guys, last update 2016. RIP
- mark_l_watson 6y agoI experimented with Opal and Volt several years ago. It was nice but I didn’t really have a use case since I don’t do much front end development. I am primarily a Lisp developer and Ruby is close enough to being a Lisp.
- holtalanm 6y agoI think your link to opalrb is incorrect. It is going to opalrb.org which....seems to be an online gambling site. it should go to https://opalrb.com/ https://opalrb.com/
- svachalek 6y agoAh! That link was so weird. The org site even contains this... interesting statement: "Opal Ruby to JavaScript Compiler It is source-to-source, making it fast as a runtime. Opal includes a casino comparison compiler (which can be run in any browser), a corelib and runtime implementation. The corelib/runtime is also very small." Casino comparison compiler?!
- holtalanm 6y agoI just read that. That is....weird.
- deleted 6y ago[deleted]
- hugocbp 6y agoI remember being very excited about it years and years ago but, as far as I remember, the maintainer stopped updating it and nobody was up to pick the project up. Unfortunately the blog does not have dates but the last update on the repo is 5 years ago. I believe this project is basically dead. EDIT: This is the post from the maintainer I remember seeing: https://github.com/voltrb/volt/issues/357 https://github.com/voltrb/volt/issues/357
- user5994461 6y agoAn unfortunate choice of name. See Volt DB, an in-memory database that's been around for 10 years and raised $41M. Registered trademark. https://www.voltdb.com/ https://www.voltdb.com/ https://www.crunchbase.com/organization/voltdb https://www.crunchbase.com/organization/voltdb
- EgoIncarnate 6y ago(2016) and dead, last commit Jan 2016
- sealthedeal 6y agoTo me it seems way more difficult to learn how to write psudo html ruby code than it is to just write html and js. I feel like Rubyists are always doing everything they can so they dont have to write JS. i.e. Coffee Script, Opal, etc. lol
- Existenceblinks 6y agos/Rubyists/Most backend developers/
- jtms 6y agoI don't think its about avoiding Javascript as much as it is that Rubyists just really love writing Ruby, at least its that way for me. Javascript and React pays the bills now, but I was primarily a Ruby dev for a decade and I really do miss it.
- jaredcwhite 6y agoI was really excited about Opal a few years ago and the burst of activity it enjoyed for a while, but as time has passed I've become convinced that frontend code should be frugal and opt-in as much as possible. I don't want a giant wad of isomorphic code shipped to the browser. But writing frontend (and Webpack-friendly!) code in Ruby is still fun, which is why the modest ambitions of the Ruby2JS project excite me and I'm happy to contribute to that project nowadays.