Which offline database is suited for a lightweight Chrome App? - database

I'm starting to learn how to build an app in google chrome.
I want to my app to be operated offline only and its database is offline, this is because I will just use my app inside our office...
Is there a database is very simple way to connect to a database (eg: like I'll just copy paste it in my app folder)? I would prefer that the database has a very simple documentation on how to use it..
your recommendations would be of great help.

You can use HTML5 Local storage and similar technology to save the database offline, but it would be different on different machines.

Related

Use a database like mysql to webflow

I'm currently watching tutorials on how to build website using webflow but I'm curious if it is possible to use a database in webflow.
What are the best database i can use in a web app ?
although you could use a database with webflow, normally I would recommend using a web framework if you are wanting to build a web app. There are solutions that work with webflow that make it possible to connect to mysql databases though, like Zapier.
You could use Zapier to connect your webflow project to a mysql database, but I wouldn't recommend this approach, as it may not be as secure, and you will be spending a lot more money over time on subscriptions.
I am using Webflow for building front ends to web applications, but I am building the web apps in Laravel, which is a php web framework, or in Wordpress, which provides a little more options when working with Mysql databases and providing extra functionality.
Hope this helps!

How can I access a Heroku Postgres database from a React Native application?

I have a web application hosted on Heroku that uses PostgreSQL. I want to make a React Native application that can access that database.
How can I do that?
A typical architecture would be to add an API to your web application and have your React Native application talk to the API. I'm not sure how much obfuscation is provided by React Native, but generally speaking client-side code shouldn't contain sensitive information like database credentials.
I wouldn't recommend having multiple applications talk directly to the database, regardless of technology.
Having said that, Heroku does have some guidelines about how to access your database from outside of Heroku. Briefly,
don't hard-code your database credentials since they could change at any time
instead, use heroku config:get DATABASE_URL to retrieve the credentials from your Heroku application
This is commonly used with graphical database clients, for example.

Is Google Firebase a good alternative for my back-end development?

I recently found out about Google Firebase and how it can be used to help streamline back-end development. I would normally use PHP and MySQL for my back-end development. I have a few different apps that I'll be starting within the next few months, but I would like to develop my back-end a little faster and be able to manage it a little easier. Is Firebase a good alternative if I don't have super complex back-end needs?
Yes
because it's a cloud-hosted database.
Usually, the Data is stored as JSON and synchronized in realtime to every connected client which is good for your back-end development . Imagine you are building a cross-platform apps for Android, and JavaScript SDKs, all of your clients share one Realtime Database instance and automatically receive updates with the newest data.
You have everything explained here
Cloud Functions for Firebase

Deploy and connect build application into Bluemix PaaS?

I already deploy my application with eclipse and built in database (generated from AssestDB of the application). I want now to manage the application and deploy it with IBM bluemix PaaS, to manage Mobile Data.
What is the best DB I must use when coding before deploy into Bluemix?
If you want to configure your local test environment in order to minimize migration problems when deploying your application on Bluemix, you should replicate the target environment on your local one, as much as possible.
If you are planning to use the Mobile Data service on Bluemix please consider that it is built on Cloudant NOSQL Database, and it offers a further layer of abstraction that allows you to directly persist objects (if you are familiar with the concepts of class, object etc..).
You could also directly connect from a local application to a DB service instance running on Bluemix.

Google app engine only as database store

I am currently developing a php application hosted in my server. I want to store the database data in a more secure place rather than my own server. Can I use google app engine only to store and retrieve data without creating a java or python app? If thats possible how can I access data? Using a special service or I can directly connect to db like connecting to a mysql server and execute sql commands lik select, insert etc?
Storing your data on App Engine will not magically grant you extra security. If an attacker compromises your server, they will be able to compromise the interface you have to your datastore and do whatever they wish.
A much better approach would be to learn best-practices for secure web development, and endeavour to ensure your app will not be compromised.
They have a module called remote_api, but it has some restrictions. Check it out:
http://code.google.com/intl/fi-FI/appengine/articles/remote_api.html
There is no direct way to access datastore in App engine. I assume you use mysql or other relational database for your php application. But app engine provide a schemaless object datastore. In that case you need some java or python app for preparing data to store in datastore. Check below links as well.
http://code.google.com/appengine/docs/java/datastore/
https://stackoverflow.com/questions/1466420/google-app-engine-external-database

Resources