承包Facebook API
Contracting the Facebook API
摘要:
近年来,诸如Facebook的在线社交网络的流行度呈爆炸式增长。在一个新的转折中,第三方开发人员现在能够创建自己的Web应用程序,这些应用程序可以插入Facebook并使用Facebook的“社交”数据,使整个Facebook用户群超过4亿活跃用户能够使用这些应用程序。这些客户端应用程序可能包含细微的错误,如果它们滥用Facebook API,则很难调试。在本文中,我们提出了一个经验报告,应用微软的新的代码合同系统的.NET框架的Facebook API。我们写了几个类的Facebook API包装,允许Microsoft .NET开发人员实现Facebook应用程序的合同。我们在一个新的Facebook应用程序的实施过程中评估了这些合同的有用性。我们的经验表明,拥有代码契约可以提供更好、更快的软件开发体验。
英文摘要:
In recent years, there has been an explosive growth in the popularity of online social networks such as Facebook. In a new twist, third party developers are now able to create their own web applications which plug into Facebook and work with Facebook's "social" data, enabling the entire Facebook user base of more than 400 million active users to use such applications. These client applications can contain subtle errors that can be hard to debug if they misuse the Facebook API. In this paper we present an experience report on applying Microsoft's new code contract system for the .NET framework to the Facebook API.We wrote contracts for several classes in the Facebook API wrapper which allows Microsoft .NET developers to implement Facebook applications. We evaluated the usefulness of these contracts during implementation of a new Facebook application. Our experience indicates that having code contracts provides a better and quicker software development experience.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。