Google Groups Home
Help | Sign in
New CakePHP Releases
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Larry E. Masters aka PhpNut  
View profile
 More options Oct 22 2007, 8:36 pm
From: "Larry E. Masters aka PhpNut" <php...@gmail.com>
Date: Mon, 22 Oct 2007 19:36:47 -0500
Local: Mon, Oct 22 2007 8:36 pm
Subject: New CakePHP Releases

We have some new releases available for download. Version 1.1.18.5850 [1] is
a bug fix update to the current stable release. Version 1.2.0.5875 pre-beta
[2] is the pre beta release of the current development version.

We decided to have pre beta since a lot of new features have been added
since the last alpha release. There are still some new features to
implement, so we are holding the beta release until all the enhancement
tickets are closed. This release took a little bit longer than expected, but
we say it was worth the wait.

As usual, this release includes hundreds of minor fixes, enhancements, and
speed improvements.  This release also includes several major feature
additions, which we've been working hard on to implement so CakePHP remains
the best framework for web application development in PHP.

A number of important features were added to improve support for
implementing web services, including simplified REST routing, i.e.:

Router::mapResources('posts');

This will map each HTTP request to it's corresponding controller method
(index, view, add, edit or delete).  For example, a PUT request to /posts/1
maps to the edit() method of PostsController.  In addition, the Router now
supports a whole range of HTTP header detection options.  Controlling access
to your web services is easier than ever, too.  The Security component now
supports HTTP basic and digest authentication, which is easily configurable
in your controller's beforeFilter() method.

The Auth component has also undergone extensive refactoring, making it
possible for you to plug in your own custom login authentication method or
access control system.

In the first of several major changes to the Model, findCount() and
findAll() are being replaced by the new find() syntax.  This new syntax
allows you to specify parameters as an array, like the following:

Post->find('count', array('conditions' => array('Post.comments_count' => '<
20'));
Post->find('first', array('conditions' => array('Post.comments_count' => '<
20'), 'order' => 'Post.date ASC'));
Post->find('all', array('limit' => 10, 'order' => 'Post.date ASC'));

Pagination flexibility has also been improved with the addition of
Model::paginate(), and Model::paginateCount(), which you can define in your
models to handle custom pagination.  Each method takes the same parameters
as findAll() and findCount(), respectively.

Also in the database department, schema generation has been implemented for
several databases.  Schema generation allows you to create and edit your
database schemas with your favorite tool, and Cake's schema tools will
manage the changes for you.

In an ongoing effort to improve the flexibility of Cake's (minimalistic)
configuration, most of the constants in core.php have been migrated to
settings in the Configure class.  Check out the latest version of
core.phpand update your app's configuration accordingly.  To help you
identify the
settings that should be changed, friendly warning messages have been added
to point you in the right direction.

In addition to code, the docs team has been hard at work over the past few
months improving the documentation, and along with this release, we're now
ready to unveil the pre-beta version of the CakePHP 1.2 manual, at
http://tempdocs.cakephp.org/.  There are still many things missing, but if
you find any errors, please submit documentation tickets.

And last but certainly not least, significant work has done to lay the
foundation for full, PHP-native Unicode support in CakePHP. This means we do
not have to wait for PHP6 to make it possible to fully internationalize your
PHP application on any platform, independent of installed extensions.

With all these new features, we hope you agree that CakePHP 1.2 pre-beta was
worth the wait.  This will be the last release before the 1.2 API is fully
stabilized, and we can't wait for you to try it.

[1] Download 1.1.18.5850:
http://cakeforge.org/frs/?group_id=23&release_id=343
    1.1.x.x change long: https://trac.cakephp.org/wiki/changelog/1.1.x.x

[2] Download 1.2.0.5875 pre-beta:
http://cakeforge.org/frs/?group_id=23&release_id=344
    1.2.x.x change log: https://trac.cakephp.org/wiki/changelog/1.2.x.x

--
/**
* @author Larry E. Masters
* @var string $userName
* @param string $realName
* @returns string aka PhpNut
* @access  public
*/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Grant Cox  
View profile
 More options Oct 22 2007, 10:30 pm
From: Grant Cox <grant....@gmail.com>
Date: Mon, 22 Oct 2007 19:30:19 -0700
Local: Mon, Oct 22 2007 10:30 pm
Subject: Re: New CakePHP Releases
Thanks Larry, and the rest of the CakePHP team - you guys rock.  I
think everyone will agree that all of these features are definitely
making the wait for 1.2 worthwhile.  I generally keep close to the
1.2.x branch, but there are so many awesome features here that I am
yet to use - you guys are really over-delivering!

I think it's about time I made a donation!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tijs Teulings  
View profile
 More options Oct 23 2007, 4:29 am
From: Tijs Teulings <tteuli...@gmail.com>
Date: Tue, 23 Oct 2007 10:29:40 +0200
Local: Tues, Oct 23 2007 4:29 am
Subject: Re: New CakePHP Releases
Grant Cox wrote:
> Thanks Larry, and the rest of the CakePHP team - you guys rock.  I
> think everyone will agree that all of these features are definitely
> making the wait for 1.2 worthwhile.  I generally keep close to the
> 1.2.x branch, but there are so many awesome features here that I am
> yet to use - you guys are really over-delivering!

indeed. awesome work! an unbeatable feature set if you ask me, obviously
biased but still :)

> I think it's about time I made a donation!

nice reminder... i think i will follow your example.

--
Tijs Teulings
tel: +31645004824
http://blog.tijs.org

more:
http://www.automatique.nl
http://geekdinner.nl
http://roomwareproject.org


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dizz  
View profile
 More options Oct 23 2007, 8:21 am
From: dizz <andru.w...@gmail.com>
Date: Tue, 23 Oct 2007 12:21:41 -0000
Local: Tues, Oct 23 2007 8:21 am
Subject: Re: New CakePHP Releases
How is Router::mapResources('Posts'); used in the Controller and in
the views?

Larry E. Masters aka PhpNut wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nate  
View profile
 More options Oct 23 2007, 9:02 am
From: nate <nate.ab...@gmail.com>
Date: Tue, 23 Oct 2007 13:02:11 -0000
Local: Tues, Oct 23 2007 9:02 am
Subject: Re: New CakePHP Releases
As with most Router methods, this one is called in config/routes.php.

On Oct 23, 8:21 am, dizz <andru.w...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
varun krishnan  
View profile
 More options Oct 23 2007, 8:53 am
From: "varun krishnan" <varunkr...@gmail.com>
Date: Tue, 23 Oct 2007 18:23:51 +0530
Local: Tues, Oct 23 2007 8:53 am
Subject: Re: New CakePHP Releases
I really cant wait for a stable 1.2 .. its got a great feature set ..
What time of the year is 1.2 stable expected Larry ?

thanks,

Varun

On 10/23/07, dizz <andru.w...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
yevgenyt@gmail.com  
View profile
 More options Oct 23 2007, 10:33 am
From: "yevge...@gmail.com" <yevge...@gmail.com>
Date: Tue, 23 Oct 2007 07:33:48 -0700
Local: Tues, Oct 23 2007 10:33 am
Subject: Re: New CakePHP Releases
Nate, can you explain me how five classical cakephp CRUD methods can
manage resources requests.
Really edit and add methods made two actions instead of one. In RoR in
case of resources used 7(seven!) methods.
So I ask example how resources will work with add/edit/index/view/
delete or add two aditional methods to resource maping.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
yevgenyt@gmail.com  
View profile
 More options Oct 23 2007, 10:36 am
From: "yevge...@gmail.com" <yevge...@gmail.com>
Date: Tue, 23 Oct 2007 07:36:42 -0700
Local: Tues, Oct 23 2007 10:36 am
Subject: Re: New CakePHP Releases
Nate, can you explain me how five classical cakephp CRUD methods can
manage resources requests.Really edit and add methods made two actions
instead of one.
In RoR in case of resources used 7(seven!) methods.
So I ask example how resources will work with add/edit/index/view/
delete  or add two aditional methods to resource maping.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AD7six  
View profile
 More options Oct 23 2007, 10:38 am
From: AD7six <andydawso...@gmail.com>
Date: Tue, 23 Oct 2007 14:38:27 -0000
Local: Tues, Oct 23 2007 10:38 am
Subject: Re: New CakePHP Releases

On Oct 23, 4:36 pm, "yevge...@gmail.com" <yevge...@gmail.com> wrote:

> Nate, can you explain me how five classical cakephp CRUD methods can
> manage resources requests.Really edit and add methods made two actions
> instead of one.
> In RoR in case of resources used 7(seven!) methods.
> So I ask example how resources will work with add/edit/index/view/
> delete  or add two aditional methods to resource maping.

If you get a message "Message sent" that means don't send it again...

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dizz  
View profile
 More options Oct 24 2007, 1:23 am
From: dizz <andru.w...@gmail.com>
Date: Wed, 24 Oct 2007 05:23:51 -0000
Local: Wed, Oct 24 2007 1:23 am
Subject: Re: New CakePHP Releases
Yes, I realized that :)

I copied that line into my routes file and went to project/posts/1
instead of project/posts/view/1 and it says post not found, so I
assume there is more than just sticking that line in the routes file.
Also is there something to pass the method in the views? For instance
if I wanted to create an html link to delete how could I pass the
correct resource type for that link?

Thanks again for all the great work, I love this framework!

On Oct 23, 8:02 pm, nate <nate.ab...@gmail.com> wrote: