Page 1 of 1

Database Platform on mobile device

Posted: Tue Dec 08, 2015 10:25 am
by Jack Bua

I have a need for a mobile-friendly database platform. When going to Appery.io on my phone and logging into the platform, I only get a list of the apps to run, much similar to the tester app. It would be handy to be able to access the database collections so that I can make quick changes or monitor my users on the fly.


Database Platform on mobile device

Posted: Tue Dec 08, 2015 2:39 pm
by Serhii Kulibaba

Hello Jack,

You can use Appery.io database for that: https://devcenter.appery.io/documenta... Or do you need a local DB? If so, please look at this link: http://html5doctor.com/introducing-we...


Database Platform on mobile device

Posted: Tue Dec 08, 2015 6:05 pm
by Jack Bua

I dont think we understand each other. I am trying to view the Apperyio database platform on my Android phone and it does not allow me to view the database unless I "request a desktop version", but in that case I cannot do things like resize columns because it just is not formatted for mobile devices.

I would like to see a mobile-friendly database view.


Database Platform on mobile device

Posted: Thu Dec 10, 2015 12:32 pm
by Serhii Kulibaba

Could you clarify what you have tried and what exactly does not work?
Do you need to change the collection according to device's type (PS, phone, tablet)?
Can you provide more details, screenshots or exact steps to reproduce this problem?


Database Platform on mobile device

Posted: Thu Dec 10, 2015 5:44 pm
by Jack Bua

Lets restart. Forget everything I said above.

SUGGESTION:

Make the database platform accessible to mobile devices such as a phone so I, the admin, can get onto the database and monitor/change the info in it while I am away from my computer.


Database Platform on mobile device

Posted: Thu Dec 10, 2015 10:13 pm
by Illya Stepanov

Hi Jack -

It's a good idea. You are correct, there is no mobile version of the database console today. If you don't need a fancy UI, you can build an app that accesses the database for admin purposes. For example, the first page could display 1-2 core columns. If you need to drill down, you can click on any row and see all the columns for that record. On the same page you could also make edits.

As for monitoring, you can write a Server Code script that will run every x-time and check for any changes in the database. If there is an update, it can send you an email or send a push message.


Database Platform on mobile device

Posted: Thu Dec 10, 2015 10:18 pm
by Jack Bua

Thank you Illya. I considered that but eventually decided it is not worth the effort.

As for the script, I will need to do that soon. Is there a general way of doing this that will alert to any changes or do I have to set up 'monitors' on each field and collection of interest to me?


Database Platform on mobile device

Posted: Thu Dec 10, 2015 10:48 pm
by Illya Stepanov

Server Code provides API to access the database. For example, you can write a script that will access the database and count the number of records. If the number changed -- then notify you. You can write any logic in similar fashion.


Database Platform on mobile device

Posted: Fri Dec 11, 2015 12:49 am
by Jack Bua

I am sure I'll be using that in the future.

Thank you for that.