B4J Question [BANANO] how to exchange data of a local db

Roberto P.

Well-Known Member
Licensed User
Longtime User
Hi to all,
I would like to try using BANANO to exchange data between a local DB and a web page.

In other words, I would like to replicate the development with B4A with which I manage data with the sqllite DB.

So, I guess to a data binding with the page, typically the mustache.js library is used.

I hope it's clear.

thank you
 

Roberto P.

Well-Known Member
Licensed User
Longtime User
Not in a DB on your local machine as a browser had no access to your filesystem. You must use a server app and with a REST API communicate with it.

ok, I hope there was another way! Do you think it can be done with B4j?
 
Upvote 0

alwaysbusy

Expert
Licensed User
Longtime User
Do you think it can be done with B4j
Of course. Use the BANanoServer library (which is an easy to use wrapper around the normal jServer), and add a handler with your API. In the BANano app, use CallAjax or BANanoFetch to talk with your API like you would with any other server (like php).
 
Upvote 0
Top