TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: As a backend, how do you do your sideproject’s front end?

4 点作者 tiotempestade大约 5 年前
I really hate the JS ecosystem.. I’ve tried several times to adopt it and I just find the thing ugly as .... am I stuck?

2 条评论

rwoll大约 5 年前
A frontend does not require JavaScript. I&#x27;ve made quite a few useful MVPs and internal tools whose frontend solely consists of dynamically generated HTML pages served via a Python Flask server with Jinja for templating or a Go server with its native template&#x2F;html package for templating.<p>If you want to polish the UI a bit consider throwing in some simple CSS—either handrolled or prebuilt with Bootstrap or Semantic UI.<p>This reply assumes the project serves the UI over the web. For applications that are not hosted apps, I&#x27;ve had CLI tools just spin up a local server with the UI for a quick proof of concept UI.
评论 #23047847 未加载
ve55大约 5 年前
It depends on what you&#x27;re building, but I&#x27;ve managed to make a lot of nice services with pretty minimal Javascript. This is obviously not possible for many types of services, but if you do need it, you could keep trying new frameworks until you find one that really works for you, or perhaps have someone else help you out or work on the JS.
评论 #23047859 未加载