If I\'m making an \'ajaxified\' user interface with many ajax calls for creating, renaming, deleting various things on my page - what is the best way to handle all those \"code
Assuming that you are handling security issues on the server side, I don't see a problem with your method. The PHP file has to make sure that the requester has privilege to execute the command. You wouldn't want an user deleting all of your records...