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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How to approach Front-End development if you hate it?

17 点作者 johnpython超过 7 年前
How can software engineers who hate front-end development acquire the necessary front-end skills with the least amount of effort?

5 条评论

artpar超过 7 年前
Here is what I do:<p>- Make sure you know what you want to make<p>For smaller pages (one page sites, not SPA):<p>- Use one of bootstrap&#x2F;semanticui, include their dist files directly (dont get into the npm&#x2F;gulp&#x2F;bower yet)<p>- Use their kitchen sink to pick up components (both bootstap&#x2F;semanticui have loads of examples)<p>- Include JS dependencies the old way (copy the min.js manually in your project), keep try to keep this number low<p>- Try to avoid using frontend frameworks for these (say vue&#x2F;angular&#x2F;react)<p>For slightly larger sites (SPAs&#x2F;Multiple page sites)<p>- Choose one particular frontend framework and stick to it (the productivity gain does not come from using a tool, it comes from using a tool repeatedly)<p>- Get the closest looking template from somewhere in above chosen tech (i usually pick one from <a href="https:&#x2F;&#x2F;themeforest.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;themeforest.net&#x2F;</a> but there are many free resources, like AdminLTE etc)<p>- Make sure it already has the build&#x2F;minify pipeline setup (most of them have it)<p>- Adapt it to your needs
评论 #15392722 未加载
jrowley超过 7 年前
In addition to what artpar, commented, I&#x27;d say take it slow and try to appreciate the browser as a dev environment. There are a lot of interesting APIs&#x2F;technologies available today, e.g. Service Workers, grid layout, geolocation api, etc. You probably won&#x27;t need to use them for work, but they are still interesting.<p>2nd) if you have to use a framework (say react), learn to appreciate what it does for you. Try to understand what it is accomplishing and don&#x27;t be too afraid of jargon. It&#x27;s a steep hill, so you&#x27;ll need patience and perseverance, but it gets better, and there is some world class, creative, software engineering going on in js framework these days.<p>addendum:<p>I don&#x27;t recommend you spend a lot of time checking this out now, but react boilerplate is an impressive example of a modern frontend js stack. Tons of frameworks, and very possibly too much too soon, but it&#x27;s pretty well designed and documented, and has a nice supportive community.<p><a href="https:&#x2F;&#x2F;www.reactboilerplate.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reactboilerplate.com&#x2F;</a>
twobyfour超过 7 年前
If you hate it, why do it? It&#x27;s not like back end developers aren&#x27;t in demand or won&#x27;t be 5 years from now.
评论 #15393802 未加载
firemelt超过 7 年前
I also feel the same I really hate css and html But now we have react, so I only hate css, anyone have recommendations for good css resource?,<p>I need tutorial&#x2F;resource&#x2F;framework to layouting&#x2F;griding component<p>I have tried things like material-ui but layouting the component is still hard, because it really depends on the css<p>If only flexbox in web is as easy as flexbox in react-native
romanovcode超过 7 年前
If you are a back-end developer then Angular and Typescript are your friends.