DEV Community

Discussion on: What can developers do to speed up time to market 🚀

Collapse
 
alexlion profile image
Alex Lion

The best advice I've ever been given and I often see is: Use tools you master.

I tried to use JAMStack with serverless, it's like microservices. You use something you don't really need.
It's over-engineering.
Using React for Front + Hasura/Apollo Server for Back + Auth0 + Functions...
It adds a lot of complexity that you don't really control. I don't talk about Firebase because I don't like lock in but if you have a small app that's not going to grow in the future, it's still decent.

I use tools I master, monolith app. Rails is my go-to. I can build a MVP with builtin authentication with Devise in hours.
Gem are not like NPM you can download. It's not a package developed by a solo guy and updated 3 years ago. No.
Rails and its dependencies are battle tested by big companies like Basecamp, Github, Dev.to etc.

So, you can sleep soundly at night about the safety and robustness of your application.

All trendy topics like React, Vue... are dangerous. Remember: these technologies have been created to answer problems with huge application like Facebook. Your MVP don't need that.

Collapse
 
alexandrudanpop profile image
Alexandru-Dan Pop

Serverless - like firebase:

  • you can abstract it in a thin layer - that can be replaced later if your app is succesful
  • you focus first on the thing that matters the most - building the app & getting a project shipped

React, Vue

  • would say it would be more dangerous to go rogue and build your own SPA-like tool
  • those are battle tested technologies used by large companies.
  • they provide a declarative way to encapsulate componentes and stateful logic & I think this speeds up developent & go-to market time

the JAMStack concept:

  • app is totally decoupled from API's
  • you think about performance
  • deploy app on a CDN - very easy to do today
  • leverage external APIs before building your custom ones
Collapse
 
alexlion profile image
Alex Lion

Hi Alex,

Look at these articles about SPA I agree with:

Collapse
 
leob profile image
leob

So what's interesting is that we all agree on "don't over engineer and keep it simple" but when deciding on how to keep things simple we may end up with completely opposite solutions ...

Person one says "keep it simple, so use JAMStack and Serverless" ... :-)
Person two says "keep it simple, so don't use Serverless, use Rails" ... :-)

As we all know, keeping things simple is ... hard.

Collapse
 
pavelloz profile image
Paweł Kowalski

Gem are not like NPM you can download. It's not a package developed by a solo guy and updated 3 years ago. No.

You mean Rails, right?