[fw-general] Invalid controller specified

2007-07-27 Thread 吴 洪声
I'm created ErrorController.php, but it doesn't help. some of my index.php: $frontController = Zend_Controller_Front::getInstance(); $frontController->throwExceptions(true); // $frontController->returnResponse(true); $frontController->setParam('noViewRenderer', true); $frontController->setContro

Re: [fw-general] Invalid controller specified

2007-07-27 Thread Matthew Weier O'Phinney
-- 吴 洪声 <[EMAIL PROTECTED]> wrote (on Friday, 27 July 2007, 04:44 PM +0800): > I'm created ErrorController.php, but it doesn't help. > > some of my index.php: > > $frontController = Zend_Controller_Front::getInstance(); > $frontController->throwExceptions(true); Don't turn on throwExceptions() w

Re: [fw-general] ZF is ubeatable BUT...

2007-07-27 Thread Allen Ayres
Thomas Weidner-2 wrote: > > Hy, > > The framework is build as module library. > > So if you don't use a part of the framework you don't need to copy it into > your production site. > Thank you for the explanation Thomas. I was a bit concerned about our commercial app being large and unwield

[fw-general] Zend_Search_Lucene performance issue

2007-07-27 Thread Daniel Freudenberger
Hello, I've started playing around with zend_search_lucene in the morning and at first, I was very impressed. After that I've started to index all of the relevant items that are stored in the database so far. The index now contains 28069 documents and the find() method takes ~0.4 seconds to retur

Re: [fw-general] Config-driven framework components

2007-07-27 Thread Ralph Schindler
Bear in mind, I am not offering these thoughts up for any type of immediate inclusion to the framework, just something to consider in part with the config argument as it will come up as more complete modules for using in ZF enabled applications will emerge. By itself, Zend_Db neither provides nor

Re: [fw-general] Zend_Search_Lucene performance issue

2007-07-27 Thread Daniel Freudenberger
Sorry, the code should be $iterations = 100; $index = new Zend_Search_Lucene('c:\index'); $userQuery = Zend_Search_Lucene_Search_QueryParser::parse('fifa'); $begin = microtime(true); for($i = 0; $i < $iterations; ++$i) { $hits = $index->find($userQuery); } echo

[fw-general] Zend_Config and arrays

2007-07-27 Thread Jordan Raub
I'm using a Zend_Db_Table and I have a PK with multiple columns. I want to put this in my config file, config.xml. so primary needs to be an array integer indexed starting with 1. You can't have <1>columnName in XML (http://www.w3.org/TR/REC-xml/#NT-Name), so I can't just take the Zend_Config a

RE: [fw-general] Zend_Config and arrays

2007-07-27 Thread Bill Karwin
I would recommend declaring the primary key in the RDBMS and letting Zend_Db_Table discover it automatically, or else stick with the "array_unshift" workaround you're currently using. Regards, Bill Karwin > -Original Message- > From: Jordan Raub [mailto:[EMAIL PROTECTED] > Sent: Friday,

Re: [fw-general] Zend_Search_Lucene performance issue

2007-07-27 Thread minglee
Hi Daniel, I think you might post your message in a wrong position, I suggest you to start new message, otherwise your will be hardly seen by others. I have not yet started to try ZF Lucene. So I can not give any comments. Regards, Minglee Daniel Freudenberger wrote: > > Sorry, the code shoul

[fw-general] Zend_Search_Lucene performance issue

2007-07-27 Thread Daniel Freudenberger
Hello, I've started playing around with zend_search_lucene in the morning and at first, I was very impressed. After that I've started to index all of the relevant items that are stored in the database so far. The index now contains 28069 documents and the find() method takes ~0.4 seconds

[fw-general] About Module Controls

2007-07-27 Thread mysticmoonboy
Hey Everybody; I am in big trouble about module control in zend framework. I checked manual but there is no example. I try to use module and I dont know where I am gonna create module folder and how I am gonna route it. I tried everything at the manual but it does not work and I can not found an e