8. Unit Testing
Arguably one of the bigger changes
Enables better PHP 5 support
More actively maintained
Easily integrated with CruiseControl
De-facto PHP standard for Unit Testing
Install PHPUnit with PEAR
Faster
9. Unit Testing
PHPUnit, at what cost?
No more group tests
Mocks are different.. but awesome++
startTest() and endTest() deprecated
.. thats about it.
13. SPL
Standard PHP Library
Provides awesome File and Folder
operations
Classes handy for a whole range of things
No need to re-implement in the core
CakePHP 1.x was ahead of its time
PHP has caught up
Time to cut the fat
16. Request / Response
Request represents an incoming request
It replaces functionality through Controller,
Dispatcher, RequestHandler and $this-
>params everywhere
ArrayAccess implementation for backwards
compatibility
18. Sessions
Remove duplicated code (DRY)
Shouldn’t be always included (1.3 fix)
Modelise data handling
Access anywhere
Allow simple customisation
Separate Caching, Database, etc.
32. XML
As much as one can make XML make sense..
.. we’re doing it
1.x was very CakePHP specific with XML
Wasn’t handy for integration
Didn’t handle namespaces well
Didn’t allow for ordered nodes
Build on top of SimpleXML