DemandHunt 世界コミュニティの機会レーダー
日本語
開発ツール・SaaS Hacker News · 2021-10-14

JSの世界にDjango/Railsのような「全部入り」フレームワークはないのか?

Why is there no Django/Rails equivalent in the JavaScript world?

30秒でわかる要約
  • 誰がHacker News · 2021-10-14 · 52 賛成 · 82 返信
  • 何を求めているかJSの世界にDjango/Railsのような「全部入り」フレームワークはないのか?
  • 何を作れるかAn opinionated full-stack template with hosting: auth, payments, email, admin included.

元スレッドの発言

“But why none of them are getting a real traction while node.js is popular for many years now?”

— Hacker News · 2021-10-14 · news.ycombinator.com/item?id=28861970…

背景と課題

痛みのポイント

JSエコシステムは選択肢が多すぎ、個人開発者は製品作りではなく足場の組み立てに大量の時間を費やしています。

プロダクトの切り口

何を作れるか

An opinionated full-stack template with hosting: auth, payments, email, admin included.

検証のしかた

  1. スレッドの返信をすべて読み、繰り返し出てくる具体的な場面を書き出します。繰り返しこそ需要の密度です。
  2. 「full-stack / DX」関連の既存ツールを調べ、どの一部分しかカバーしていないかを確認します。
  3. 一言ランディングページを作り、Hacker News に投稿して価格を聞く人が現れるか見ます。

既存の選択肢

RedwoodJS, Blitz, Next.js + Prisma 模板

スレッドの声 · 人気コメント

人気コメントは機械翻訳です。原文は元スレッドで確認できます。

My experience having written all of the above is that JS is significantly more fragmented, and also has to deal with a frontend-backend severed line. Rails, Flask, Django (and PHP, purely server side JS that generate HTML with templates like express) are basically all "backend serving frontend and templating". Front end JS is more of a "frontend + backend with frontend serving backend" in the form of server side rendering being more akin to running a browser, loading the frontend, and then serialising that to a page. This is the complete opposite of the above. It's kind of a different mindset,

— ev1

I think it's simply that (and this is from my memory only): Node.js was THE first back-end JS thing, and its "micro" philosophy kind of set the precedent for everything else that follow in that space. It was the time when people started to feel Django/Rails are cumbersome for some of their needs, too, so the MVC approach never caught on for JS devs. So I think it's just popularity. Pick whatever tool you deem suitable!

— nhgiang

At the start of node.js, I frequently saw full web applications written in it "traditionally", fetching data and writing it into pug/haml/jade/handlebars/whatever else templates (during the callback-pyramid-hell days). It was pretty much just another stack like a less opinionated django. People used express, returned HTML, etc. Then the SPA frameworks came into the fray, and I never really saw node.js being used server side like that much anymore.

— ev1
元スレッドを開く

同じ課題の他のスレッド

関連する機会