SpamBlocker

Spam Blocker is a CakePHP Behavior that automatically before after a comment is made. Each comment is tested upon a point system to determine if it should be approved, set to pending (high points), or marked as spam / deleted (low points).

Entries for jQuery

In jQuery, the document and window objects return different heights than expected. I will easily explain the difference and some simple methods to remember which does which. Continue reading...
Now jQuery Enlightenment (jQE) isn't much of a book as it is a helpful PDF. It's not as long as your typical book, but it gets the job done in explaining jQuery and its core components. The topics that are covered in jQE range from Selectors, Traversal, DOM and Manipulation, Forms, Events, Plugins, AJAX, the Core and much more. Here's my quick take and review on JQE. Continue reading...
Before I start, id like to say hats off to the jQuery team, as 1.4 is looking beautifully so far. Ive already ran into about 3 problems that were fixed with the new features in 1.4, like the parentsUntil() function. However, the post today will be about the new element creation system using the core jQuery method, $(). In 1.4 you can now create an element by passing the tag name as the first parameter, and an object of attributes as the second. Continue reading...
The Controller and HTTP response are now working correctly, so it is time to display the response message to the client. We will achieve this by utilizing jQuery to output our JSON. The plan is to show a success message if the JSON passed or display a list of errors if it has failed. Continue reading...
Now that you have setup the Javascript and view to properly fire off an AJAX call, it's time to process the call within the Controller. We will build and write all the required logic to properly handle an AJAX call and return the response. Continue reading...