nazimjamil/cakePHP-test — pull request #3 by byr0nic (2012-11-05 11:53:18+00:00)
Title: CakePHP test complete

For server-side validation, I opted to maintain as much consistency with the client-side validation as possible (to prevent two different types of experiences for the user), hence the reason why I added a small amount of JS whilst also handling the display of errors myself rather than leaving it up to CakePHP entirely.

I also began actually setting up the FB app, however that was before inspecting the Facebook component and realising (hoping?) that you weren't actually looking for a full implementation but rather simply connecting the component with the $like variable.

Hope it's all good - first go with CakePHP, so let me know if there are any glaring omissions!