News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

The Bakery:
Writing an easy to use A/B test helper with CakePHP and jquery
October 30, 2009 @ 11:57:14

In a recent post to The Bakery (the CakePHP resource) Jonathan Hendler has created a simple A/B test helper using the CakePHP framework and jQuery.

Knowing what is driving the user experience is key to the success of an application. Subtle changes in the interface can cause dramatic shifts in user behavior. Here, A/B tests display two (or more) language choices or color choices to a user (any HTML). Metrics are measured in two ways - 1) did the user click on the button at all and 2) how long did it take them to find it from the moment the page has started loading?

The helper tracks the user through the site and adds the results to a testing table (abtests). The code is included - model, component, controller, helper class and the jquery code to make it all work together. A few usage examples are also thrown in near the end.

0 comments voice your opinion now!
ab test helper cakephp framework jquery


blog comments powered by Disqus

Similar Posts

William's Blog: A Popurls Clone with PHP, jQuery, Awesomeness

Community News: Zend Looks for a Software Team Leader

Samisa Abeysinghe's Blog: Tracing SOAP Messages (and Installing via PECL)

Dmytro Shteflyuk\'s Blog: Zend Framework - Router for subdirectory-based site

Mike Kornienko's Blog: Integration of Spry and PHP/MySQL


Community Events





Don't see your event here?
Let us know!


bugfix conference deployment podcast tips zendserver series interview framework list voicesoftheelephpant symfony language library community introduction release developer api laravel

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework