all repos — h3rald @ 90056b98b87a1f24b5366458df8e3d7ae2c4db18

The sources of https://h3rald.com

contents/articles/24.html

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
-----
title: "CakePHP 1.0 released"
content-type: article
timestamp: 1146625560
tags: "cakephp|webdevelopment"
-----
<p>As <a href="http://digg.com/programming/CakePHP_1.0_has_been_released">Digg</a>_ points out, the first <em>stable</em> version of CakePHP was released, yesterday. I should have posted yesterday about it, and no, I didn&#8217;t forget: I was just busy downloading the new version, have a look at the new site, talk to people etc.</p>
<p>Anyhow, it&#8217;s ready, just baked and smells damn good. Go get it if you didn&#8217;t already, it&#8217;s available at <a href="http://cakeforge.org/frs/?group_id=23">the usual place</a>, even this time you won&#8217;t be disappointed. CakePHP now reached the 1.0 milestone, in a way which reminds me a lot about Mozilla Firefox: a lot of people were already using it <em>before</em> it went stable officially!</p>
<p style="float:left;"><img src="http://base--/img/pictures/CakePHP_1.0.png" alt="" /></p>
<p>The CakePHP Team has been humble enough not to declare their product <em>stable</em> before the time. I personally considered CakePHP stable <em>enough</em> since RC2&#8230; and considering that this site and many others have been built on alpha, beta and RC version, I think people can get an idea of Cake&#8217;s reliability.<br />
Nothing (too) new came out the oven this time: CakePHP 1.0 is mainly a bugfix release, with all the features we&#8217;ve learnt to love. It&#8217;s just <em>better_: a lot of things have been fixed, model associations work better, etc. etc. You can read the <a href="http://cakeforge.org/frs/shownotes.php?group_id=23&amp;release">changelog/announcement</a></em>id=85 or have a look below for a quick summary of the new features and most interesting fixes:</p>
<pre><code>
Revision: [2420]
Added fix for Ticket #320.
Fixed Model::save() so it will only allow a model to save itself.
Fixed Model::save() when saving a HABTM association

Revision: [2437]
Adding fix for Model::findNeighbours().
Was returning all associations and fields. Now recursive
is set to 0 and only returns the prev and next keys array

Revision: [2456]
"Enables use of Controller::$data in addition to Controller::$params['data']"

Revision: [2490]
Fixing a bug that occurs when connecting to two different
databases on the same server, and enabling cross-database
model associations

Revision: [2491]
Adding Microsoft SQL Server driver [EXPERIMENTAL]

Revision: [2577]
Adding $alias property to enable future Oracle support

Revision: [2625]
Bringing all DB drivers up to date

Revision: [2653]
Adding check for custom error class in app/.
Added check for AppController::appError(); will be called if this method 
is in AppController.
</code></pre>
<p style="float:right;"><img src="http://base--/img/pictures/cakesite.png" alt="" /></p>
<p>If you&#8217;re not too excited about this new release, maybe you should have a look at <a href="http://www.cakephp.org">www.cakephp.org</a>. Different? Damn right it is: it looks like someone listened to our prayers for a new website design. The merciful soul is <a href="http://www.nolimit-studio.com/">Armando Sosa</a>, the winner of CakePHP&#8217;s design contest. He&#8217;s a latin-american web designer who had the <span class="caps">GREAT</span> idea of thinking about an <em>innovative</em> design for the Cake site&#8230; Actually my dad didn&#8217;t think that way: <em>&#8220;That&#8217;s not new, that way of advertising was all over the place when I was a kid!&#8221;</em> And he&#8217;s right, Armando thought that a fifties-like template would have been perfect for Cake. Forget all the smooth, roundy-and-chubby, toons-like &#8220;official&#8221; Web 2.0 designs (beta), the new Cake site needs to stand out of the crowd&#8230;</p>
<p style="float:left;"><img src="http://base--/img/pictures/fonz.jpg" alt="" /></p>
<p><br /><br />
<em>Heyyy! Well done guys&#8230;</em></p>