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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Would you buy a book on using modern JavaScript with legacy web apps?

3 点作者 deevus超过 6 年前
For essentially my whole career I&#x27;ve been working for companies with MVC-ish web applications. There&#x27;s been a few common things that I worked to resolve such as:<p>- script tags on every page<p>- copy&#x2F;pasted code<p>- multiple versions of the same dependency (such as a different version of jquery on every page)<p>- ad hoc approach<p>- reinventing the wheel<p>- no testing<p>- no linting<p>Over the last few years I&#x27;ve honed an approach that I feel could benefit other developers who are in the same boat. It&#x27;s basically a set of steps for modernising front-end code and taking back control of your codebase.<p>I plan to cover things like:<p>- code bundling<p>- effective folder structure<p>- refactoring inline scripts into the bundle<p>- code execution using location&#x2F;hash parsing<p>- introducing view engines like react&#x2F;vue<p>- choosing the right language (vanillaJS, es6, typescript etc)<p>My gut says that there are plenty of teams working on applications like what I have described above and yearn for a better process. My question is... would anyone buy it?

暂无评论

暂无评论