In this first part we will create a a form that will accept data and an event that will use the HTTPClient to pass that data to the server. The php file will grab the information and post it to a MySQL database. Source files included.

Download Source

10 responses to “Appcelerator: Handling Remote Data with HTTPClient and MySQL P.1”

  1. R@k!B says:

    man..i am loving your tutorials…keep them coming..

  2. Trai says:

    Really enjoy the instructional videos. Thanks for taking the time to make these. I have been using Titanium for about a week now and pretty amazed what I can do already. Your videos have been a great starting point for me.

    In your opinion is Titanium Studio the best option for developing cross platform mobile Apps (if you don’t know java)? I know there are others out there.

  3. Anthony James says:

    If you want to build for native then Titanium is the best way to go. I believe they are offering an html5 port like it does for ios and android.

    Is there any screencasts that I can do that would help you? We’ve built and published an app already in the app store.

    • Trai says:

      Are there any screencasts you could do to help me you say? I could create an extensive list! LOL

      Just keep them coming. They are very informative.

      My main stumbling block now is my intermediate knowledge of javascript, but the more I do the easier it becomes.

      I have been working on a mobile banking app that I am going to “pitch” to my bank. Basically creating a native wrapper around a mobile website. Challenging, but fun at the same time.

  4. Jose Trevino says:

    Great tutorial Anthony, specially for people starting in Appcelerator.
    Simple yet to the point.

  5. Anthony James says:

    Thanks, I really appreciate the feedback! As your getting started let me know if there are anythings that you could use a screencast for. Something for newbies that we might have missed on this end.

  6. Ezzi says:


    You have shown how to send data to the database, i need to help me how i can read data from database.

  7. John says:

    I concur, your tutorials are fantastic and convinced me to stay with Titanium for my development. I spend the last 3 months learning Objective-C and just submitted my first app to Apple and found this while looking for a suitable platform to create the same app for the Android market. It looks like maybe I can merge the app into one platform for future updates, which is great.

    As for additional tutorials, could you do one on how you submit apps to Apple and Android through Appcelerator Titanium? That I think is my biggest fear right now is wondering how that process goes and will it be a nightmare or not. We are all going to need to know that eventually anyways, whether just starting out on app dev. or just starting out on Titanium.

    Thank you for your efforts and desire to share your knowledge.

  8. Jerry says:

    Hi Anthony,

    Thanks for the great tutorials. They are really appreciated.

    I have a question though: does Apple allow apps in the appstore to call any web server? I read that they didn’t allow calls to non-public or undocumented APIs. I need to send an email from my app (without leaving the app) and an AJAX call to a PHP script on my server would be perfect (and it’s cross platform too). I just don’t want to go that route if it’s going to be rejected.

    I appreciate your help and all the great work you are doing here!


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get actionable training and tech advice

We'll email you our latest articles up to once per week.