This is not a 100% Perl question but I am Perl programmer and my question touches on Perl heavily. There is a fully functional web based CMS that is written in Perl for which I would like to make certain functionality available to an Android app being written. The requirements are not that "heavy".
The Android App needs to do the following few things:
* Send a username/password combination to gain access to the CMS backoffice.
* Call certain URLs which will enable the app to get a list of objects (images,names, other table contents) available in the CMS's database.
* Probably POST to certain URLs in order to be able to upload images and create content.
My question is: What methodology/APIs should I be looking at to complete this Perl CMS/Android app "integration". I was thinking of writing an AJAX layer that would expose certain methods to the Android app, which will be calling them via HTTP requests. I was also thinking of modifying certain of the CMS's packages to perhaps implement methods for JSON based communication of textual and binary data (images). I have also heard of Mojolistic, which supposedly is intended for writing RESTful APIs but find this a bit of an overkill for my scenario.
Does anybody want to offer any of his thoughts about which route to pursue?
In reply to Perl, Android web app, AJAX, JSON by monx663
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |