On 2010-11-17, Dmitriy Sintsov wrote:
What if my ajax call PHP function is required for
extension's client
scripts only and is meaningless to bots? (On-page interactivity). Why
should everything to be an API, ajax is more than bots?
Because it provides a consistent, clean framework for making and
handling requests with the potential to reduce duplication in a lot of
cases. The API is not just for bots.
Adding an API module is fairly trivial and is the correct way to provide
AJAX interactivity.
Robert