Android Question Advices sought on database connection: php vs. direct

toby

Well-Known Member
Licensed User
Longtime User
My b4a apps currently connect to MariaDB via PHP, and I'm not familiar to direct connection yet and would like to know more about it.

I'm wondering what are the pros and cons of each of them in terms of
1. security
2. performance
3. easy implementation

Thanks in advance
 

Sandman

Expert
Licensed User
Longtime User
(Though, if you got the skills to make a secure API (using PHP or whatever) then that will be fine too. But never ever do the direct connection thing. That's asking for problems.)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…