User Story by @unclhos

综合编程 2016-06-08

Robert Iseley ( @unclhos
) is one of our early adopters and he caught our attention as he and his team have been using VersionPress for advanced workflows long before they were officially supported. I asked Robert if he could sum up his experience and describe the workflows that they use in his team. Here it is:

My real world experience of VersionPress (2.2) as a developer

As a developer I had never really used a version control system other than when pushing to the wordpress central repository. Working with a small team, I finally got fed up with not knowing who changed what and exactly what was changed. I have been experienced at working locally already for my development. The annoying part about working locally is the database. I had found no good way up to this point to keep the different locations in sync. So when I finally started using GIT, I thought, there has to be something like this for databases. That’s when I found VersionPress.

VersionPress still being in its early access program I knew there would be a few wrinkles in using it. So I put off even testing it after I got my copy. Looking back, there was no need to wait. With some use of GIT hooks, I am now able to run development sites in 3-4 locations without having other peoples work overwritten like when we were using FTP. :O The biggest annoyance I’ve had, working in multiple locations, were widgets that reference a post ID (think custom menu widget) and plugins that put some kind of a timestamp into the options table. The menus would disappear because of different ID’s and the timestamps would cause merge conflicts you had to deal with manually. But the best part, the database are all “exactly” the same too, all with a simple “git push” command.

To get these locations database to match up automatically I used the GIT hook “post-receive”. In there I use the coolest VersionPress command for WP-CLI, “wp vp apply-changes”. This command does all the voodoo behind the scenes to get your database looking exactly the same as your other locations.

I really believe this plugins will be huge among developers and regular everyday users.

Thanks, Robert.

您可能感兴趣的

scrapy爬取免费代理IP存储到数据库构建自有IP池... 以抓取西刺代理网站的高匿IP并存储到mysql数据库为例 西刺网: http://www.xicidaili.com/nn/ 运行环境:scrapy1.0.3 python2.7.10 需要安装MySQLdb模块 pip install mysql-python spide...
Hue 之 SparkSql interpreters的配置及使用 1、环境说明: HDP 2.4 V3 sandbox hue 4.0.0 2、hue 4.0.0 编译及安装 地址:https://github.com/cloudera/hue/releases/tag/release-4.1.0(也许是发版这弄错了吧,连接是4.1.0,内...
阳振坤:当我们在谈论金融级分布式数据库的时候,其实是在说性能的代价... 在开始说正题之前,我想先说说激光照排、服务器和操作系统。 我是1965年生人,在做分布式系统和数据库的研发之前,跟着老师王选,做了十多年的激光照排,亲身经历了北大方正激光照排系统从无到有,从小到大的过程,也看到了王选老师的创新对媒体出版产业、对亿万大众的信息消费产生了多么巨大的影...
Saying “Hello world” using Masonite Fr... In this post, we will build a simple Hello World application using Masonite Framework. What is Masonite Framework ? According to the officia...
Imposter syndrome (part 1) Note: this is a purely personal post. It has no code in. It’s related to the coding side of my world more than the rest of who I am, so it’s in my ...