a TinyWebDB implementation based on PHP and textfile. No database is required.
Inventor for Android (http://appinventor.googlelabs.com)
Action | URL | Post Parameters | Response |
---|---|---|---|
Get Value | {ServiceURL}/getvalue | tag | JSON: ["VALUE","{tag}", {value}] |
Store A Value | {ServiceURL}/storeavalue | tag,value | JSON: ["STORED", "{tag}", {value}] |
- TinyWebDB API
- handle storevalue request, then save to a textfile.
- handle getvalue request and return content from the textfile.
- Test Form:
- send storevalue request
- send getvalue request
- Tag View
- List all tags
- The tags link to getvalue API
- Log tail viewer
- Daily log file
- last 20 lines view
- create an Apache virtual host
- Enable .htaccess. (set AllowOverride to All)
- clone all files to virture host root.