Please do something else (at least by default) other than requiring me to put ajax.php into the drupal root directory. This makes maintenance very difficult, and is non-standard.

Why not just serve this function through the hook_menu API? If ajax.php really offers so many performance benefits, how about making it an option to turn on.

even better would be to use the hook_submit (with form api) instead of depending on the POST variables.

Comments

btopro’s picture

Yeah I've really been looking for a way to do it other then ajax.php which is part of why I wanted to put this all out there and get feedback cause it is a pain (and unconventional). I started looking at some stuff today related to it while working on my next module. I just need something that I can request to that will serve up the same data behind the scenes and at least at the moment haven't come up with a solution that I like. I'll have to look at the hook_menu api tomorrow.

btopro’s picture

Status: Active » Fixed

Fixed. Based it off this article incase anyone else would see this and wonder how to transition from traditional ajax to drupal/ajax - http://groups.drupal.org/node/2123

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.