Combine server database and embedded database electron / react application [closed] - reactjs

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 months ago.
Improve this question
I'm developing an electron application with react and I would like to combine data from an embedded database and server database. Some data on the server has permissions and both database will have the same schema. I saw rxdb but I'm not sure I can achieve that.
Do you have any recommendations?
Thanks

I think rxdb will work for your approach.
You can store data locally and also replicate data from the server to the client.
If you want to do queries over the full data-set, you can replicate the local store and the server-store into a local in-memory collection from rxdb and run queries there.
DISCLAIMER: I'm the author of rxdb

I assume you want to replicate the remote server locally to provide faster response times and offline capabilities. I further assume that because your question includes "react" you're looking at how to replicate in the browser.
This is conceptually possible, but labor intensive. You'll wind up using a suite of APIs to access remote values, and database calls to some kind of web-based local storage.
You could conceptually merge the local storage database with the remote database, but I have found when I have done this it's often easer to consider a store-and-forward approach. YMMV.
I would then create an SDK in my application that would route between the local and remote storage, so that the front-end didn't have to worry about the complexity of how the data were stored, managed, merged or what have you.
Good luck!

Related

Local database systems for simple application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 10 months ago.
Improve this question
I have been thinking of making a program to use in my company. I would like to store information in a (local) database and use this to keep track of the payments of my clients. I am most experienced in programming in Java. Do you have any suggestions for these databases?
I believe you are probably looking for SQLite. It is very light, basic, works with SQL,but doesn’t have any built in relational methods to link multiple tables together(JOINS, etc). As you mentioned you’ll be using Java, here’s the SQLITEJDBCPackage. Also, here’s a blog that can help you get started.
On the other hand, there is a wide variety of databases present in the market like:
RDBMS: MySQL, PostgresSQL
NoSQL: MongoDB(can run on cloud and locally), Neo4J
Time Series Database(If you storing IOT or time dependant data): InfluxDB
Cloud Databases(Might not be relevant to you since you want a local setup, but just to help you understand better): Firebase, Neo4J, MongoDB, AWS RDS, etc.

any alternative SQL for flutter rather than sqflite [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I was wonder if there any alternative way to store offline data in dependencies database rather than using sqflite!!
if any one knows any SQL or even nosql libraries for flutter that's is not complicated like sqflite please mention it!
This is a alternative, use a NoSql database.
Sembast
Yet another NoSQL persistent store database solution for single process io applications. The whole document based database resides in a single file and is loaded in memory when opened. Changes are appended right away to the file and the file is automatically compacted when needed.
Works on Dart VM and Flutter (no plugin needed, 100% Dart). Inspired from IndexedDB, DataStore, WebSql, NeDB, Lawndart...
Supports encryption using user-defined codec.
This is a link when you can get the library:
https://pub.dev/packages/sembast

Database and user interface software/CMS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I'm looking for a solution (probably CMS or framework) to make a database and user friendly interface for data entry by regular users.
At our department we're doing a lot of data collection - 6 DBs, 2k records, ~100-200 fields. All of them are powered by in-house Rails application that's hard to maintain on this scale. So, I'm looking for a more tailored solution.
What is important:
Well-thought database design and data management solution (migrations, validation, etc)
Almost unlimited customisation (backend and frontend programming), especially an ability to make complex inputs
Great community to learn and contribute (open source)
What will be nice to have:
Python/Ruby/etc backend. Modern React (at least not Angular) frontend
PostgreSQL support
Plugins, integration with other services
Something I've found: Oracle APEX, MS Access, FileMaker (proprietary), nuBuilder (very limited). After all, I thought about rewriting our app using PostgREST and React or use Plone as a basis (but a bit afraid of ZODB). What do you think?
Any help and advices are appreciated, thx.
PostgreSQL + PostgREST + react-admin
Reactrb plus rails. Very simple to use 100% ruby see http://reactrb.org

Looking for a cross platform small footprint database [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have the following scenario. I need a db to store XML messages that have been created by a reader. I then want to use a transport (wcf) to read the db external to the populating app and send the messages to a central db Generally the db needs to run on mono, and windows.
I did look at sqlite3, and it seemed to fit all my requirements, but i'm reading its not so good on multi process access and t's moving away from my sweet spot, these last couple of days.
Thanks.
Have you considered just using XML to store the data? It doesn't get any more portable than that and will work fine as long your client-side storage needs are simple. E.g. not a large amount of many domain objects that need to be stored.
Additionally using an XML data store solves a lot of setup and installation headaches. You simply reference a file (or files) relative to your executable. You don't need to worry about installing db engines for a variety of platforms and then worry about upgrading.
WOuld it be feasible to give each process their own sqlite3 database? They all ultimately use the central database anyway, right?
Have a look at Firebird.
You can use it as an embedded engine just like SQLite, but it can scale to a full blown server as well.
The only drawback is, that the documentation is a mess

SQL Server 2008 hosting recommendations [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I am currently working on a project that is hosted at GoDaddy and it has a large database. (Periodically inserting millions of rows). It keeps filling the transaction logs and since GoDaddy sets the SQL user up without permission to basically do anything, I cannot truncate it. The 200mb database max is not ideal either. A VPS isn't in the cards for this company just yet, so I am stuck trying to find a shared hosting provider that office SQL Server 2008 only hosting.
Soooooo, my question is, does anyone know of a hosting company that does SQL Server 2008 hosting that they can vouch for and give high marks?
Cheers guys & gals!
To make a long story short, the more resources you use, the less likely you will be able to use a shared service provider to meet your needs. If you run a Google search, you will find numerous :) However, at some point you will need to get some dedicated resources if you plan on using SQL Server.
It sounds like you are trying to save costs, which is totally understandable, but as the old saying goes "you pay cheap, you pay twice".
DiscountASP.NET looks like a good option for a problem I'm working on at the moment which has similar requirements. They start you off with 500MB of space (+1GB TLog), and you can sign up for more.
Disclaimer: I haven't signed up with them yet, but I've been looking at some of the alternatives, and I keep heading back...

Resources