<VirtualHost www.cakeblog.dev>
DocumentRoot "/Users/USERNAME/Sites/cakeblog"
ServerName cakeblog.dev
ServerAlias www.cakeblog.dev
<Directory "/Users/USERNAME/Sites/cakeblog/">
Options FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
The line you add to /etc/hosts should be:
127.0.0.1 www.cakeblog.dev
The tutorial is pretty accurate about how to set up PHP and MySQL.