3
8 Comments

How do you feel about learning Ruby to quickly build SPAs and digital products?

Is Ruby a good language to start out with if you want to build digital products?

  1. 3

    Digital product or SPA? Those are two different things.

    With Ruby (Rails) you can relatively* quickly build a digital product. But that's not going to give you an SPA - you'll need to also add a JavaScript framework on top of the HTML or JSON that Rails is serving.

    I think more details are needed. Is there a business requirement that requires the app to be an SPA?

    *Relative to other languages and frameworks, Rails is a fast way to build things. But if you can get away with no code tools, you should do that.

    1. 3

      But that's not going to give you an SPA - you'll need to also add a JavaScript framework

      That used to be true, but these days Rails has a Phoenix LiveView-inspired library called Stimulus Reflex. You can write your highly reactive front-end in Ruby now: https://docs.stimulusreflex.com/

      Unless you're doing something like a visualization where everything is being done on the front-end with no request to the server at all, it's usually a good fit. There's an escape hatch to interop with external JS if needed, too.

  2. 2

    Be sure to checkout stimulus reflex. It allows you to build a SPA experience with mostly Ruby code.

  3. 2

    Ruby is probably one of the quickest languages to pick up given its expressive syntax. Rails aids in scaffolding out entire web apps in no time. I made a course on the framework if you're looking to learn fast. I also have a bunch of free content on YouTube.

  4. 1

    I love Rails - my last startup codepilot.ai used Vue. When I began bootstrapping I switched to Rails the primary reason was for a one-man startup I wanted simplicity and huge ecosystem.

  5. 1

    I would say go for it, Ruby on Rails is a great framework. I personally use Python as my main language and am building a SPA so not 100% the same boat but Ruby has a strong community behind it. Being that you want to do a SPA, you might not take advantage of all of the features that Rails provides, since a lot of server side computation is offloaded to the client, but that is okay. Do what you are most comfortable with!

  6. 0

    Well you would to also need to have knowledge about JavaScript, why not Just build apps entirely with JavaScript?,, by using a framework such as VueJs or reactJs and node Js for the back

  7. 0

    Try out some no-code tools for validation, prototypes and MVPs.

    www.webflow.com
    www.bubble.io
    www.bildr.com
    www.draftbit.com etc

  8. 0

    This comment was deleted a year ago.

Trending on Indie Hackers
After 10M+ Views, 13k+ Upvotes: The Reddit Strategy That Worked for Me! 42 comments Getting first 908 Paid Signups by Spending $353 ONLY. 24 comments I talked to 8 SaaS founders, these are the most common SaaS tools they use 20 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments Hero Section Copywriting Framework that Converts 3x 12 comments Join our AI video tool demo, get a cool video back! 12 comments