DapperCamp Wiki > Contests: Win Stuff > Ruby / Python / Javascript SDK

Ruby / Python / Javascript SDK

Table of contents
No headers

This project entails building a Dapper SDK for the Flash programming language.  Dapper SDKs provide the basic functionality necessary for retrieving XML content from Dapper via a Dapp using HTTP. Programmers use the Dapper SDKs to build projects that consume content from the web via one or more Dapps.

All Dapper SDKs must provide the following basic functionality:

  • Retrieve content from any Dapp via HTTP and offer it for use to the programmer in a variety of useful interfaces.  The following are some recommended interfaces:
    • XQuery and XPath
    • A native datastructure
    • A Document Object Model object (DOM)
  • Work on both the applyToUrl scheme and the input variable scheme (see the RunDapp Documentation for more information).
  • Support login Dapps

Additionally, you must provide:

  • Full documentation (preferably in JavaDoc format, though other API / SDK documentation specifications are acceptable)
  • Commented code
  • An MIT license on your code 

Recommended features:

  • Caching to prevent repetitive requests to Dapper and the content provider 

Tips:

  • Your SDK is likely to include functions called: fetchDappXML(), getDOM(), etc.  A function like fetchDappXML() would require either input variables or an applyToUrl.
  • Look at the Java and PHP SDKs on the Dapper website for inspiration (though do not duplicate the HTML POSTing feature - we're happy to get rid of that).
Tag page
You must login to post a comment.