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:












man..i am loving your tutorials…keep them coming..
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.
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.
Great tutorial Anthony, specially for people starting in Appcelerator.
Simple yet to the point.
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.
Hi
You have shown how to send data to the database, i need to help me how i can read data from database.
Part 2 shows how to read data from the database.
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