Michael Lumbroso
Michael Lumbroso

Reputation: 4993

Why use CakePhp AJAX helper instead of jQuery?

I'm just starting using cakePHP and I saw on that there was an AJAX Helper in it.

My question is simple : should I rather use this helper or should I keep doing AJAX with jQuery? Are there any changes I should perform in existing jQuery AJAX calls?

Thanks

Upvotes: 6

Views: 1376

Answers (1)

Rob Wilkerson
Rob Wilkerson

Reputation: 41236

I don't use the helper at all. Not in Rails, not in CakePHP. I've never cared much for server-side technologies writing my client-side code. I'd much rather include the libraries (I do use Cake's HTML helper for this) and write the javascript/jQuery code myself. Maybe I'm a control freak, but I feel like it gives me a better handle on what's going on under the hood.

Upvotes: 15

Related Questions