On 29/05/2010 14:28, Liam Green-Hughes wrote:
Does anyone have any advice about how this should be handled? Has anyone else written a client side app for TWFY, if so how do you handle it? I don't want to distribute the code (which will be open source) with my API key in it so what is the best way to deal with this?
At first glance I would suggest that you should split the code into 2 functions, the app part that assembles most of the query and then the the part that needs the API key sat on a remote site that acts as a proxy combining the requst with the key and returning the result to the app.
The added bonus is that the central site can then track requests and generate information about the app usage.
J -- James Blessing http://www.despres.co.uk/ 07989 039 476 Superbia in Proelio _______________________________________________ Mailing list [email protected] Archive, settings, or unsubscribe: https://secure.mysociety.org/admin/lists/mailman/listinfo/developers-public
