DemandHunt 海外社區機會雷達
繁中
獨立開發與工具 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 那種「一站式」框架?
  • 能做成什麼「約定優於配置」的 JS 全棧模板 + 託管(含認證、支付、郵件、後臺),賣省下的兩週。

原帖原話

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

“Sails、Nest、Blitz 都存在,但為什麼在 Node 火了這麼多年之後,沒有一個真正跑出來?”

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

需求背景與痛點

痛在哪

JS 生態選擇太多,獨立開發者花大量時間在拼裝腳手架而不是做產品。

可以做成什麼

能做成什麼

「約定優於配置」的 JS 全棧模板 + 託管(含認證、支付、郵件、後臺),賣省下的兩週。

怎麼驗證它

  1. 讀完原帖的評論區,把重複出現的具體場景記下來——重複次數就是需求的密度。
  2. 搜索「全棧框架 / 開發者體驗」相關的現有工具,確認它們只覆蓋了哪一環。
  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
打開原帖核對

同一痛點的其他討論

相關機會