请输入您要查询的百科知识:

 

词条 Sandbox (software development)
释义

  1. In web services

  2. In wikis

  3. See also

  4. References

{{selfref|For the Wikipedia feature, where newcomers can experiment with editing, see Sandbox.}}{{refimprove|date=September 2016}}{{not a sandbox}}

A sandbox is a testing environment that isolates untested code changes and outright experimentation from the production environment or repository,[1] in the context of software development including Web development and revision control.

Sandboxing protects "live" servers and their data, vetted source code distributions, and other collections of code, data and/or content, proprietary or public, from changes that could be damaging (regardless of the intent of the author of those changes) to a mission-critical system or which could simply be difficult to revert. Sandboxes replicate at least the minimal functionality needed to accurately test the programs or other code under development (e.g. usage of the same environment variables as, or access to an identical database to that used by, the stable prior implementation intended to be modified; there are many other possibilities, as the specific functionality needs vary widely with the nature of the code and the application[s] for which it is intended).

The concept of the sandbox (sometimes also called a working directory, a test server or development server) is typically built into revision control software such as CVS and Subversion (SVN), in which developers "check out" a copy of the source code tree, or a branch thereof, to examine and work on. Only after the developer has (hopefully) fully tested the code changes in their own sandbox should the changes be checked back into and merged with the repository and thereby made available to other developers or end users of the software.[2]

By further analogy, the term "sandbox" can also be applied in computing and networking to other temporary or indefinite isolation areas, such as security sandboxes and search engine sandboxes (both of which have highly specific meanings), that prevent incoming data from affecting a "live" system (or aspects thereof) unless/until defined requirements or criteria have been met.

In web services

The term sandbox is commonly used for the development of Web services to refer to a mirrored production environment for use by external developers. Typically, a third-party developer will develop and create an application that will use a web service from the sandbox, which is used to allow a third-party team to validate their code before migrating it to the production environment. Microsoft,[3]

Google,{{Citation needed|date=July 2012}}Amazon.com,[5]Salesforce.com,[6]PayPal,[7]

eBay[8] and

Yahoo,[9] among others, provide such services.

In wikis

Wikis also typically employ a shared sandbox model of testing, though it is intended principally for learning and outright experimentation with features rather than for testing of alterations to existing content (the wiki analog of source code). An edit preview mode is usually used instead to test specific changes made to the texts or layout of wiki pages.

See also

  • Comparison of online source code playgrounds
  • Pastebin
  • Sandbox (computer security)
  • Sandbox effect (search engines)
  • Sandbox (video game editor)
  • Sandbox game

References

1. ^{{cite web|url=http://searchsecurity.techtarget.com/definition/sandbox|title=Sandbox Definition|author=Margaret Rouse|publisher=TechTarget}}
2. ^Vivek Venugopalan, "Developer Sandbox" chapter 4, CVS Best Practices, The Linux Documentation Project, 2005. (See also Google for numerous other examples from the CVS FAQ, SourceForge, etc.)
3. ^{{cite web |url=http://test.uddi.microsoft.com/default.aspx |title=Microsoft UDDI Business Registry (UBR) node |deadurl=yes |archiveurl=https://web.archive.org/web/20051107090936/http://test.uddi.microsoft.com/default.aspx |archivedate=2005-11-07 |accessdate=27 July 2012}}
4. ^ {{Clarifyme|date=August 2009|reason=This is not a proper reference citation; use {{Cite web}} to provide source facts.}}
5. ^{{cite web |url=http://developer.amazonwebservices.com/connect/entry.jspa?categoryID=25&externalID=775 |title=Amazon Mechanical Turk Developer Sandbox |publisher=amazon.com |accessdate=27 July 2012}}
6. ^{{cite web |url=https://help.salesforce.com/apex/HTViewHelpDoc?id=create_test_instance.htm |title=Salesforce Sandboxes |publisher=salesforce.com |accessdate=29 August 2016}}
7. ^{{cite web |url=https://developer.paypal.com/en_US/pdf/PP_Sandbox_UserGuide.pdf |title=PayPal Sandbox User Guide |publisher=paypal.com |format=pdf |deadurl=yes |accessdate=27 July 2012 |archiveurl=https://web.archive.org/web/20070128140333/http://developer.paypal.com/en_US/pdf/PP_Sandbox_UserGuide.pdf |archivedate=28 January 2007 |df= }}
8. ^{{cite web |url=http://sandbox.ebay.com/ |title=eBay Developer's Sandbox |publisher=ebay.com |accessdate=27 July 2012}}
9. ^{{cite web |url=http://searchmarketing.yahoo.com/developer/docs/V2/sandbox/index.php |title=Enterprise Web Services: Sandbox |publisher=yahoo.com |deadurl=yes |archiveurl=https://web.archive.org/web/20080119195143/http://searchmarketing.yahoo.com/developer/docs/V2/sandbox/index.php |archivedate=2008-01-19 |accessdate=27 July 2012 |df= }}

3 : Virtualization software|Software development process|Software testing

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/13 14:44:02