code tunes

Web applications, software engineering, Ruby on Rails, Cake PHP, JavaScript, etc.

Archive for the ‘migration’ tag

Migration to CakePHP RC2

without comments

So far one of my app was running on 1.2.0.6311 version released on 2 Jan 2008. It worked fine, and newer version could break something, so I didn’t bother to upgrade. However now, when new functionalities are to be implemented, I finally decided to migrate (to 1.2.0.7296 RC2). Of course some things stopped working as I expected, so I decided to list them here for others.

  • custom validation methods defined in a model must be public now
  • App::Import changed again, so my post about switching from vendors() to App::Import from March 2008 is not actual anymore
  • structure of core.php file was changed a little, so configuring the file from scratch would be a good idea
  • some ‘deprecated’ warnings, easy to correct

Well that is not much, even for such a quite simple application. Honestly, I expected to face more problems. Hopefully they don’t remain undiscovered.

Written by Michał Szajbe

July 11th, 2008 at 1:09 am

Posted in CakePHP

Tagged with ,