TinyWebDB Server written in PHP

(Diego Barreiro Pérez) #1

Hello :wave:

We release today an alternative to the classic TinyWebDB installation.
I’ve created a new TinyWebDB server written in PHP. This means that you can just find any free website hosting provider and upload it there. You will have your dedicated TinyWebDB service for free, and it’s really easy to use!

Just download the files in a ZIP, and upload them to the root of your public_html directory. Then, in your project, change the TinyWebDB URL to your new website, and it’s done!

Detailed Tutorial

External Database
(Diego Barreiro Pérez) #2

BTW, this is compatible with any AppInventor distribution, not only with Makeroid
You can use it in any other platform :blush:

(Arda Çebi) #3


Keep up the good work.

(Diego Barreiro Pérez) #4

And I already have the answer why I haven’t used a normal database such us MySQL or SQLite :sweat_smile:

I first thought about using it, but I wanted very simple so anyone can setup his own TinyWebDB. So I finally decided to use a static file (the access to it is forbidden by Apache, so its secure) as it saved storage and was much simpler to configure

(Maksud Masum) #5

TinyDBWeb is alternative of MYSQL?


Could you make a little guide for this? With some example blocks.

When i want to store a value it says. “Communication with the web service encountered a protocol exception.”

When i want to get a value it says. “Value not of type java.lang.string cannot be converted to jsonarray.”

My database.txt stays empty.

(Nathan) #7

If the database URL contains HTTPS it might stop your app from communicating with it.


using http. But i saw i made a mistake in the url name it is getvalue.php and storeavalue.php with the extra a.

The communication error is gone now. The rest stays the same. I will wait for an example. :sunglasses:


not really
it uses tag/value pairs like TinyDB
see also the documentation Storage - App Inventor for Android


(Rocco) #10

I have the same error: “Communication with the web service encountered a protocol exception.”

(Diego Barreiro Pérez) #17

I’ve just pushed a few commits:

I tested it in a project and now it seems to me working fine :+1:

I’ll make a small tutorial in a few minutes to set up an own server

(Vivek Gaur) #21

Hello I am trying to use Tiny Web DB but it showing this Error {communication with the web service encountered a protocol exception}

(Diego Barreiro Pérez) #22

Are you using HTTPS or HTTP?
What’s the URL of your server?