• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Mobile app with CF

Participant ,
Apr 16, 2013 Apr 16, 2013

Copy link to clipboard

Copied

I am trying to figure out how to build a mobile app using Jquery Mobile on the client side and Coldfusion and MySQL on the server side.  It seems very difficult to find a basic example.  Can someone please show me a tutorial that shows how to insert data and then read the data and display it?  All on a mobile phone?  I know this has to be possible but I can't find any documentation.

Views

540

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 18, 2013 Apr 18, 2013

Copy link to clipboard

Copied

this is a very broad question becuase there are a bazillion ways to make a mobile app w/ CF and MySQL.  Basically,  you will make ajax request from teh client to a remote coldfusion service, usually a CFC that returns json.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 19, 2013 Apr 19, 2013

Copy link to clipboard

Copied

Could you please provide a basic form post example?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 19, 2013 Apr 19, 2013

Copy link to clipboard

Copied

LATEST

suppose you had the following form:

               

you could post it to a remote server by adding a click handler to the button that calls:

$.ajax
(
      {
            url: "http://www.domain.com/api/remote.cfc",
            type: "POST",
            data: "method=yourMethod&" + $("#mainForm").serialize(),
            success: function(data)
            {
                  console.log(data);
            }
      }
)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation