RE: [fw-general] Zend_Mail SMTP Threading?

2008-03-11 Thread Steven Brown
Hi Justin, Yes I understand about mail queuing, however: 1. This is a local mail server with no queue (and the logs report 0.00 seconds to queue) 2. The system works without a problem when I use CURL 3. The mail server's logs show that the command to send the message are being received by the ser

RE: [fw-general] Zend_Mail SMTP Threading?

2008-03-11 Thread Steven Brown
In my bootstrap: Zend_Mail::setDefaultTransport(new Zend_Mail_Transport_Smtp('localhost')); In my controller: $mail = new Zend_Mail(); $mail->setBodyText('Test Message') ->addTo($this->view->user->email) ->setSubject('Test Subject') ->send(); I have modified the subject and message

Re: [fw-general] Zend_Mail SMTP Threading?

2008-03-11 Thread Justin Randell
Steven Brown wrote: It appears as though the local server waits for the SMTP commands to finish before it returns a result to CURL, whereas directly accessing my bootstrap allows the SMTP commands to run in the background almost as a separate thread. i doubt there are any separate threads here

Re: [fw-general] Zend_Mail SMTP Threading?

2008-03-11 Thread Simon Mundy
Can you send a snippet of your code used to send your mail? The Zend_Mail SMTP transport is transactional and will process each mail object by direct interaction with the target server, so I can't understand why it is executing parallel with your POP requests. Cheers I have tried both, wi

RE: [fw-general] Zend_Mail SMTP Threading?

2008-03-11 Thread Steven Brown
I have tried both, with the same result -Original Message- From: Simon Mundy [mailto:[EMAIL PROTECTED] Sent: Wednesday, 12 March 2008 11:07 AM To: Steven Brown Cc: 'Bill Karwin'; fw-general@lists.zend.com Subject: Re: [fw-general] Zend_Mail SMTP Threading? Hi Steve - are you using the re

Re: [fw-general] Zend_Mail SMTP Threading?

2008-03-11 Thread Simon Mundy
Hi Steve - are you using the regular 'mail' transport or the SMTP transport when using Zend_Mail? Hi all, I've been writing some unit tests and have had some trouble with mail. I send mail using my application and then check these emails in my unit tests. All of this is handled by a local

[fw-general] Zend_Mail SMTP Threading?

2008-03-11 Thread Steven Brown
Hi all, I've been writing some unit tests and have had some trouble with mail. I send mail using my application and then check these emails in my unit tests. All of this is handled by a local mail server (hMailServer). If I use CURL to request pages from my local server that send mail, the SMTP

Re: [fw-general] Zend_Db Transactions - How to get a initiate transaction ?

2008-03-11 Thread Bill Karwin
Juan Felipe Alavarez Saldarriaga wrote: > > So I'm saving some user data into the save method, that method have a > transaction started, then I call the saveUserGroups method on the same > class and it have another > transaction started, is possible to, I don't know, get the transaction > start

[fw-general] Hardcoded form decorators and the FormLabel helper

2008-03-11 Thread Nathan
Hello all, I'd like to say that after a few solid days of working with Zend_Form, I'm very impressed with its flexibility. I've been using it to create a set of reusable, pluggable form widgets, but that is another discussion altogether. Right now I'd like to discuss a few possible ways o

Re: [fw-general] Routing: / != /index != /index/index?

2008-03-11 Thread Jan Pieper
Okay, my mistake but your solution allows something like /index/123 (if :article is the article_id). I want that /, /index and /index/index use ArticleController with indexAction. If no article_id is given, the application will show the newest article. The actual problem is, that I don´t see a

Re: [fw-general] formCheckbox bug in ZendFramework-1.5.0RC1

2008-03-11 Thread Matthew Weier O'Phinney
-- Kexiao Liao <[EMAIL PROTECTED]> wrote (on Tuesday, 11 March 2008, 11:07 AM -0700): > I switched ZendFramework from 1.0.3 to 1.5.0RC1, the following formCheckbox > can not save the the checkbox data into the database table? On 1.0.3 it > works pretty well. > > formCheckbox("complete", > $this->e

[fw-general] formCheckbox bug in ZendFramework-1.5.0RC1

2008-03-11 Thread Kexiao Liao
I switched ZendFramework from 1.0.3 to 1.5.0RC1, the following formCheckbox can not save the the checkbox data into the database table? On 1.0.3 it works pretty well. formCheckbox("complete", $this->escape($this->mainContents->complete),array('onChange' => "change(document.main);"),array(0 =>'tru

Re: [fw-general] Routing: / != /index != /index/index?

2008-03-11 Thread Michał Minicki
Jan Pieper wrote: Where is my mistake? Why is / != /index != /index/index? It's not the problem with your router implementation but with your route. You have specified a static route string (index/index), so it matches only this particular URL. Try something like this instead: name=index {

[fw-general] ACL actual use

2008-03-11 Thread Alexander Johannesen
Hi, Has anyone used Zend ACL in an active project, and would like to share some thoughts on it? (Pro/con/gotcha's) I'm about to implement it into a larger framework (an extension of ZF, really) and would like to hear people's opinions before I get my surgeons knife out... Also, has anyone defined

Re: [fw-general] Library for writing config (INI) files to disk?

2008-03-11 Thread Vincent
OK, I've written specifications and they passed, so you can take a look at my code here: http://gitorious.org/projects/vogel/repos/mainline/blob/master/project/library/Vogel/Config/Ini.php If you have git installed you can checkout using git clone git://gitorious.org/vogel/mainline.git Any comme

Re: [fw-general] Library for writing config (INI) files to disk?

2008-03-11 Thread Vincent
On 3/11/08, Julien Pauli <[EMAIL PROTECTED]> wrote: > > Don't worry => just write tests and tests again, with use cases. I will be > enought ;-) Hehe, the problem is: I don't know PHPUnit :) I've been learning PHPSpec (great work Padraic :), but unfortunately, PHPMock has still not released any b

Re: [fw-general] Library for writing config (INI) files to disk?

2008-03-11 Thread Julien Pauli
Don't worry => just write tests and tests again, with use cases. I will be enought ;-) Julien.P 2008/3/11, Vincent <[EMAIL PROTECTED]>: > > > > On 3/11/08, Julien Pauli <[EMAIL PROTECTED]> wrote: > > > > Please, visit that improvement : > > http://framework.zend.com/issues/browse/ZF-2849 > > Feel

Re: [fw-general] Library for writing config (INI) files to disk?

2008-03-11 Thread Vincent
On 3/11/08, Julien Pauli <[EMAIL PROTECTED]> wrote: > > Please, visit that improvement : > http://framework.zend.com/issues/browse/ZF-2849 > Feel free to contact both Rob or me for making a proposal of refactoring + > adding implementations (such as the save() one ) for Zend_Config. Hmm... I have

Re: [fw-general] Library for writing config (INI) files to disk?

2008-03-11 Thread Julien Pauli
Please, visit that improvement : http://framework.zend.com/issues/browse/ZF-2849 Feel free to contact both Rob or me for making a proposal of refactoring + adding implementations (such as the save() one ) for Zend_Config. regards Julien.P 2008/3/11, Vincent <[EMAIL PROTECTED]>: > > > > On 3/10/08

Re: [fw-general] Library for writing config (INI) files to disk?

2008-03-11 Thread Vincent
On 3/10/08, Jan Pieper <[EMAIL PROTECTED]> wrote: > > Today i´ve created a new issue with exact the same target: > http://framework.zend.com/issues/browse/ZF-2838 > > Well, actually, that one is a little bit different. My library will be able to *update* existing INI files. However, with the curren

AW: Re: [fw-general] Lucene Highlighting

2008-03-11 Thread Stefan Oestreicher
That's a multibyte charset issue, I had the same problem. If you're using the default analyzer (not the UTF8 analyzer) you need to convert the text you want to highlight to ASCII//TRANSLIT if you have any non-ASCII characters in it, as does the analyzer. I had to do the following to get it to wor

Re: [fw-general] Google Summer of Code 2008

2008-03-11 Thread Tobias Gies
Hi Andi, On Mon, Mar 10, 2008 at 10:49 PM, Andi Gutmans <[EMAIL PROTECTED]> wrote: > - Implement something similar to DLINQ for ZF ( > http://weblogs.asp.net/scottgu/archive/2008/01/07/dynamic-linq-part-1-using-the-linq-dynamic-query-library.aspx). > This could be taking the ideas in Zen