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.
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.
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.
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.
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!
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
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.
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.
Be sure to checkout stimulus reflex. It allows you to build a SPA experience with mostly Ruby code.
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.
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.
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!
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
Try out some no-code tools for validation, prototypes and MVPs.
www.webflow.com
www.bubble.io
www.bildr.com
www.draftbit.com etc
This comment was deleted a year ago.