Re: [fw-general] Problems with Zend_Dojo and blank screens in Firefox

2010-09-23 Thread Ralf Eggert
Hi Matthew, thanks for clarification. > The Dojo documentation for creating layer profiles is here: > > http://docs.dojocampus.org/build/index I followed the instructions and until now I haven't seen any blank screen yet again. I will check it for a while but hopefully it has gone. I just

Re: [fw-general] Problems with Zend_Dojo and blank screens in Firefox

2010-09-23 Thread Mike A
On 23/09/2010 12:49, Ralf Eggert wrote: The only problem is that there are still dozens and dozens of synchronous XHR for lots of dojo js files. Something must still be wrong with my settings. Any idea? Thanks and best regards, I must admit that learning the combined Zend and Dojo framework

Re: [fw-general] Problems with Zend_Dojo and blank screens in Firefox

2010-09-23 Thread Ralf Eggert
Hi Mike, thanks for your comments. > Where are you enabling Dojo - in a bootstrap? I have a controller plugin for setting up the view. In the dispatchLoopStartup() I have the following lines: Zend_Dojo::enableView($view); $view->dojo()->enable(); $view->dojo()->setDjConf

Re: [fw-general] Problems with Zend_Dojo and blank screens in Firefox

2010-09-23 Thread Mike A
On 23/09/2010 15:51, Ralf Eggert wrote: Hi Mike, thanks for your comments. Where are you enabling Dojo - in a bootstrap? I have a controller plugin for setting up the view. In the dispatchLoopStartup() I have the following lines: Zend_Dojo::enableView($view); $view->dojo(

Re: [fw-general] Problems with Zend_Dojo and blank screens in Firefox

2010-09-23 Thread Ralf Eggert
Hi Mike, > Assuming the way your personalised Dojo build is not the culprit, have > you tried moving your setDjConfigOption('parseOnLoad', false) into the > project bootstrap? I vividly recall that moving it into bootstrap in > this way caused a drastic reduction in colourful words and death th

[fw-general] query the database. Uhh..where do those go?

2010-09-23 Thread Shawn
Greetings all, I went through the Zend 1.10 quick-start tutorial without any issues, Yeah! Now I would like to query the database to return specific data. For a simple example "SELECT comment, email FROM Guestbook"; Where would that go? The controller?, or the Mapper models/guestbookMapper.php

Re: [fw-general] query the database. Uhh..where do those go?

2010-09-23 Thread Ralph Schindler
Hey Shawn, Now I would like to query the database to return specific data. For a simple example "SELECT comment, email FROM Guestbook"; Where would that go? The controller?, or the Mapper models/guestbookMapper.php, The model maybe? It's ok, common question. Your answer? "It depends". If

[fw-general] Zend_Cache and dynamic backend location ?

2010-09-23 Thread debussy007
Hi, I want to store the cache files at a dynamic location. e.g. ./tmp/123/ ./tmp/3467/ ./tmp/18/ etcetera But when calling save(), seems that I cannot specify a subdirectory unfortunately. So is there any way to achieve that ? This is how I use Zend_Cache, but now all files are in "./tmp/" :

Re: [fw-general] Zend_Cache and dynamic backend location ?

2010-09-23 Thread Hector Virgen
How will you read from the cache if you don't know where the the cache file is? I would suggest using separate cache instances for different locations. For example, a database cache could store cache file in /tmp/db while a page cache could store them in /tmp/pages. You can then pick the right cac

Re: [fw-general] Zend_Cache and dynamic backend location ?

2010-09-23 Thread Renan de Lima
look at "hashed_directory_level" option in Zend_Cache_Backend_File this makes "dynamic" directories generation, $id is the seed, so it's not random, but i think it may works for you see http://framework.zend.com/manual/en/zend.cache.backends.html#zend.cache.backends.file -- Renan de Lima Barbosa

[fw-general] Re: Zend_Cache and dynamic backend location ?

2010-09-23 Thread debussy007
Thank you for your replies. I do not generate a random value (seems that you both understood it like that), but those subdirectories would be id's that I know in my application. @Renan de Lima Seems what I need, I can read in the doc : "This option can speed up the cache only when you have man