Here's the story: In an app I have I connect androids with an apache/mysql server. So far so good.
Now, I am thinking that the php code I'm using at the server side, can easily be found and perhaps modified by users. At least at local servers. For web solution I have no problem since I'm hosting it.
I'm thinking of another approach: Setup a small server using b4j, then let it handle all incoming connections. Then, I'll let this server perform all necessary queries. This won't be a problem, even though I have some small concerns about simultaneous writes. But if I'm going to do this, I'm then thinking on why to stick with mysql and not have a sqlite database, since it is not a heavy db. Any thoughts on this will be greatly appreciated, thank you
Now, I am thinking that the php code I'm using at the server side, can easily be found and perhaps modified by users. At least at local servers. For web solution I have no problem since I'm hosting it.
I'm thinking of another approach: Setup a small server using b4j, then let it handle all incoming connections. Then, I'll let this server perform all necessary queries. This won't be a problem, even though I have some small concerns about simultaneous writes. But if I'm going to do this, I'm then thinking on why to stick with mysql and not have a sqlite database, since it is not a heavy db. Any thoughts on this will be greatly appreciated, thank you