Hooray JQuery
I’ve completely abandoned using Prototype/Scriptaculous in favor of JQuery. I simply prefer the way JQuery does things: Simple syntax No more in-line JS Lots of great plug-ins JQuery UI has some very...
View ArticleJQuery autocomplete in CakePHP
Update to this post is here. (New libraries and new techniques are discussed). This is a quick example on how to setup an autocomplete field using JQuery and CakePHP. Let’s assume that we have a...
View ArticleJQuery in the CakePHP world (part 2 – is client side code all that great?)
(part 1) Now, how is this an introduction to jQuery + CakePHP?… well, let’s see in a minute. First, I’d like to say that with the advent of frameworks such as jQuery, better browsers, which do a nicer...
View ArticleConvention over Configuration – what's the big deal?
While writing a little about jQuery and CakePHP (part 1 and part 2), which I promise I am not quite done with yet… … another topic slowly entered my brain… Why do we love CakePHP so much? (And why do...
View ArticleSolving the country/state problem with CakePHP and jQuery
I’d say that it is a pretty common issue (and maybe not quite “a problem”), where you would have a page with a billing form, which in turn, has a “Country” select as well as a “State” select. Obviously...
View ArticleHelpful jQuery modals
This post is actually mostly about jQuery (with some cake sprinkles), but why not… Let’s examine a typical situation: We have a Product model, which belongsTo a Category model. Now we need to add some...
View ArticleSpeed things up with a custom-baked JSON view
Yet another gem of brilliance from Mr. jrbasso. In a couple of my previous posts regarding CakePHP and JQuery, I’ve shown some basic strategies on setting up the communication between the client and...
View ArticleCakePHP and jQuery auto-complete revisited
CakePHP 2.3 jQuery 1.10.2 jQuery UI 1.10.3 I’ve realized that my old post about jQuery auto-complete and cake is still pretty popular, but hopelessly outdated. Therefore, I figured it would be a good...
View Article