online rank
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
online rank
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.
thank you.
Samuele.
Re: online rank
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.
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.
-
- VIP Livecode Opensource Backer
- Posts: 125
- Joined: Tue Apr 11, 2006 7:02 pm
- Location: Seattle, WA
- Contact:
Re: online rank
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
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
--
Canela
design - develop - deploy: https://appli.io
Database and Cloud for LiveCode Developers: https://livecloud.io
Company: https://canelasoftware.com
Re: online rank
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!
thanks!
Samuele.
-
- VIP Livecode Opensource Backer
- Posts: 125
- Joined: Tue Apr 11, 2006 7:02 pm
- Location: Seattle, WA
- Contact:
Re: online rank
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.
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
--
Canela
design - develop - deploy: https://appli.io
Database and Cloud for LiveCode Developers: https://livecloud.io
Company: https://canelasoftware.com