|
I'm working on a Rails app as a solo project. My project is essentially a ticket-tracking system aimed at small teams (not exactly, but it's a close analogy). I'm a pretty experienced back-end developer; I've been using Rails off and on since 2005, and before that I worked with Perl and PHP. I've got a working knowledge of the front end, but it's definitely not my wheelhouse. Given that I'm working alone and not that big a fan of JS, I'm inclined to build a more traditional erb-based app returning HTML, rather than a JSON API with a separate React/Angular/Vue app consuming it. It just seems like a lot of additional complexity for a single-person project. So I'm looking around for JS frameworks to add behavior to DOM elements where needed, rather than build a whole client app. The two options I've been considering are Stimulus and Alpine. Stimulus has the Basecamp imprimatur, but doesn't seem to have gotten much adoption and the repo is getting stale. Alpine's under more active development, and has a more interesting story, but I'm leery of picking some random JS library that dies out after six months and then I've got to rewrite a bunch of my front end. Anyone here have any experience or feedback on these, or on alternatives?
|
# ¿ Jun 30, 2020 18:07 |
|
|
# ¿ Apr 29, 2024 05:02 |
|
xtal posted:I haven't used any of those but have also heard about htmx.org a lot lately Thanks, that's exactly the sort of thing I'm interested in. I'll check it out.
|
# ¿ Jun 30, 2020 18:12 |
|
Interesting. Have you tried Alpine before? It's modeled after Vue, and it's designed to do what you're using Vue to do. My hope is to keep payloads as small as possible.
|
# ¿ Jul 1, 2020 18:31 |
|
I'm working on a solo project using Rails with Docker, deploying to Heroku, mostly so I can get my feet wet with containers. My dev setup is basically having rvm and whatnot running natively on my Mac so I can run bundle and yarn to set up dependencies there, but only having a database instance inside my local container setup and only running tests and my dev server that way. I have no idea if this is a good way to do things. Any wisdom to share on developing locally with Docker?
Steely Dad fucked around with this message at 17:29 on Jul 28, 2021 |
# ¿ Jul 28, 2021 17:24 |
|
I want to obfuscate IDs in my URLs without having to either change my primary key types or add slug attributes to my models and use those. In the past, I've used the hashid gem for this and it worked well, but I see it hasn't been maintained in 4 years. Anybody else know of an actively maintained gem they like for this purpose?
|
# ¿ Jan 2, 2024 20:18 |
|
Perfect, and I'm already using Jumpstart. Thanks!
|
# ¿ Jan 2, 2024 20:42 |
|
|
# ¿ Apr 29, 2024 05:02 |
|
Interesting! Hadn't seen those before. I think I'm leaning towards the simplicity of excid3's gem, but it's good to know about this one, too.
|
# ¿ Jan 2, 2024 21:01 |