Appcelerator: Handling Remote Data with HTTPClient and MySQL P.1

Anthony James —  October 3, 2011

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


Related posts:

  1. Backing up MySQL with MySQLDump
  2. jQueryMobile Touch Events: The Swipe
  3. How To Create A Contact Form | P.2
  4. Creating A Contact Form P4 – JavaScript OnBlur
  5. How To Use Amazon RDS (Relation Database Service) To Host MySQL

Anthony James

Posts Twitter Facebook

Anthony is a Web Software Developer & Linux Systems Engineer. With 11 years of experience in these fields. He is also the founder and main contributor at Pinehead.tv. He is passionate about passing on his technical knowledge through training and educating others.

9 responses to Appcelerator: Handling Remote Data with HTTPClient and MySQL P.1

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

  2. 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. 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.

    • 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. Great tutorial Anthony, specially for people starting in Appcelerator.
    Simple yet to the point.

  5. 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. Hi

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

  7. 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!

    Jerry