CakePHP Digest #22 - Don't Go Away Mad...Just Go Away
News
CakeFest IV - Somewhere, America
The Cake team is looking for suggestions for the next CakeFest, which will take place somewhere in the U.S.A. I vote for my backyard. There's a 50/50 chance I could actually make it then.
addons.mozilla.org dumping CakePHP
The most trafficked CakePHP site has announced plans to switch to the PHP framework Django. Wait, Django is only for Python? So they're not only switching frameworks, but re-coding the whole site? They must have some real issues with CakePHP 1.2 and 1.3 to be making such a drastic change. Oh, they're still running 1.1? Don't you at least take a shot at upgrading before making such a major change? That's like switching to Snow Puppy from Vista without even trying Win7. That's right Cake is Windows in this scenario. Anyone have a problem with that?
Once addons.mozilla.org is gone (also xplodsony.com is gone too), what will be the largest Cake site in terms of visits/pageviews? Post your site with average monthly visits and pageviews in the comments. Winner will get a prominent mention in the next digest, plus a feature in a future digest when it inevitably moves to Django.
CakePHP 1.3 Alpha
CakePHP 1.3 looks pretty awesome. If I had a high traffic site that cataloged addons for a popular internet browser, that was still running 1.1, I would think about upgrading to this version. Just tossing that out there.
In The Wild
blackbooksingles.com
Hmmm...blackbooksingles.com (announced via their twitter account) is free online dating site built with CakePHP. Sound familiar?
hardwoodinfo.com
From @nezencreation: The American Hardwood Information Center. If you still find boner jokes funny (and who doesn't!), go to the homepage and read the rotating flash part and pretend all the text is about THAT kind of hardwood. My favorite: "Nature's Brilliance Has Created A Magnificent Material - Eco-Friendly, Durably, Asthetically[sic] Pleasing". I can neither confirm nor deny that this kept for entertained for a solid ten minutes.
andrw.net
A Croogo powered blog from @andruu: andrw.net and damn is it sweet looking. I have to be careful and not say too much nice stuff or WordPress will get jealous and take down my server.
In The Blogs
Ajax Pagination in 1.3
Mark Story has a post showing how to do Ajax pagination with Mootools in CakePHP 1.3. Although it seems like it would be just as easy to do with any of the other supported JavaScript frameworks. We could be seeing this in our favorite browser addons catalog in a matter of days if they didn't need to switch the entire underlying framework and coding language first. Instead it'll be roughly 2012 before they're back to 50% of the functionality they have now.
Routing Explained
If you've read the Cookbook entry and the "Secrets of Admin Routing" article and still don't get it, now we also have "Routing Explained". No more routing articles. I'm putting my foot down. Unless you still really, really don't get it. Then you get one more. But that's it. And then right to bed for you.
Get rid of .htaccess
Ryan Pendergast has a nice article on the bakery showing to speed up your Cake site by moving the mod_rewrite rules that are in your .htaccess file to Apache's config. Another speed up tip: Remove Apache, along with your .htaccess files and install Nginx.
Code
Archivable Behavior
Sohaib Muneer release a new Archivable Behavior. It's kind of like some of the "Soft Deletable" behaviors that are floating around, expect instead of flagging the row in the database it moved it to another table, so that the original table doesn't get too cluttered. I like to call this "The Table of Misfit Rows".
Searchable Plugin
This one is from Neil Crookes. It's a plugin for doing site searches, without having to rely on a search engine. I haven't had a chance to play with it yet, but I have no doubt it's completely awesome.
I'm Out!
And on that note don't forget to subscribe to my feed or follow me on twitter.
As always if you think I missed something leave a comment. Or if you do something interesting and want it included in the next digest, send me an email.

14 Comments
I know of at least two large CakePHP projects, where a rewrite in another language is more probably than updating to Cake 1.2 or 1.3.
http://www.missuniverse.com/
They had the cake favicon before, but removed it.
The /pages/home test doesn't work, but there's a /js/vendors.php file...
And this link tells about Cake : http://www.missuniverse.com/test.php
I dont' know its stats, but I'm pretty sure it has a good audience.
My site gets decent traffic: http://www.sc2armory.com/app/webroot/mint/
good luck
I'm not surprised people are reluctant to give their traffic numbers, and neither will I. Still, for interests sake epubBooks.com runs on CakePHP.
i have your post "Integrating Facebook Connect with CakePHP’s Auth component" from the link "http://planetcakephp.org/aggregator/items/1913-integrating-facebook-connect-with-cakephp%E2%80%99s-auth-component". The post was really helpful. Thanks for the post.
my question is, where to place the xd_receiver.htm?
Bye
Nazmul Hassan