Python架构的PHP替代方案

Python架构的PHP替代方案

本文介绍了Python架构的PHP替代方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很高兴在我的Python项目中使用Fabric进行部署.现在我从事一个更大的PHP项目,想知道是否有类似PHP的结构?

I am happily using fabric for my Python projects for deployment. Now I am engaged in a larger PHP project and wondering if there is something like fabric for PHP?

推荐答案

嗯?为什么这有关系? Fabric只是python脚本.因此,与项目语言无关.您可以使用它在使用scp的服务器上放置任何内容,也可以通过使用bash或[在此处插入其他工具]的ssh通过脚本编写任何内容. Fabric确实不是Python的Capistrano.它更类似于将草帽和耙子结合在一起,尽管我仍然认为这是结实的面料的能力.

Hmm? Why does it matter? Fabric is just python scripting. So it's project language agnostic. You can use it put anything on a server you'd use scp for, as well as script anything via ssh you'd use bash or [insert other tool here] for. Fabric really isn't Python's capistrano. It's more akin to a combining of both cap and rake, though I still think that's pigeonholing fabric's ability.

我确实喜欢一站式配方位,并且(从第一眼看)weploy为您提供了项目的机会,就像在织物中一样,除非您利用诸如编织之类的东西,否则您将自己滚动.但是布料的自定义功能对我来说是一个优势,因为我在其用途中无处不在.

I do like the one stop recipe bits that cap and (from first look) weploy gives you for projects, as in fabric unless you're leveraging something like woven, you'll be rolling your own. But the customization ability of fabric is a plus to me, as I'm all over the place in my uses for it.

这篇关于Python架构的PHP替代方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 15:32