CakePHP Digest #25 All Hail 1.3 Stable

Posted by Matt on Tue, Apr 27 2010

Sponsor

For the first time the CakePHP Digest series has a sponsor - and it's me. I need some work. Not a lot, just a few hours a week. What, you thought I did these out of the goodness of my heart? Ha! I've just been waiting for the chance to exploit these digests for my own personal gain. Apparently making it rain (link NSFW...unless you work in a strip club) from rolls of nickels at the dance clubs just isn't a good idea. Paper money is the way to go and I need some to cover all the medical bills those nickels caused.

News

Cake 1.3 Stable

There have been roughly 15 CakePHP 1.3 releases since the last digest, but the only one that matters is 1.3 Stable. Awesome. If you've been waiting for 1.3 to go stable before switching and complaining about bugs (because it's not fun to complain about bugs in RCs) then now's your chance. I made the switchover around RC3 and feel like a moron for waiting so long. It was so damn easy. Almost like they want you to switch. Might have to file a bug about that.

Docs and API for 1.3 are also available.

Congratulations to the entire Cake team and everyone who contributed to 1.3.

Cake 1.2.7 Release

There is also an update to the 1.2 branch, which fixes a "security concern" that only affects sites running with debug enabled. Hahaha! Who runs their sites with debug on. Oh...uh...yea all those dev/testing sites. Hey everyone look over there. *quickly runs and upgrades dev sites*

CakeFest 2010

No info at the moment, just a teaser page. Consider me sufficiently teased.

Croogo 1.3

The CakePHP powered CMS Croogo made the jump to CakePHP 1.3. There isn't an upgrade guide and if you drop the new version over your old Croogo it kicks off the install. The easiest way to handle this is run through the install with a blank database, then once you're done switch the database back to your old one. The schema is pretty much the same - just two new columns in the users table.

Themes and plugins will also need to be updated, which mostly consists of making a yml (ugh) config file.

CakePackages

CakePackages, which helps you find code for your projects, is now tracking upwards of 548 projects by 284 devs. I think between myself and @savant we're responsible for 547 of the projects and the other 283 devs are responsible for the other 1.

In The Wild

Tripeo

Tripeo is a UGC site for Canadian travel. There is a short write-up on it in The Bakery.

PopGames4u.com

Another Bakery article promoting the games directory: PopGames4u.com. I think "pop" is short for popular, but it could be short for Pop Tarts. Hmmm...Pop Tart Games 4 me.

In The Blogs

Why You Should Upgrade to 1.3

If me telling you to upgrade to 1.3 isn't enough here's a post from Mark Beukers with "logic" and "reason".

Screencast - Building a FAQ in 5 Minutes

Deon Heunis has a screencast showing a simple FAQ. It's pretty much a screencast showing how to get Cake setup and use bake. Unfortunately there isn't any audio, so it might be tough for newbs to keep up.

WordPress + CakePHP

The topic of how to link up WordPress and CakePHP seems to come up a lot. Tim Trice has a detailed post showing how to build a Cake app onto WordPress database.

MongoDb with CakePHP

Mark Story has a post about how to use the MongoDB dataousce (from Yasushi Ichikaway) with CakePHP. Am I the only one who wishes the MongoDB logo somehow incorporated an 80s Chicago Bears jacket? Uh, yeah, ok I guess I am the only one.

CakePHP Alias

Nick Baker has a post on the under-appreciated model attribute alias.

Controller::setAction()

Yet another secret function, Controller::setAction(), is detailed by Miles Johnson.

CakePHP and Nginx

Kevin van Zonneveld has a post showing how to setup Nginx (my favorite web server) to host Cake apps.

Deployinh CakePHP apps with Capistrano

By Jean Philippe Doyle, in The Bakery, an article on deploying CakePHP apps with Capistrano.

Code

From CakeDC

CakeDC has been busy releasing plugins, so I'm just going to list them all there:

Sanction Plugin

The Sanction Plugin from Jose Diaz-Gonzalez is an easy way to control permissions within your app.

Oauth Extension

Neil Crooks unveiled his Oauth Extension which looks awesome and it is a much smarter implementation then what I did for my Twitter client, 20Couch. Speaking of Twitter, did you know their shutting off basic auth access on June 30th? If you have a Cake/Twitter app now is the time to switch.

bit.ly Datasource

With short urls being all the craze (I prefer to call them stubby), this bit.ly datasouce from Jonathan Bradley will probably be useful to some of you.

Referee Plugin

Joe Beeson unleashed (hard to come up w/ different ways of saying released) his Referee Plugin, which tracks issues and errors in your app. This almost makes me wish I made errors.

Asset Compress

An already crowded area for CakePHP code gets another addition - Asset Compress from Mark Story. You may also want to check out my Asset Packer. If you didn't see that link coming then you haven't been paying attention. I now know how a rooster trainer feels when his prize cock gets pecked to death by the new champ.

Copyable Behavior

Jamie Nay unshackled his Copyable Behavior, which helps copy DB records including those in associated models. Also from Jamie: Cipher Behavior - which aids in two way encryption if you're willing to infect your app with a Zend component.

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.

Posted in CakePHP

6 Comments

TG2345 said on Apr 27, 2010
Uhmm cakeqs?
Matt said on May 05, 2010
Yeah, thought I had mentioned that in a previous digest. Guess not.
Miles Johnson said on Apr 27, 2010
Guess I better join the CakePackages club :P
Promotional Travel Gifts said on Apr 29, 2010
Folks, i am new to CakePHP. I know about PHP and want to learn Cake ... is 'too much' to digest in it. I mean can i get some resource.
Jose Diaz-Gonzalez said on May 03, 2010
It's "Sanction". Not "Santion". Also, "TinyMCE", not "TineMCY". You should proofread these posts...

Since I'm constantly adding new packages to cakepackages.com, I might just start a digest of my own to put you out of business ;)

Thanks for the shoutout! For the record, CakePackages has reached ~600 packages from 300 developers now, and will start adding new datasources for places like CodaSet and Google Code next :)
Matt said on May 05, 2010
It's usually pretty late when I work on these, which is my excuse for the typos. No need to santion me though.














:)