All your bases are belong to REST
So, after some work, user scores can finally be saved using some REST calls. Obviously, due to the very starting nature of our server side code, I won't type the URL here, since it could potentially result in DoS attempts (which is only due to the fact that, as any naive programmer, I underestimate the security cost and did not though security first). Suffice to say calling the right URL in POST mode will store a score, while calling the very same URL in rest code would output the following XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<list>
<scoreDesc gameName="jezzballfx" score="1000" userName="Nicolas"/>
<scoreDesc gameName="jezzballfx" score="1001" userName="Serj"/>
</list>
Next steps ? Well, there are some
- Implementing guards for me to display quietly the publish URL without any risk.
- Going from native GAE data storage to JDO storage (since the current code base implies many code copy)
- Building a web UI for users to see their scores, and some other featuires ...
Besides, my friends should tell you soon that jezzballfx starts to have a knackIT look ...
Posted by Nicolas Delsaux


