online rank

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
Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm
Location: Italy

online rank

Post by Samuele » Fri Oct 15, 2021 11:06 am

hi, i was wondering, how can i make an online rank where users can see what's the other users high score (already saved in a variable) but i have no idea how to make a code that works online, for now my app is offline only, i would appreciate any help!ù
thank you.
Samuele.

Bernard
Posts: 351
Joined: Sat Apr 08, 2006 10:14 pm
Location: London, England

Re: online rank

Post by Bernard » Fri Oct 15, 2021 5:31 pm

You need some shared storage space on a network where you can store this information.

For example, you could store in on a FTP server, or in Dropbox. You need to think about this question: what if two people using your app simultaneously try to update that variable. Provided your app has a different variable for each user, then you could have a different file for each user. Each app can only write to the file containing its variable; but all apps should be able to read from each file.

Whilst this is quite simple, there is basically little security. The simplest way would be to have the same password to access that file stored in your app. But if a malicious agent wanted to break your app, they might be able to find out what that password is and go and alter the scores of different users.

mtalluto
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 125
Joined: Tue Apr 11, 2006 7:02 pm
Location: Seattle, WA
Contact:

Re: online rank

Post by mtalluto » Fri Oct 15, 2021 9:47 pm

Our team designed a cloud and local database we call CanelaDB. We also developed a secure cloud architecture that deals with the cloud's security, syncing, and scalability. LiveCloud has a free tier that you are welcome to use.

Your data is free to move about as there is no lock-in. The APIs are pretty comprehensive and easy to use. You could get experienced with LiveCloud and transition to another database as needed.

For more information, check out our website: https://livecloud.io
Mark Talluto
--
Canela
design - develop - deploy: https://appli.io
Database and Cloud for LiveCode Developers: https://livecloud.io
Company: https://canelasoftware.com

Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm
Location: Italy

Re: online rank

Post by Samuele » Sun Oct 17, 2021 7:23 pm

thank you, do you happen to know where i can learn how to use it? because as a beginner i didn't understand so good how to use it.
thanks!
Samuele.

mtalluto
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 125
Joined: Tue Apr 11, 2006 7:02 pm
Location: Seattle, WA
Contact:

Re: online rank

Post by mtalluto » Mon Oct 18, 2021 6:10 pm

Hi Samuele,

What is your current experience level with databases? If you get stuck on something in particular, please feel welcome to join our forums and ask for support—Forum link: https://forums.livecloud.io/index.php.

To get you started, please visit our online documentation for CanelaDB/LiveCloud, https://docs.livecloud.io/. Start with the Tutorial section. You will need to download and install LiveCloud Manager. It is a tool that helps you create your databases. You will need to create an account. Choose the Mist tier as it is free.

The tutorial has links and guides you through the process of getting started. It will also guide you in the process of making your first database.

LCM also has three working apps that you can export and review in LiveCode as you get more comfortable.
Mark Talluto
--
Canela
design - develop - deploy: https://appli.io
Database and Cloud for LiveCode Developers: https://livecloud.io
Company: https://canelasoftware.com

Samuele
Posts: 282
Joined: Mon Oct 11, 2021 7:05 pm
Location: Italy

Re: online rank

Post by Samuele » Wed Oct 20, 2021 11:16 am

thank you very much!! yes my experience with database is 0 so thanks
Samuele.

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”