Storing information to other locations

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Opaquer
Posts: 247
Joined: Wed Aug 14, 2013 8:24 am

Storing information to other locations

Post by Opaquer » Fri Aug 23, 2013 9:13 am

Hey everyone.

So, for the app I'm making, I want to store info about a user to a centralised place. For example, if the user puts in their email and state, I want to have the ability to see what state they're from and send them specific emails based on that. I've got an idea for the second part, but it's the first part I'm not sure how to do. What would you guys suggest? My idea is to upload a text file with the information to dropbox, but I'm not sure how to do it, or if it can be done. I also saw about Livecode servers, but haven't had a chance to look at it enough to know if it can be used for that. Do you guys have any recommendations? The information will just be some strings of text, so nothing major :). If it makes a difference, it's going to be for Android phones :).

Edit: Also, the way I've got it now is using revMail. The issue with that is I don't want the user to have to send me an email every time they update their information, so if there's something that can make it easier, that would be appreciated :)

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Storing information to other locations

Post by Mark » Sat Aug 24, 2013 8:14 am

Hi,

I recommend using a web server (not necessarily RevServer) and PHP. With some simple LiveCode scripts and a slightly more complex PHP script, you can store the data in a MySQL database. The big advantage of this is that you will be able to extract exactly the data you need for your mailings.

I'd be happy to help with this if you send me an e-mail off-list.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Opaquer
Posts: 247
Joined: Wed Aug 14, 2013 8:24 am

Re: Storing information to other locations

Post by Opaquer » Sat Aug 24, 2013 8:23 am

Shall send you an email :)

Edit: Once I figure out how...

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Storing information to other locations

Post by Mark » Sat Aug 24, 2013 8:31 am

See my signature.
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Opaquer
Posts: 247
Joined: Wed Aug 14, 2013 8:24 am

Re: Storing information to other locations

Post by Opaquer » Sat Aug 24, 2013 8:35 am

Well, I certainly do feel blind now :P! Sending it across :)

Post Reply