未加星标

From Mac to Linux: Web Development with Linux

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二05 | 时间 2016 | 作者 红领巾 ] 0人收藏点击收藏

As I promised to write more about my experience with linux as my replacement for a Mac, here is my experience with developing web apps on Linux.

It’s almost ridiculous how easy web development on Linux is. All the tools are a simple “apt install” command away. If not, most vendors outline how to add their repository and then issue an “apt install” command.

Thus, installing MongoDB, Elasticsearch and mysql takes you literally a few minutes. Same applies to nodejs (my weapon of choice for web apps). You either have the option to get node from nodejs.org or install nvm (node version manager) which allows you to run different versions of node, e.g. if your production environment runs on node 4.x but you want to get ready for node 6.x. With nvm installed you can painlessly switch between versions with a single command, i.e. “nvm use 6” or “nvm use 4”.

Also, for editing code you have a plethora of options. Some of those editors, are Linux only. Hence I’ll only list my experience with the ones that are available on macOS as well.

Vim

People either love or hate vim. Personally, I love the power of vim, and I tend to use vim and sublime text together (Honestly, I sometimes get confused with all the shortcuts). On Linux I use vim more as it just works better. On the mac, it’s sometimes a bit a sluggish experience. Obviously, though with some tweaks, vim runs perfectly on Linux.

Sublime Text 3

This is my go-to editor. It’s extremely fast, comes with a lot of options and the vast amount of packages lets you tailor the editor for your needs. If vim is not your thing (I don’t blame you) then give Sublime Text 3 a chance. It really is one of the best editors out there. As Sublime Text 3 is available on Linux, windows and macOS it’s quite easy to have the same environment setup on all of them.

Atom

I don’t know what it is, but I never really got the hang of Atom. Yes, it’s open source and it looks nice, but it is just so slow. Even on Linux, Atom is the slowest compared to vim and Sublime Text 3. Options are endless and there is a vibrant community and you can find just about any package. I’ve configured Atom to work the same as vim and Sublime Text 3, but I still use Sublime Text 3 and vim more. It’s a nice editor, but as mentioned, there is something that doesn’t work for me.

So there you have it. Personally, I couldn’t be happier with using Linux for web development.

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

主题: LinuxSQLMongoDBMySQLWindows
分页:12
转载请注明
本文标题:From Mac to Linux: Web Development with Linux
本站链接:http://www.codesec.net/view/483853.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(15)