I am getting confused with how the AJAX part of the Titanium API works, and what code we are still required to use. jQuery in the past has taken a lot of this load off my shoulders, so am curious what needs adding.
I basically have a php file on a remote server, and want to pasa variable in, and run an if statement, then pull a variable out into the mobile (android) app.
I have seen lots of code some use Titanium.ajax or xhr and createHTTPClient, and I am just confused as to what I should be using to get my data. If you could help that'd be great.