RE: [fw-general] Zend_Search_Lucene performance issue

2007-07-30 Thread Daniel Freudenberger
Hi Alexander, I'm not 100% sure that I didn't miss anything important but I'm quiet sure, that the .NET result wasn't cached at all. I changed the query several times and the response time was still between 0.001 and 0.005. Two days ago I started the same benchmark with the original java lucene

Re: [fw-general] Zend_Jabber proposal is ready for comments

2007-07-30 Thread Sergej
Sorry for such a long response time. I don't know if this make things happen faster or no, but this morning I finaly managed to move my Zend_Jabber proposal to the Ready for Review section. I am wery excited to hear your reviews. -- View this message in context:

[fw-general] Problem with ZF helper

2007-07-30 Thread minglee
Hi, guys. I wrote a helper class (extends Zend_Controller_Action_Helper_Abstract), and put it in 'wwwroot/zf/application/helpers/', named as MyHelper. Then I add 'Zend_Controller_Action_HelperBroker::addPath('/zf/application/helpers/', 'MyHelper');' in init() method of my controller class, and

[fw-general] form preperation

2007-07-30 Thread sachindoijad1
How to add the text box,buttons using zend framework -- View this message in context: http://www.nabble.com/form-preperation-tf4168911s16154.html#a11860577 Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] What is the best approach for using Zend_Translate?

2007-07-30 Thread ashish.sharma
Hi ALL, I am new to zend and still in learning process. Currently I am working on Zend_Translate and would like to know the best approach to use the Zend_Translate. I am able to create .mo files and getting the translated content. Now, I would like to know the best way of getting the

Re: [fw-general] form preperation

2007-07-30 Thread Tobias Gies
Using View Helpers. See http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial 2007/7/30, sachindoijad1 [EMAIL PROTECTED]: How to add the text box,buttons using zend framework -- View this message in context:

[fw-general] Zend_Date Active Directory formats

2007-07-30 Thread Teemu Välimäki
Hi I'm quite sure Zend_Date does not support at least two AD date format. I'd be very glad if these would be supported. There's example code so it shouldn't be a problem to implement them. LDAP Active Directory Last Logon (lastlogon). http://php.net/manual/en/ref.ldap.php#61144 accountexpires

Re: [fw-general] unclear example of using of zend registry

2007-07-30 Thread dinobrago
ZegeeDotCom wrote: Can someone give me an example of how I use the zend registry. I upgraded to ZF 0.9 and my zend registry is not working. Did you ever get this working? I am running into the same problem w zf1.0.0 but it's not clear to me from the thread what actually worked in the

Re: [fw-general] unclear example of using of zend registry

2007-07-30 Thread Felix Jendrusch
http://framework.zend.com/manual/en/zend.controller.front.html#zend.controller.front.methods.primary (7.3.2.4.): Zend_Controller_Front::run($path) is a static method taking simply a path to a directory containing controllers. It fetches a front controller instance (via getInstance(), registers

[fw-general] Question about View helper attribute support

2007-07-30 Thread KMiller
Any reason that only some of the helpers support the 'id' attribute and others don't as in: FormButton.php: . ' id=' . $this-view-escape($id) . ''; FormCheckbox.php: . ' id=' . $this-view-escape($id) . '' FormFile.php: . ' id=' .

[fw-general] Error messages again

2007-07-30 Thread Joó Ádám
Hello, there was already some conversation about this. I just cannot see any error messages when I have a typo or other bug in my controllers. I have this in my bootstrap: $front = Zend_Controller_Front::getInstance(); $front-setControllerDirectory('./application/controllers');

Re: [fw-general] Error messages again

2007-07-30 Thread Joó Ádám
It was already there, but I've qouted the value... :$ Thank you, Matthew! Ádám On 7/30/07, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: Add this to your bootstrap: error_reporting(E_ALL|E_STRICT); ini_set('display_errors', true);

Re: [fw-general] Error messages again

2007-07-30 Thread Tony Harrison
Setting the display_errors directive using ini_set() is no good for fatal errors. You should change the ini file or set it from an apache config file. Tony. Joó Ádám wrote: It was already there, but I've qouted the value... :$ Thank you, Matthew! Ádám On 7/30/07, Matthew Weier O'Phinney

Re: [fw-general] Error messages again

2007-07-30 Thread Matthew Weier O'Phinney
-- Tony Harrison [EMAIL PROTECTED] wrote (on Monday, 30 July 2007, 05:22 PM +0100): Setting the display_errors directive using ini_set() is no good for fatal errors. You should change the ini file or set it from an apache config file. Um, yes, it *will* display fatal errors, so long as it is

[fw-general] Using Zend Studio 5.5.0 Debugger

2007-07-30 Thread Liao, Kexiao
Dear Zend Framework Development Team, I am trying to use Zend Studio 5.5.0 IDE to Debug the demo codes (ZFGridDemo) from zend.com/webinar. Following error message show up when I try to execute following statement from zfgrid/document_root/index.php file: $db = Zend_Db::factory(

[fw-general] Zend_Session_SaveHandler_Db, we've got working code and unit tests

2007-07-30 Thread Jordan Raub
please see http://framework.zend.com/wiki/display/ZFPROP/Zend_Session_SaveHandler_Db Jordan

[fw-general] Zend_Search_Lucene Ranged Queries

2007-07-30 Thread Jurriën Stutterheim
Hi all, I've been trying to get ranged queries to work, but unfortunatly with little success. When I have the following query: published:1995 It successfully lists all books from 1995. But when I have a ranged query it returns 0 hits: published:[1995 TO 1997] What could be the problem?

Re: [fw-general] Error messages again

2007-07-30 Thread Mark
Not if it is an error during compilation (I think) On Monday 30 July 2007 17:51, Matthew Weier O'Phinney wrote: -- Tony Harrison [EMAIL PROTECTED] wrote (on Monday, 30 July 2007, 05:22 PM +0100): Setting the display_errors directive using ini_set() is no good for fatal errors. You should

Re: [fw-general] Error messages again

2007-07-30 Thread Tony Harrison
Of course, but parse errors won't, regardless of where it's called. Matthew Weier O'Phinney wrote: -- Tony Harrison [EMAIL PROTECTED] wrote (on Monday, 30 July 2007, 05:22 PM +0100): Setting the display_errors directive using ini_set() is no good for fatal errors. You should change the

RE: [fw-general] Zend_Search_Lucene Ranged Queries

2007-07-30 Thread Alexander Veremyev
Hi Jurriën, 1. What is the result of: - echo Zend_Search_Lucene_Search_QueryParser::parse('published:[1995 TO 1997]')-rewrite($index)-__toString() . \n; - 2. It looks like you set TextNum analyzer correctly, but nevertheless I should ask. Did you set

[fw-general] Integrating Smarty with Zend

2007-07-30 Thread mbneto
Hi, I've been using Zend with my projects since 0.7 and using a Smarty class with the View to allow me to $this-view-render using the templates. I've upgraded to Zend 1.0.0 and all my pages broke with a fatal error message *Fatal error*: Class Foo_View_Smarty contains 3 abstract methods and

[fw-general] Seeking Zend_Controller_Router_Route_Immutable

2007-07-30 Thread Kevin McArthur
I'm currently looking for a solution before putting together a proposal for a currently non-existant class Zend_Controller_Router_Route_Immutable. This would be a caching solution for routes that would allow you to define a route as always having the same output for a given input and to cache

Re: [fw-general] Zend_Search_Lucene Ranged Queries

2007-07-30 Thread Jurriën Stutterheim
Hi Alexander, The result of the echo is: (published:1995 published:1996 published:1997) Seems like two OR's are missing? As for your second question: yes indeed, I set that analyzer as default (for both indexing and searching). On 30 Jul 2007, at 21:35, Alexander Veremyev wrote: Hi

Re: [fw-general] Integrating Smarty with Zend

2007-07-30 Thread Matthew Weier O'Phinney
-- mbneto [EMAIL PROTECTED] wrote (on Monday, 30 July 2007, 03:37 PM -0400): I've been using Zend with my projects since 0.7 and using a Smarty class with the View to allow me to $this-view-render using the templates. I've upgraded to Zend 1.0.0 and all my pages broke with a fatal error

Re: [fw-general] Seeking Zend_Controller_Router_Route_Immutable

2007-07-30 Thread Ralph Schindler
I think this is a great idea, and I imagine it would be best implemented as a Controller plugin. By hooking the routeStartup() and routeShutdown(), can you then set the isDispatched flag to not dispatch. Then at dispatchLoopShutdown(), the response object can be populated with the cache

[fw-general] Zend Framework 1.0.1 released

2007-07-30 Thread Darby Felton
Hi everyone, It is my pleasure to announce the release of Zend Framework 1.0.1, available now at http://framework.zend.com. This mini release includes fixes for 33 issues since the 1.0.0 release only a month ago. These issues are generally bug fixes and improvements, though some feature

Re: [fw-general] Using Zend Studio 5.5.0 Debugger

2007-07-30 Thread Nathan Wright
Usually Zend Debugger works fine for me, but I've run into some strange problems like this too. Could never figure out what was actually causing it though. Once it happened when I extended Zend_Controller_Action. I got the same 'Cannot redeclare class' error even when using

[fw-general] Unable to get the correct controller/action

2007-07-30 Thread robert mena
Hi there, I am using ZF but I am facing problems in my production server. In my development server everything is fine. My I am accessing a url foo.com/projectX/contact/chat but it always goes to index/index. My rewrite rule RewriteEngine on RewriteBase /projectX/ RewriteRule

RE: [fw-general] Zend_Search_Lucene Ranged Queries

2007-07-30 Thread Alexander Veremyev
It's sign-style notation. '+' means 'required' term '-' means prohibited no sign means optional term. So, rewrited query is OK Next step. What is the result of: - echo Zend_Search_Lucene_Search_QueryParser::parse('published:[1995 TO

RE: [fw-general] Zend_Search_Lucene::find() Exception

2007-07-30 Thread Alexander Veremyev
Hi Juan, Could you give an example of your code? With best regards, Alexander Veremyev. From: Juan Felipe Alvarez Saldarriaga [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 1:05 AM To: fw-general@lists.zend.com

Re: [fw-general] Integrating Smarty with Zend

2007-07-30 Thread mbneto
Hi Matthew, Thanks for the prompt reply. Please consider 'definitive' as 'a way to do what I need in a ZendFramework way without having to wait for a new release' :) After I posted the message I found another info about using Smarty and ViewRenderer =

RE: [fw-general] Zend_Search_Lucene::find() Exception

2007-07-30 Thread Juan Felipe Alvarez Saldarriaga
Yes, look, I create a class name Lucene who is extended to Zend_Search_Lucene, so this is the action where I try to make the find, it's not done yet, but thes is the base code: public function searchAction() { // Load Lucene lib. $objLucene = new Lucene( LUCENE_INDEX_PATH ); //

Re: [fw-general] Zend_Search_Lucene Ranged Queries

2007-07-30 Thread Jeff Kolber
I found that range queries were not working on tokenized fields, at least tokenized fields that were all numeric -- I used fields of type keyword and then found that ranges were working. Jeff Kolber Lead Developer Roubini Global Economics, LLC 131 Varick Street, Suite 1005 New York, NY

[fw-general] Zend_Db (Table-Row)

2007-07-30 Thread agatone
Fetching realted row should be something like this (if i'm not wrong) ?php $bugsTable = new Bugs(); $bugsRowset= $bugsTable-fetchAll(); foreach ($bufRowset as $bug1) { $reporter = $bug1-findParentAccounts(); } ? My question is: Is there already somekind of function

RE: [fw-general] Zend_Db (Table-Row)

2007-07-30 Thread Bill Karwin
I'm not sure I understand the question. There must be exactly one parent row in the referenced table. So there's no reason to specify anything about what parents are to be fetched. Either you want that single row, or you don't. Fetching dependent rows is another issue -- there can be zero,

Re: [fw-general] Zend_Db (Table-Row)

2007-07-30 Thread agatone
I'm sorry ... I'll try to explain it a bit better. Let's say we have table NEWS with fields id, title, content, rel_author_id, rel_category_id. So fetching all news would look something like this: ?php $news = new News(); $newsRowset = $news-fetchAll(); ? Now every news has author, who's

RE: [fw-general] Zend Framework 1.0.1 released

2007-07-30 Thread Andi Gutmans
Thanks Darby and all the rest for getting this out the door! -Original Message- From: Darby Felton [mailto:[EMAIL PROTECTED] Sent: Monday, July 30, 2007 1:14 PM To: [EMAIL PROTECTED]; fw-general@lists.zend.com Subject: [fw-general] Zend Framework 1.0.1 released Hi everyone,

Re: [fw-general] Zend Framework 1.0.1 released

2007-07-30 Thread Dan Rossi
Hi, im very new here, is there a PEAR like installer to run the update or does it have to be overwritten all the time ? Andi Gutmans wrote: Thanks Darby and all the rest for getting this out the door! -Original Message- From: Darby Felton [mailto:[EMAIL PROTECTED] Sent: Monday,

[fw-general] Issues with session namespace

2007-07-30 Thread Dan Rossi
Hi there, i seem to be having a problem with a session namespace problem, and non cookie and cookie sessions. Basically Im going to a check action on the script which has a temporary session attached like /index/check?client=502850935809325825039523, when I check that the session is active

RE: [fw-general] Zend_Search_Lucene Ranged Queries

2007-07-30 Thread Alexander Veremyev
Hi Jeff, Please don't forget set TextNumeric analyzer as default before indexing and search: - Zend_Search_Lucene_Analysis_Analyzer::setDefault(new Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum_CaseInsensitive()); With best