Release: Pure Cake Power in RC1

By gwoo (gwoo)
We are very happy to announce the latest release of the best and most popular framework for web development. The release marks a great milestone for CakePHP, where we involved more developers, implemented better code coverage (with analysis!), received more contributions from more community members, and ended up with a stable and feature rich 1.2 release candidate [1]
This release is not without it's major changes, but thankfully this should be the last of those. The two most significant changes come in the usage of conditions and the deprecation of several methods.

Query conditions have always been a concern of ours, for the obvious reason of helping developers maintain secure applications. We found that in some cases, it was possible to work around what Cake expects to produce undesirable results. To help ensure that applications are secure with no extra effort on the part of the developer, we have moved all operators used in conditions to the "key" side. For example, $conditions = array('Model.field >' => $value); is the new syntax. We have maintained backwards compatibility for the most common cases, you will need to update your affected application code.

Deprecation is something we do our best to avoid, but sometimes in the interest of a simple, pure API we make the move to remove some of those old methods that have given way to simpler code. View::renderElement() is one such method that has given way to View::element(); You will not see a notice in this release, however, the next release will throw a notice and in the subsequent release the method will be removed completely. Speaking of removed methods, any deprecated code that existed prior to this release is now gone. There are a few other methods, mainly some more of those found in basics that have been deprecated. Check out the changelog[2] and have a look at the API[3] to see where these changes were made.

We also have exciting new enhancements in this release of Cake 1.2. We already alluded to the code coverage analysis. Code coverage is helping to ensure that we test as many lines of code as possible. If you have XDebug installed, you can take advantage of this nice feature. Another highly desirable feature has been additional support for more advanced queries. To help in this area we added the ContainableBehavior. The behavior is a optimized combination of the code used by Felix (in his behavior by the same name) and Mariano (in the BindableBehavior). If you were using either of these two behaviors before you may notice some slight changes to syntax, but overall the functionality makes for very powerful find operations. Several other more minor enhancements trickled their way into the core, and we will leave you to peruse the changelog[2] for those.

With all of these improvements and updates, being a CakePHP developer and building new projects on CakePHP is better than ever. To help out the project and everyone in the community, we have partnered with EliteOpenSourceJobs.com. EliteOpenSourceJobs.com is a start-up that aims to help open source communities raise funds through hosting their own job boards. They make it simple and painless for communities like ours to provide a service for developers and employers to create new applications and technology together. Check out the CakePHP job board at http://cakephp.org/jobs. Posting to the job board carries a fee, but we do that to ensure that the post is legitimate and to help the continued growth of CakePHP.

We have also begun using Ohloh Journals to let the everyone know what is going on. You can see the feed of CakePHP team members on the CakePHP.org homepage and Planet. Ohloh is great resource that helps us keep track of the project. Check it out and follow us on the journals[3].

Overall, more than 800 revisions have produced this release. We must thank everyone who contributed to the effort by writing tests, creating patches, and committing code. We hope you all enjoy the release and look forward to a quick release candidate cycle.

Bake on.

[1] http://cakeforge.org/projects/cakephp/ [2] http://trac.cakephp.org/wiki/changelog/1.2.x.x [3] http://api.cakephp.org/1.2/deprecated.html [4] http://ohloh.net/projects/cakephp/messages

 

Comments 695

CakePHP Team Comments Author Comments
 

Comment

1 Congratulations

Congratulations for this awesome release.
I used the beta since 6 months and it always provided a high stability and scalability.

Thanks to all the team for this hard work.
Posted Jun 4, 2008 by Simon JAILLET
 

Comment

2 Thanks and congrats

Just want to say thanks for all the hard work!
Posted Jun 4, 2008 by Zach Copley
 

Comment

3 Great work

I look forward to playing around with the new release. Kudos to the Cake Team!
Posted Jun 4, 2008 by Steve Oliveira
 

Comment

4 Wonderful

It's being a while meddling with beta version..It's being fun using cakephp...
Great Work and Thank you!

Cheers
Posted Jun 4, 2008 by Carter
 

Comment

5 Great guuys

compliments CakePHP team!!!

Thanks for the great job and effort!

Daniel
Posted Jun 5, 2008 by Daniel Vecchiato
 

Comment

6 Great Work Guys

I have been looking forward to this release.
Great work guys!!!

Laxmikant
Posted Jun 5, 2008 by Laxmikant Purohit
 

Comment

7 Excellent Job and Congratulation

I can't wait till I start using this release in my next project.
Happy Baking All
Posted Jun 5, 2008 by Hanibaal Diab
 

Comment

8 cake development is unique and excellent

Welcome !
we have pure diamonds here...

for sure my next project will be with cake1.2...
Posted Jun 5, 2008 by dan loaiza
 

Comment

9 Kudos

Great release ! thanks team!
Posted Jun 5, 2008 by Marcin Domanski
 

Comment

10 Keep it up

Keep up the great work guys! I'm just getting to know cakephp and love how it makes me do things The Right Way(tm) without much effort.
Posted Jun 5, 2008 by Erik
 

Comment

11 Best News I have Gotten All Week

Keep pushing it out guys. All the hard work is much appreciated.
Posted Jun 6, 2008 by Baz L
 

Comment

12 Sweet

I missed this announcement a couple days ago, but I just downloaded now. Great work guys, Cake is such a fantastic platform!
Posted Jun 6, 2008 by Matt Huggins
 

Comment

13 Great job

Pure respect...forever...
Posted Jun 9, 2008 by Lucian Lature
 

Comment

14 haha

Pure respect...forever...
That's what she said!!

haha sry could not help it. It will not happen again I'm sorry for the inconvenience. I am expecting this post to be deleted.
Posted Jun 17, 2008 by Jonah Turnquist
 

Comment

15 NOTEMPTYTITLE

Great job, guys!

Happy to hear 1.2 is one big step closer to release...

Well, at least there will be no more questions about "how to use cool 1.2 features in 1.1, because my boss is afraid of word 'beta'" :))
Posted Jun 22, 2008 by Yuri Morozov
 

Comment

16 simon jaillet, you are a scammer! and you should be ashamed of yourself

why have you scammed me like this? what have i done wrong to you, that i deserved to be treated in this way? could we please work something out soon, so that i will not have to pursue you with federal force? have you ever heard of ic3.gov? check it out, think twice, then message me back letting me know what you might consider doing. scams like this can also easily be posted on blogs or forums online, and potential employers do background checks, and online searches, and if they happen to come across a forum containing your name in a detailed story of how you scammed a 16 year old boy for $200, they might not get back to you. this can affect you in many ways. thanks for your time, have a good day.
Posted Nov 4, 2009 by nolan morford
 

Comment

17 ed

Because a lot of them have seen the undeniable technique that after awhile that it starts to look like the solution yesterday afternoon. car shipping Yes, it has be gone over the best way.


Posted Jul 22, 2010 by dan kaylee
   

Comment

19 Tiffany Jewellery Sale

Best Discounted us Tiffany Jewellery Sale Outlet provides designer Tiffany Ring,
necklaces and other jewelry in wholesale price.UK Tiffany specializes in
tiffany jewelry tiffany co Tiffany sale Tiffany jewellry hot sale now with discount. Tiffany provides the best Tiffany & Co jewelry,
including Necklaces, Bracelets, Earrings, Pendants
Tiffany Bracelets Tiffany Earrings Tiffany Necklaces Tiffany Rings Tiffany famous Tiffany Jewelry store which sell directly Tiffany Rings, Necklaces, Errings, Bracelets
and other Tiffany Jewelry
links of london links of london jewellery
Posted Jul 27, 2010 by kimi king