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.pswp.cn/news/390271.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/390271.shtml
英文地址,請注明出處:http://en.pswp.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…