开发和测试 Facebook 应用程序 [英] Developing and Testing a Facebook application

查看:38
本文介绍了开发和测试 Facebook 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常我在主干上开发我的网站,然后将更改合并到测试分支,然后将它们放在测试版"网站上,然后最后将它们合并到实时分支并放到实时网站上.

Typically I develop my websites on trunk, then merge changes to a testing branch where they are put on a 'beta' website, and then finally they are merged onto a live branch and put onto the live website.

对于 Facebook 应用程序,事情有点棘手.由于您无法通过普通网络浏览器查看 Facebook 应用程序(它必须通过 Facebook 服务器),因此您无法轻松地为每个开发人员提供自己的网站版本以供使用和测试.

With a Facebook application things are a bit tricky. As you can't view a Facebook application through a normal web browser (it has to go through the Facebook servers) you can't easily give each developer their own version of the website to work with and test.

我还没有遇到任何关于开发和测试 Facebook 应用程序的最佳方法,同时继续拥有一个稳定的实时网站供用户使用.我的问题是,组织 Facebook 应用程序的开发和测试的最佳实践是什么?

I have not come across anything about the best way to develop and test a Facebook application while continuing to have a stable live website that users can use. My question is this, what is the best practice for organising the development and testing of a Facebook application?

推荐答案

我和我的合作伙伴的做法是,我们每个人都制作了自己的私人 Facebook 应用程序,该应用程序指向我们处理它的 IP 地址.因为我们在同一个地方工作,所以我们每个人都选择了一个不同的端口,并让我们的路由器将该端口转发到我们的本地 IP 地址.刷新页面有点慢,但效果很好.

The way I and my partner did it was we each made our own private Facebook applications, that pointed to our IP address where we worked on it. Since we worked in the same place, we each picked a different port, and had our router forward that port to our local IP address. It was kinda slow to refresh a page, but it worked very nicely.

这篇关于开发和测试 Facebook 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆