I’ve been meaning to try Ruby on Rails, not because I like Ruby, or even use Ruby, but the Rails framework is supposed to be the big payoff there. But now there’s CakePHP (and other frameworks) that try to do the RoR thing in PHP.
So far I’ve just worked through the CakePHP Wiki’s blog_tutorial_-_1, which all made sense, though I was very disappointed to see GET’s deleting data… Didn’t we learn this is bad? (GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval) In the apps I build, the ‘delete’ is typically a GET request to a page that then does a delete via a POST. That might not be perfect, but it works, and adds a confirmation to data deletion that most users seem to appreciate. (Ok, it looks like there is a Javascript confirmation at delete with the blog_tutorial_-_1 code, but in my opinion, that isn’t enough.)
Other than that little data deleting issue, CakePHP looks interesting, and I’ll dig in a bit deeper and see what it can do.
