mysql – JDBC vs Web Service for Android-ThrowExceptions

Exception or error: Can someone answer on my dilemma which method to use for connecting Android device to mySQL or Postgresql? I can do it in both ways without any errors and problems, with no noticeable difference but everyone recommend web service instead of using jdbc driver and direct connection, Can someone explain why with …

Parallel mysql queries in php?-ThrowExceptions

Exception or error: I am sharding my data into multiple mysql databases, but sometimes I will need to gather information from multiple shards. How can I query multiple mysql databases in parallel in php? I’ve seen some examples of asynchronous curl requests and shell_exec, but is there a more direct way? How to solve: The …

Circular matching. PHP / MySql-ThrowExceptions

Exception or error: Hi I need some help with the following scenario in php. I have a db with users every user has an ID, have_card and want_card. I know how to make a direct match (one user trades with another user). But if there is no direct match but there is a circular swap …

php – switch to mysqli a good idea?-ThrowExceptions

Exception or error: I’m considering switching to mysqli for all my php projects. The way my code is written (I run very simple websites and built my own basic framework which I use across all of them) I shouldn’t have too many problems modifying the functions and classes. However, i’ve only heard positive things about …