javascript入门

为什么…的40个原因 (40 Reasons Why…)

This is the era of JavaScript fatigue. JavaScript innovation and fragmentation has become so persistent that it’s hard to know where to begin when starting a new project. But it doesn’t have to be this way.

这是JavaScript疲劳的时代。 JavaScript创新和碎片化变得如此持久,以至于在启动新项目时很难知道从哪里开始。 但这不一定是这种方式。

What if your team had a rich, rapid feedback development environment?What if each time you started a new JavaScript project, you got bundling, transpiling, automated testing, minification, cache busting, continuous integration and more for free?

如果你的团队有丰富的,快速的反馈开发环境?如果每次开始一个新JavaScript项目的时候,你有什么捆绑,transpiling,自动化测试,缩小,缓存无效,持续集成和更多的免费的吗?

Starting from scratch is no longer practical. There are too many best practices for any individual to track. The era of starter kits is here.

从头开始不再可行。 有太多最佳做法可供任何个人跟踪。 入门套件的时代就在这里。

I just spent the last year exploring this topic in detail. My investigation culminated in a comprehensive new course that dives deep into how your team can create a rich JavaScript development environment from scratch.

去年,我刚刚详细探讨了这个主题。 我的调查最终以一门全面的新课程告终,该课程深入探讨了您的团队如何从头开始创建丰富JavaScript开发环境 。

您需要入门套件 (You Need a Starter Kit)

Why is this so important? Because the number of decisions JavaScript developers have to consider today is overwhelming:

为什么这个这么重要? 由于JavaScript开发人员今天必须考虑的决策数量众多:

That’s over 40 decisions. I couldn’t fit them all on a single Powerpoint slide. This list is so long that most teams overlook dozens of important concerns. I’m consulting front-end developers all over the world and see a common theme: Automated testing is extremely rare. As is minification, cache busting, bundle splitting, linting and more.

那是40多个决定。 我无法将它们全部放在一张Powerpoint幻灯片上。 这个清单很长,以至于大多数团队忽略了许多重要的问题 。 我正在咨询世界各地的前端开发人员,并看到一个共同的主题:自动化测试非常罕见。 正如最小化一样,缓存破坏,捆绑包分裂,掉毛等等。

Here’s why:

原因如下:

JavaScript developers are so overwhelmed that they’re ignoring huge opportunities to improve quality, enhance performance, and automate away pain.

JavaScript开发人员不知所措,以至于他们忽略了提高质量,增强性能和消除痛苦的巨大机会。

All too often, developers are choosing the path of least resistance. This means most of the concerns above are ignored.

开发人员经常选择阻力最小的路径。 这意味着上述大多数问题都将被忽略。

It’s a classic problem: Cutting corners in the short-term slows us down in the long-term.

这是一个经典的问题: 从长远来看,在短期内偷工减料会使我们放慢脚步。

解决方案 (The Solution)

The first step toward a solution is simple: Schedule a team meeting with a simple agenda:

解决方案的第一步很简单:安排一个具有简单议程的团队会议:

  1. What are our JS pain points?我们的JS痛点是什么?
  2. Would we benefit from a JS starter kit?我们将从JS入门套件中受益吗?
  3. Would we benefit from a demo app?我们将从演示应用程序中受益吗?

Answer these questions, and you’ll have a clear direction for creating your own JavaScript starter kit. Sure, there are countless boilerplates, generators, starter kits on the web. Those are a great start.

回答这些问题,您将为创建自己JavaScript入门工具包提供明确的指导。 当然,网上有无数样板,发电机,入门套件。 这些是一个很好的开始。

But in reality, each team has unique needs and opinions, so most teams benefit greatly from creating their own starter kit. By all means, explore a few boilerplates that are popular for your library or framework of choice. But I suggest starting from scratch, using your favorites as inspiration. This assures you understand how it all works.

但是实际上,每个团队都有独特的需求和意见,因此大多数团队都可以从创建自己的入门工具包中受益匪浅。 无论如何,请探索一些适合您的库或所选框架的样板。 但我建议从头开始,以您的收藏夹为灵感。 这样可以确保您了解所有操作方式。

I walk through the long list of options and build a robust JavaScript development from scratch in “Building a JavaScript Development Environment” on Pluralsight. This course is a playbook of 40+ decisions you need to consider when building your own environment.

我将浏览一长串的选项,并在Pluralsight上的“ 构建JavaScript开发环境 ”中从头开始构建健壮JavaScript开发。 本课程是一本包含40多个决策的剧本,您在构建自己的环境时需要考虑这些决策。

Inspired? I’d love to see what you build!

启发? 我很想看看你建造了什么!

Cory House is the author of many courses on JavaScript, clean coding, architecture and more on Pluralsight. Cory is principal consultant at reactjsconsulting.com, a software Architect at VinSolutions, a Microsoft MVP, and trains software developers internationally on software practices like front-end development and clean coding.

Cory House是许多关于JavaScript,简洁代码,架构以及Pluralsight的课程的作者。 Cory是reactjsconsulting.com的首席顾问, VinSolutions的软件架构师(Microsoft MVP),并就前端开发和干净编码等软件实践对国际软件开发人员进行培训。

翻译自: https://www.freecodecamp.org/news/you-need-a-javascript-starter-kit-ff12d90ed8c5/

javascript入门

javascript入门_您需要一个JavaScript入门工具包相关推荐

  1. iHRM 人力资源管理系统_第9章_文件上传与PDF报表入门_第二节_PDF报表入门

    iHRM 人力资源管理系统_第9章_文件上传与PDF报表入门_第二节_PDF报表入门 文章目录 iHRM 人力资源管理系统_第9章_文件上传与PDF报表入门_第二节_PDF报表入门 PDF报表入门 3 ...

  2. javascript 代码_如何开始对JavaScript代码进行单元测试

    javascript 代码 We all know we should write unit tests. But, it's hard to know where to start and how ...

  3. javascript 分号_让我们谈谈JavaScript中的分号

    javascript 分号 要使用它们,还是不使用它们- (To use them, or not to use them-) Semicolons in JavaScript divide the ...

  4. javascript关键字_让我们揭开JavaScript的“ new”关键字的神秘面纱

    javascript关键字 by Cynthia Lee 辛西娅·李(Cynthia Lee) 让我们揭开JavaScript的" new"关键字的神秘面纱 (Let's demy ...

  5. javascript 框架_我们仍然需要JavaScript框架吗?

    javascript 框架 by Luke Joliat 卢克·乔里亚特(Luke Joliat) 我们仍然需要JavaScript框架吗? (Do we still need JavaScript ...

  6. javascript核心_功能强大的JavaScript数组

    数组是JavaScript的内置类型,JavaScript数组的功能特别强大.下面简单介绍一下JavaScript数组. 1.JavaScript数组的核心功能点 JavaScript数组有如下的核心 ...

  7. javascript控制台_如何使您JavaScript控制台静音

    javascript控制台 by Shakeel Mohamed Shakeel Mohamed着 如何使您JavaScript控制台静音 (How to silence your JavaScrip ...

  8. 做一个计算器_如何设计一个JavaScript插件系统,编程思维比死磕API更重要

    WordPress有插件. jQuery有插件.Gatsby.Eleventy和Vue也是如此. 插件是库和框架的常见功能,并且有一个很好的理由:它们允许开发人员以安全,可扩展的方式添加功能.这使核心 ...

  9. javascript 代码_如何使您JavaScript代码保持简单并提高其可读性

    javascript 代码 by Leonardo Lima 莱昂纳多·利马(Leonardo Lima) 如何使您JavaScript代码保持简单并提高其可读性 (How to keep your ...

最新文章

  1. 任意排列、组合终极Shell脚本
  2. 禁止ScrollView在子控件的布局改变时自动滚动的的方法
  3. linux数据污点标记,Taints和Tolerations(污点和容忍)
  4. Java 图形用户界面 AWT事件处理
  5. 如何在QT中读取串口数据
  6. *printf()格式化串安全漏洞分析(下)
  7. Code First 迁移,及迁移错误
  8. 【Java 并发编程】多线程、线程同步、死锁、线程间通信(生产者消费者模型)、可重入锁、线程池
  9. 程序员该如在低代码和无代码开发中抉择?
  10. html一级子元素,获取子元素_html/css_WEB-ITnose
  11. 算法题-字符串匹配算法
  12. Python编写微信打飞机小游戏(六)
  13. vscode搭建汇编环境
  14. 【机器学习】逻辑回归算法
  15. 鸿蒙系统是电脑还是手机,鸿蒙系统什么时候能用在电脑上,华为鸿蒙系统什么时候能用...
  16. java poi写doc文件_如何使用POI hwpfdocument在java中的.doc文件中编写大量文本
  17. Isaac Sim 使用指南(一)
  18. 利用0.618法(黄金分割法)求极小值
  19. ASCII码表及扩展ASCII码表
  20. java 日历工具_java之日历处理工具类Calendar类

热门文章

  1. 事务相关命令 mysql
  2. django-orm查询-验证是否存在的方式
  3. scp带密码后台传输
  4. Branch management
  5. 软链接与硬链接的区别;描述通配符与正则表达式的区别
  6. [c/c++]指针数组 pk 数组指针
  7. centOS 6.0无法运行dump指令的解决方法
  8. POJ-Prime Gap 素数筛选+二分查找
  9. NodeJS开源系统Mili简介
  10. 面试官系统精讲Java源码及大厂真题 - 20 SynchronousQueue 源码解析