User Profile

User
 tizzle
Location
 The Netherlands
Time Zone
 (GMT 1): Austria, Belgium, Cameroon, France, Germany, Italy, Spain
URL
 http://tijs.org

Recent Comments

Posted 25/11/2009 04:11am
I just finished migrating the quite large codebase of social art guide http://narb.me to cake 1.3 and it was almost painless. took perhaps 2 hours and only ran into one issue with a model relationship not taking which was solved by doing a bindmodel on the fly for now. i'll look into that later but overall i'm really happy with the changes. Love that the focus is on a cleaner API and overall speed instead of features.
Posted 02/01/2008 05:59am
Great, great release! A happy new year to you too, may you be rewarded in spirit and fortune for giving us these great tools. I guess i'll start with the fortune bit and donate again ;)
Posted 29/12/2007 05:51am
http://upcoming.yahoo.com/event/395337/
I won't be able to attend myself because of the distance but sounds like a lot of fun! great idea.
Posted 09/07/2007 05:57am
Hi Rob, great writeup. You mention that ordering over multiple tables is not yet possible but it actually is (or it has become possible in the latest version). To use this functionality make sure your base model contains the other table, setting recursion to a higher level usually helps.

In your controller, first set the ordering for your pagination:


$this->paginate = array('order'=>array('Table2.somefield'=>'asc'));

And then make sure you create the pagination object with a high enough setting for recursive so the second table is included in the result.


$myPaginateObject = $this->paginate('Table1', array(), array('recursive'=>2));

Then you should be able to use the paginate object in your view without a hitch.
Posted 26/11/2006 05:44am
I still feel Cake offers enough of a speed improvement in development too make this less of a problem. However it would be great if this post sparked a bit of an optimizing effort. The Database connection-less case that Paul has chosen does make a nice target for optimization since it is very easy to test without worrying too much about external factors like incorrect server configuration issues, slow databases, etc. We should at least be able to kill Zend right? :)