News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Debuggable Blog:
How to do Group By conditions in Model find() calls in the CakePHP RC1
June 12, 2008 @ 08:48:09

On the Debuggable blog, Tim Koschutzki shows how to use grouping in your SQL statements with the find() method calls inside of a Model for an app.

We have to thank Mark Story and wluigi for working on group by conditions for Cake's Model::find() method. Up until now, you would have to add your GROUP BY stuff to string'ed conditions in order to support a group by statement, which could be very ugly.

He has some code included that compares the two methods - the newer of the two applying the 'group' option as a regular condition to the query object.

This functionality is currently only in the the Release Candidate 1 but will be included in the next major release.

0 comments voice your opinion now!
cakephp framework groupby grouping conditional paginate


Matthew Weir O'Phinney's Blog:
Zend_Form Advanced Features
April 08, 2008 @ 12:13:35

Matthew Weir O'Phinney has written up a post for his blog outlining some of the other cool little features that were included in the recent release of the Zend Framework, specifically with the Zend_Form component.

I've been working on for the past few weeks, and it's nearing release readiness. There are a number of features that Cal didn't cover in his DevZone coverage (in part because some of them weren't yet complete) that I'd like to showcase.

These additional features Matthew mentions are:

  • Internationalization
  • Element Grouping
  • Array Support

Check out more of the great features of the component in the Zend Framework documentation.

0 comments voice your opinion now!
zendform advanced feature internationalization grouping array


Matthew Weir O'Phinney's Blog:
Zend_Form Advanced Features
February 11, 2008 @ 13:54:00

In a new post to his blog today, Matthew Weir O'Phinney dives in to some of the more advanced features that the Zend_Form component of the Zend Framework has to offer.

I've been working on for the past few weeks, and it's nearing release readiness. There are a number of features that Cal didn't cover in his DevZone coverage (in part because some of them weren't yet complete) that I'd like to showcase.

These additional features include internationalization, element grouping and array support. He looks at each of these, including some sample code where needed, and shows you how they can be useful to you and your ZF application.

0 comments voice your opinion now!
zendform zendframework advanced feature international grouping array support


Jim Plush's Blog:
Grouping PHP classes = faster by 24%
February 13, 2006 @ 06:55:53

Jim Plush wanted to try a little experiment with perfomance in PHP - specifically dealing with the placement of the class code in an application.

Out of sheer boredom I wanted to see which was better, including one big file of classes or splitting your classes up into multiple files. I'm going to use nusoap as an example. The NuSoap package lets you download one file. nusoap.php. That one file contains 9 classes. While not only is this method nice as you only need to include one class, its also 24% faster on average than having to include 9 seperate files.

In his informal testing he found that combining the files/classes into a single large file made for better performance (as far as object usage) - of course, that also makes it harder to maintain...

0 comments voice your opinion now!
grouping classes one file faster twenty-four percent grouping classes one file faster twenty-four percent



Community Events





Don't see your event here?
Let us know!


podcast symfony security library release tool opinion introduction series interview install framework language composer voicesoftheelephpant update version package laravel community

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework