Re: [fw-general] Use Zend_Queue for sending mails

2010-05-16 Thread Ralf Eggert
Hi Jurian, > I'd store only the data. The instance of Zend_Mail can be reused with new > data > to send the next mail, so you don't need to instantiate Zend_Mail for each > new > email. That is the solution I am implementing now. Its also a matter of performance since I need to create almost

Re: [fw-general] populating form from model

2010-05-16 Thread Diego Potapczuk
How about using the populate method? ::: Diego Potapczuk On Sun, May 16, 2010 at 12:42 PM, Aleksey Zapparov wrote: > Hello, > > Basically you can use Zend_Form::setDefaults(array $defaults) to populate > form with data retreived from your model as an array, else (if you are > using > Doctrine

Re: [fw-general] populating form from model

2010-05-16 Thread Aleksey Zapparov
Hello, Basically you can use Zend_Form::setDefaults(array $defaults) to populate form with data retreived from your model as an array, else (if you are using Doctrine for example, or by some other reason you can't use model's data with setDefaults() directly) you can extend Zend_Form to be able "r

[fw-general] populating form from model

2010-05-16 Thread tonystamp
Hello I'm wondering about the best practice for populating forms with model data. I've been creating my forms with an optional array parameter in the constructor for the model to be passed in to the form class. If the model is present, the form is loaded with the models data. This is done from w

[fw-general] Re: add new virtual host in zend server

2010-05-16 Thread tonystamp
i'd just like to add, you need to uncomment the line in http.conf to include httpd-vhosts.conf. -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/add-new-virtual-host-in-zend-server-tp2217695p2218375.html Sent from the Zend Framework mailing list archive at Na