web操作系统开发的_哪种操作系统更适合Web开发

web操作系统开发的

If you're new to web development and are in the market for a new laptop, you might be wondering which operating system is best.

如果您是Web开发的新手,并且正在购买新的笔记本电脑,您可能想知道哪种操作系统是最好的。

Spoiler: there is no straightforward answer. One person's preference might not be the best fit for you.

剧透:没有简单的答案。 一个人的喜好可能不是最适合您的。

Unlike some iOS or some types of application development, the tools for web development are all operating system agnostic. You can write HTML, CSS, and JavaScript on Windows, Mac, Linux, and even ChromeOS if you're willing to get a bit creative.

与某些iOS或某些类型的应用程序开发不同,Web开发工具与操作系统无关。 如果您愿意有所创新,可以在Windows,Mac,Linux甚至ChromeOS上编写HTML,CSS和JavaScript。

So while you won't find a definitive answer in this article, here are a few pros and cons for each of the three major operating systems, Windows, Mac, and Linux.

因此,尽管您在本文中找不到确切的答案,但以下是针对三种主要操作系统(Windows,Mac和Linux)的优缺点。

视窗 (Windows)

Windows is easily the most popular OS in terms of market share, with an estimated 87.89% of PCs running some form of the operating system. Windows devices also tend to be cheaper and more configurable than Apple devices.

就市场份额而言,Windows无疑是最受欢迎的操作系统, 估计有87.89%的PC运行某种形式的操作系统。 Windows设备也往往比Apple设备便宜和可配置。

Some people have trouble with doing more advanced development with Windows, like getting Docker containers to run, trouble with Node and npm, and so on. One reason for this is that the default command line utility for Windows is PowerShell, which is quite different than Bash found on most servers that run Linux.

有些人在使用Windows进行更高级的开发时遇到了麻烦,例如使Docker容器运行,Node和npm出现问题等。 原因之一是Windows的默认命令行实用程序是PowerShell,它与大多数运行Linux的服务器上的Bash完全不同。

But for basic web development, all you really need is an editor like VSCode, which is another Microsoft product.

但是对于基本的Web开发,您真正需要的只是一个编辑器,例如VSCode,这是另一个Microsoft产品。

Recently Microsoft has been embracing open source technologies, and allow you to install things like a Bash terminal with Windows Subsystem for Linux. These advances should further close the gap between the Windows and Unix based OSs like MacOS and Linux.

最近,Microsoft一直在接受开源技术,并允许您使用Windows Subsystem for Linux安装Bash终端之类的东西。 这些进步将进一步缩小Windows和MacOS和Linux等基于Unix的操作系统之间的差距。

苹果系统 (MacOS)

Computers running MacOS make up about 9.68% of the total market share, which has been growing slowly over the past decade.

运行MacOS的计算机约占总市场份额的9.68% ,在过去十年中增长缓慢。

While Apple computers tend to be more expensive than those running Windows, many swear by their build quality and the flexibility of the BSD Unix based MacOS. For web developers, especially those that work with the backend, MacOS is close enough to Linux that many servers run on, making development easier to jump into.

尽管苹果计算机的价格往往比运行Windows的计算机贵,但许多计算机还是以其制造质量和基于BSD Unix的MacOS的灵活性发誓。 对于Web开发人员,尤其是与后端一起工作的Web开发人员,MacOS与运行许多服务器的Linux足够接近,从而使开发人员更容易进入。

One of the understated advantages that MacOS PCs have is that, with Windows running in a VM, they can run all major browsers for testing. If one of your goals as a web developer is to shoot for complete compatibility, the ability to test your projects in Chrome, Firefox Safari, Opera, Internet Explorer, and Edge is a big plus.

MacOS PC的低调优势之一是,由于Windows在VM中运行,因此它们可以运行所有主要的浏览器进行测试。 如果您作为网络​​开发人员的目标之一是为获得完全的兼容性而射击,那么能够在Chrome,Firefox Safari,Opera,Internet Explorer和Edge中测试您的项目将是一大优势。

的Linux (Linux)

Linux is everywhere. It's what runs the web, with Unix and Unix-like OSs running on about 67% of all web servers as of 2016. Android, the most popular mobile OS in the world, is built on top of Linux.

Linux无处不在。 它是运行网络的工具,截至2016年,Unix和类似Unix的操作系统在所有Web服务器上运行约67% 。Android是世界上最流行的移动操作系统,基于Linux。

But desktop Linux only runs on about 1.72% of all desktop PCs, and has been slowly slipping over the years.

但是台式机Linux仅可在所有台式机上运行约1.72% ,并且多年来一直在缓慢下滑。

That said, Linux is very popular among developers, who praise the OS for being free (both as in freedom and as in beer) and the ability to quickly install everything you need for your dev environment.

就是说,Linux在开发人员中非常流行,他们称赞OS是免费的(既自由又啤酒),并且能够快速安装开发环境所需的一切。

However, not all devices run well with Linux. The Linux kernel, distributions – unique operating systems that run the Linux kernel like Ubuntu, Linux Mint, Red Hat, and so on – and application developers are largely open source projects. This means they're largely supported by volunteers who work on these projects during their spare time.

但是,并非所有设备都能在Linux上正常运行。 Linux内核,发行版(运行Linux内核(如Ubuntu,Linux Mint,Red Hat等)的独特操作系统)和应用程序开发人员基本上都是开源项目。 这意味着他们在很大程度上得到了在业余时间从事这些项目的志愿者的支持。

While many devices running Linux are considered secure because so many people review code and submit patches to fix new vulnerabilities, some hardware will not work out of the box. Make sure you do your research beforehand to see if the computer or components you buy are properly supported, or buy a device with a lot of support like a Lenovo Thinkpad or Dell XPS.

尽管许多运行Linux的设备被认为是安全的,因为有很多人查看代码并提交补丁以修复新漏洞,但某些硬件将无法立即使用。 确保事先进行研究,以了解购买的计算机或组件是否受到正确支持,或者购买的设备如Lenovo Thinkpad或Dell XPS。

翻译自: https://www.freecodecamp.org/news/which-operating-system-would-be-better-for-web-development/

web操作系统开发的

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/390271.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

白鹭引擎 - 显示对象的基准点与横纵坐标 ( 绘制一个来回移动的绿色方块 )

class Main extends egret.DisplayObjectContainer {/** * Main 类构造器, 初始化的时候自动执行, ( 子类的构造函数必须调用父类的构造函数 super )* constructor 是类的构造函数, 类在实例化的时候调用* egret.Event.ADDED_TO_STAGE, 在将显示对象添加到舞台显示列表时调度*/…

SpringBoot项目属性配置

我们知道,在项目中,很多时候需要用到一些配置的东西,这些东西可能在测试环境和生产环境下会有不同的配置,后面也有可能会做修改,所以我们不能在代码中写死,要写到配置中。我们可以把这些内容写到applicatio…

670. 最大交换

670. 最大交换 给定一个非负整数,你至多可以交换一次数字中的任意两位。返回你能得到的最大值。 示例 1 : 输入: 2736 输出: 7236 解释: 交换数字2和数字7。 示例 2 : 输入: 9973 输出: 9973 解释: 不需要交换。 解题思路 目标就是优先锁定高位,像…

flexbox布局_Flexbox vs Grid-如何构建最常见HTML布局

flexbox布局There are so many great CSS resources all over the internet. But what if you just want a simple layout and you want it NOW? 互联网上有很多很棒CSS资源。 但是,如果您只是想要一个简单的布局而现在就想要呢? In this article, I d…

789. 逃脱阻碍者

789. 逃脱阻碍者 你在进行一个简化版的吃豆人游戏。你从 [0, 0] 点开始出发,你的目的地是 target [xtarget, ytarget] 。地图上有一些阻碍者,以数组 ghosts 给出,第 i 个阻碍者从 ghosts[i] [xi, yi] 出发。所有输入均为 整数坐标 。 每一…

计算机视觉-自定义对象检测器

1、模板匹配 运行指令:python template_matching.py --source 3.jpg --template 2.jpg import argparse import cv2ap argparse.ArgumentParser() ap.add_argument("-s", "--source", requiredTrue, help"Path to the source image"…

Java 微信公众号导出所有粉丝(openId)

由于公众号换了公司主体,需要做迁移,玩家的openId数据需要做处理。 (我是按我要的json格式,将粉丝导成了1万条数据的一个json文件) 文件格式: {"info":[{"openId":"ogVous494ltuNmO4zHb1seHeGLSk"}…

javascript闭包_JavaScript闭包教程–带有JS闭包示例代码

javascript闭包Closures – many of you JavaScript devs have probably heard this term before. When I started my journey with JavaScript, I encountered closures often. And I think theyre one of the most important and interesting concepts in JavaScript. 闭包–…

1646. 获取生成数组中的最大值

1646. 获取生成数组中的最大值 给你一个整数 n 。按下述规则生成一个长度为 n 1 的数组 nums &#xff1a; nums[0] 0 nums[1] 1 当 2 < 2 * i < n 时&#xff0c;nums[2 * i] nums[i] 当 2 < 2 * i 1 < n 时&#xff0c;nums[2 * i 1] nums[i] nums[i …

docker保存日志文件到本地

其实很简单 docker logs 你需要添加的额外参数 容器id >文件名称 然后查看这个文件就可以了&#xff0c;也可以通过ftp协议下载到本地

防反射JavaScript –如何让您的JS等待

Debounce methods do not execute when invoked. Instead, they wait for a predetermined time before executing. If the same method is called again, the previous is cancelled and the timer restarts.防抖动方法在调用时不执行。 而是&#xff0c;它们在执行之前等待预…

21天学通Visual.Basic pdf

下载地址&#xff1a;网盘下载《21天学通Visual Basic(第2版)》是Visual Basic 6.0的入门教程&#xff0c;主要针对没有程序设计基础的读者&#xff0c;详细介绍了Visual Basic 6.0的基本概念和编程技术。书中通过大量的范例及综合练习来介绍Visual Basic 6.0的基本概念、语言特…

297. 二叉树的序列化与反序列化

297. 二叉树的序列化与反序列化 序列化是将一个数据结构或者对象转换为连续的比特位的操作&#xff0c;进而可以将转换后的数据存储在一个文件或者内存中&#xff0c;同时也可以通过网络传输到另一个计算机环境&#xff0c;采取相反方式重构得到原数据。 请设计一个算法来实现…

交互式图表_如何构建罗马数字转换器和交互式罗马数字图表

交互式图表The Roman numerals are no longer an essential part of our daily lives. But we do use them when designing monuments, clocks, and even for sporting events.罗马数字不再是我们日常生活中必不可少的部分。 但是我们在设计纪念碑&#xff0c;钟表甚至体育赛事…

Python 08 面向对象

Python 面向对象 1、编程范式 2、面向对象特性 3、属性、方法 4、三大特性 5、高级方法 6、类的特殊成员方法 7、反射 8、异常处理 9、单例模式 一、编程范式 编程&#xff1a;程序员用特定的语法数据结构算法组成的代码来告诉计算机如何执行任务的过程 &#xff0c; 实现一个…

eclipse手动添加SVN插件

https://www.cnblogs.com/hcl1991/p/5888461.html 1.手动下载svn插件&#xff08;百度SVNsite-1.8.18&#xff09; 2.将下载好的SVNsite-1.8.18.zip 解压 3.在eclipse安装目录的plugins新建SVN文件夹 4.将SVNsite-1.8.18解压包下的features和plugins拷贝到新建的SVN文件夹下 5.…

440. 字典序的第K小数字

440. 字典序的第K小数字 给定整数 n 和 k&#xff0c;找到 1 到 n 中字典序第 k 小的数字。 注意&#xff1a;1 ≤ k ≤ n ≤ 109。 示例 : 输入: n: 13 k: 2 输出: 10 解释: 字典序的排列是 [1, 10, 11, 12, 13, 2, 3, 4, 5, 6, 7, 8, 9]&#xff0c;所以第二小的数字是…

微信小程序 设置背景占满整个页面

微信小程序,默认的根节点是<page></page>&#xff0c;所有内容都包裹在这个标签里&#xff0c;如何让页面的背景占满整个屏幕&#xff1f;&#xff1f; <page><view class"bg">....</view> </page> .bg {background-image:ur…

udemy下载课程无法播放_最好的Udemy Web开发课程+热门免费课程

udemy下载课程无法播放Heres a list of some of the most popular web development courses on Udemy:以下是Udemy上一些最受欢迎的Web开发课程的列表&#xff1a; Best General Web Development Courses on Udemy:关于Udemy的最佳常规Web开发课程&#xff1a; The Complete …

渗透测试初学者_渗透测试许可证:面向初学者的道德黑客课程

渗透测试初学者A penetration test is an authorized cyberattack on a computer system, performed to evaluate the security of the system. 渗透测试是对计算机系统的授权网络攻击&#xff0c;旨在评估系统的安全性。 Weve released a full pentesting course on the free…