wordpress本地开发_终极WordPress开发环境

wordpress本地开发

WordPress development has come a very long way in recent years when it comes to tooling. In the past, developing a WordPress website required some sort of MAMP/WAMP localhost setup and almost always, a rather painful headache. Maybe you’re even one of those developers who developed their website on a live environment – I was.

近年来,在工具方面,WordPress的开发已经走了很长一段路。 过去,开发WordPress网站需要某种MAMP / WAMP本地主机设置,而且几乎总是需要相当痛苦的头痛。 也许您甚至是在实时环境下开发其网站的那些开发人员之一-我曾经是。

Luckily, times have changed and there are now tools that help take the headache and repetitiveness out of building WordPress sites on your computer.

幸运的是,时代已经改变,现在有工具可以帮助您减轻在计算机上构建WordPress网站的麻烦和重复性。

WordPress Development

In December last year, after 3 years of being almost completely devoid of any WordPress development, I became a full time WordPress developer again. Before that 3 year stint in the payments industry, I was a full time WordPress contractor.

去年12月,在几乎完全没有任何WordPress开发的3年之后,我再次成为了专职WordPress开发人员。 在支付行业工作了3年之前,我是一名全职WordPress承包商。

Being out of an industry for 3 years, gave me a unique perspective on how fast things change in computing and more specifically, web development. WordPress development is no exception.

离开该行业已有3年,这给了我关于计算领域(尤其是Web开发)如何快速变化的独特视角。 WordPress开发也不例外。

You see, when I returned to WordPress development in December last year, I decided to look at setting up the perfect WordPress development environment. I was pleasantly surprised to see that the tooling around WordPress had advanced so much that it was much like trading in a Ford for a Ferrari.

您会看到,去年12月重返WordPress开发时,我决定考虑建立一个完美的WordPress开发环境。 我惊讶地发现围绕WordPress的工具取得了如此巨大的进步,以至于就像用福特汽车换成法拉利一样。

I was excited, and still am of course, to explore all the tools and in today’s article I’m going to share with you a summary of what I have learned. Hopefully it will help you tweak your current environment and implement some of the tools that are available to you.

我很兴奋,而且当然仍然会探索所有工具,在今天的文章中,我将与您分享我所学到的摘要。 希望它将帮助您调整当前环境并实施一些可用的工具。

从服务器开始 (It Starts with the Server)

To begin with, the most important piece in the WordPress development environment puzzle is the server. Without a server, we can’t do anything.

首先,WordPress开发环境难题中最重要的部分是服务器。 没有服务器,我们将无能为力。

There are so many different options available today to host WordPress websites on your local environment that it gets tricky to know which one to use.

今天有很多不同的选项可以在您的本地环境中托管WordPress网站,以至于很难知道要使用哪个。

I’m going to suggest that you drop MAMP/WAMP/XAMP and start using a virtualized development environment.

我建议您删除MAMP / WAMP / XAMP并开始使用虚拟化开发环境。

Why? There are so many reasons:

为什么? 原因有很多:

  1. It’s an isolated environment. By using a virtualized environment you’re creating a development server that is isolated from your host operating system. You can install whatever operating system you like on the virtual machine and start/stop/restart it without affecting your host. It’s easy to tear down once you’re done with development and no longer need it.

    这是一个孤立的环境。 通过使用虚拟化环境,您正在创建与主机操作系统隔离的开发服务器。 您可以在虚拟机上安装所需的任何操作系统,然后启动/停止/重新启动它,而不会影响主机。 一旦完成开发并且不再需要它,很容易将其拆除。
  2. Messed something up? No problem! Just rebuild th
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值