CakePHP Upgrade from 1.1 to 1.2

CakePHP 1.2 has finally released, but how do you upgrade site your site running CakePHP 1.1? It is a fairly simple process with brief formal instructions on cakephp.org. Most will only have to make a few changes as CakePHP 1.2 is not backwards compatible. All of the html helper form element methods have been moved to a form helper. This means that this:

    <?php echo $html->input('username'); ?>

becomes this:

    <?php echo $form->input('username'); ?>

One other big change was the removal of the generateList() method used to create an array for later use in select elements. The change in code is as follows:

    <?php $this->ModelName->generateList($conditions, $order, $limit, $keyPath, $valuePath); ?>

becomes this:

    <?php $this->ModelName->find('list', $params); ?>

The upgrade instructions provide a possible migration approach suggested in the documentation. It was a relatively simple process, only taking a few hours, including a good deal of testing.