Stand-alone app to web/cloud stored data native app
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 77
- Joined: Thu May 21, 2015 2:41 am
Stand-alone app to web/cloud stored data native app
So I'm about 40% complete with a project as a standalone version, which will be my initial pilot for beta testing. The pilot has a database feature that stores the information on the machine on which it is running. Eventually I need this application to store its data on an online server farm. Can I just essentially switch the database location in order to do this or do I need to build an entirely new application? Please bear in mind that the application will be a commercially used enterprise application with 10-100s of thousands of users.
Re: Stand-alone app to web/cloud stored data native app
Hi man wioth the silly name,
well, if you hardcoded the path/address of the database (revopendatabase...) in your script(s),
then you may need to create a new standalone.
Hope I understood your problem correctly!
Best
Klaus
well, if you hardcoded the path/address of the database (revopendatabase...) in your script(s),
then you may need to create a new standalone.
Hope I understood your problem correctly!
Best
Klaus
-
- Posts: 77
- Joined: Thu May 21, 2015 2:41 am
Re: Stand-alone app to web/cloud stored data native app
It was really late when I was creating my profile and it fit the moment well. You actually end up on a LOT of my posts as the main answerer. Thank you for all the help, btw. It is definitely appreciated.
So just to be clear, essentially the only difference between a standalone native application with backend database functionalities and a native enterprise application with backend cloud-based/outside server based functionalities is the address of the database and type of database use? (I.E. machine based SQLITE vs Cloud based MySQL Server).
Also, you bring up an interesting idea. This is probably an off-topic question, but how would you go about dynamically coding the online server location? And why? Just curious.
So just to be clear, essentially the only difference between a standalone native application with backend database functionalities and a native enterprise application with backend cloud-based/outside server based functionalities is the address of the database and type of database use? (I.E. machine based SQLITE vs Cloud based MySQL Server).
Also, you bring up an interesting idea. This is probably an off-topic question, but how would you go about dynamically coding the online server location? And why? Just curious.
-
- VIP Livecode Opensource Backer
- Posts: 9857
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Stand-alone app to web/cloud stored data native app
If the database is being used on a LAN then connecting directly to it should be fine. If exposed to the Internet most would use a web server as an intermediary to protect the database, most commonly with PHP or LiveCode Server.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Stand-alone app to web/cloud stored data native app
Hi "Not a lot of thought",
This way you can have "dynamic" server urls.
Come on, that was YOUR idea!
Best
Klaus
Okie Dokie!Not a lot of thought wrote:It was really late when I was creating my profile and it fit the moment well.
In short: yes.Not a lot of thought wrote:So just to be clear, essentially the only difference between a standalone native application with backend database functionalities and a native enterprise application with backend cloud-based/outside server based functionalities is the address of the database and type of database use? (I.E. machine based SQLITE vs Cloud based MySQL Server).
I would simply use a small (encrypted) text file on a server with teh actual URL and load that when your app starts.Not a lot of thought wrote:This is probably an off-topic question, but how would you go about dynamically coding the online server location?
This way you can have "dynamic" server urls.
WHY?Not a lot of thought wrote:And why?
Come on, that was YOUR idea!
Best
Klaus