2

I have been using xajax, as a server side ajax class (all the ajax response is handled with php code) for the longest while.

However I lately fell in love with jquery, and am using it for a project. I would like to know if there is a server side class (like xajax) that handles jquery ajax? or does anyone know of a tutorial/example i can use to create my own?

Thank you in advance

1
  • 1
    Have you read the docs for $.ajax()? Check it out. Commented Jan 11, 2012 at 2:17

2 Answers 2

3

Here are two alternatives:

  1. http://phery-php-ajax.net/

  2. https://github.com/spantaleev/sijax/

Updated link for phery library

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you, though you are a little late, these are what i have been looking for. Thanks
0

Jquery(javascript) is a frontend/public language. Of course you will need to verify any data sent via javascript, on the server-side and/or both on the front-end.

jQuery has a plethora of options concerning ajax. ( $.post/$.get/$.getJSON/$.ajax ). these send/retrieve data via a HTTP request.

If you have leaned towards jQuery, why would you want a php-ajax library? You will do your input validating server-side anyway!

jquery/ajax will send your data either with a post or get request, you just grab it with php and verify.

For a user-friendly experience I would suggest both frontend/backend validating.

1 Comment

So i can manage the stuff from the server side. Thanks for the info though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.