I have a map which loads markers via ajax on various/numerous map events. Currently, I define a custom page callback for my
hook_menu() item which prints my json/js.
Although this does work, I believe that Drupal still fully bootstrapping, which means it is adding a lot of overhead I would like to drop.
js.php to compliment
index.php to direct your requests to and customize/limit/optimize the bootstrapping Drupal does by default.
What is the fastest way to implement an Ajax callback in Drupal?