Log message #1109865

# At Username Text
# Oct 22nd 2009, 09:51 ionas I would create complete relationships
# Oct 22nd 2009, 09:51 dogmatic69 im calling from the Publisher that is not needed
# Oct 22nd 2009, 09:51 dogmatic69 nope
# Oct 22nd 2009, 09:50 ionas and does Country HasMany Publisher?
# Oct 22nd 2009, 09:50 Iiridayn_ In response to your suggestions - it's decreased server load I seek. Using CakePHP was not my decision, though I honestly feel that I might have chosen the same. However, now that we are we need to find a way to make it scale. For obvious reasons, using D or C was out
# Oct 22nd 2009, 09:50 dogmatic69 well then $this->Model->tagErrorMsg() in the controller
# Oct 22nd 2009, 09:50 jcrawford in the view rather than storing the message in the flash
# Oct 22nd 2009, 09:50 jcrawford they show using $html->tagErrorMsg()
# Oct 22nd 2009, 09:50 dogmatic69 ionas: Publisher belongsTo Country
# Oct 22nd 2009, 09:50 jcrawford dogmatic69 i am asking because I was looking at this tutorial http://bakery.cakephp.org/articles/view/detecting-duplicate-entries-when-updating
# Oct 22nd 2009, 09:49 ionas if its not a linear relationship afaik
# Oct 22nd 2009, 09:49 dogmatic69 jcrawford: $this->erros = xyz; then in controller $this->Model->errors
# Oct 22nd 2009, 09:49 ionas dogmatic69, you know that you might have to cascade contain
# Oct 22nd 2009, 09:49 dogmatic69 jcrawford: session is not available in flash
# Oct 22nd 2009, 09:48 dogmatic69 its not doing LEFT JOIN Country...
# Oct 22nd 2009, 09:48 jcrawford from the model is there no way to set a message in the flash messenger? setFlash()?
# Oct 22nd 2009, 09:48 dogmatic69 ionas: http://bin.cakephp.org/view/481519696
# Oct 22nd 2009, 09:48 markstory or the internet
# Oct 22nd 2009, 09:47 dakota or php
# Oct 22nd 2009, 09:47 dogmatic69 !bin
# Oct 22nd 2009, 09:47 dakota If you really really need the speed then don't use a framework
# Oct 22nd 2009, 09:47 ionas if it does, switch on debug 2 and check if the ORDER BY clause is right
# Oct 22nd 2009, 09:47 Iiridayn_ I've been trying so hard to be good and not touch the framework files
# Oct 22nd 2009, 09:47 markstory that will be much faster.
# Oct 22nd 2009, 09:47 ionas and see if the contains works at all
# Oct 22nd 2009, 09:47 markstory if you need another 0.000009 seconds then write a different cache helper, and save flat html files.
# Oct 22nd 2009, 09:47 ionas dogmatic69, fetch some data
# Oct 22nd 2009, 09:47 Iiridayn_ In other words, not really :/
# Oct 22nd 2009, 09:47 daddy ola bakers
# Oct 22nd 2009, 09:47 markstory rewrite the cache helper
# Oct 22nd 2009, 09:46 Iiridayn_ markstory: Is there a way to skip initiallzing the controller in the cache, to save some time?
# Oct 22nd 2009, 09:46 markstory that's why you need the controller.
# Oct 22nd 2009, 09:46 Ceeram just 3 remaining failing cases, those are not one of them
# Oct 22nd 2009, 09:46 markstory Iiridayn_: well you can enable controller callbacks when you make view caches.
# Oct 22nd 2009, 09:45 ionas <?=$paginator->sort(__('Date', true), 'Shout.created')?> or <?=$paginator->sort(__('Nickname', true), 'FromProfile.nickname')?>
# Oct 22nd 2009, 09:45 Ceeram they pass
# Oct 22nd 2009, 09:45 Ceeram no
# Oct 22nd 2009, 09:45 dogmatic69 ionas: ye its working with Industry not with country
# Oct 22nd 2009, 09:45 markstory you might get fails on dbo source and dbo mysql tests
# Oct 22nd 2009, 09:45 Ceeram -t
# Oct 22nd 2009, 09:45 Ceeram id didnt put it there, but i like it much thought