What do you do if you have a desktop app that uses a locally-housed DB on a local server, but you also have a website that would also like to use the local DB's data?
A good example is a scheduling application: Your desktop app handles scheduling and you'd like customers to be able to schedule and view schedules.
Now, you can have 2 DBs. One local DB server and one remote DB housed at your provider. You can replicate to synch them.
-or-
You can store everything on the hosted DB and access it via your application.
-or-
You can expose your local DB to the internet and have your web app query it.
Which will you do?
I don't like storing everything on an off-site DB. I like to have my DB local so I can admin it. Also, I wouldn't want to query my local DB. So, what is a good method of doing this kind of system?
I would like the remote web users to have near or real-time data, with the desktop app. being real-time.
A good example is a scheduling application: Your desktop app handles scheduling and you'd like customers to be able to schedule and view schedules.
Now, you can have 2 DBs. One local DB server and one remote DB housed at your provider. You can replicate to synch them.
-or-
You can store everything on the hosted DB and access it via your application.
-or-
You can expose your local DB to the internet and have your web app query it.
Which will you do?
I don't like storing everything on an off-site DB. I like to have my DB local so I can admin it. Also, I wouldn't want to query my local DB. So, what is a good method of doing this kind of system?
I would like the remote web users to have near or real-time data, with the desktop app. being real-time.