[fw-general] Zend_Form_Element_Captcha troubles and some question about Zend_Navigation

2011-01-27 Thread vbogoev
Hello, About a week ago I tried to use Zend_Form_Element_Captcha to render basically captcha for my site registration form. The problem is when I render a captcha I see two input elements. I fixed it with some css (hide the second element). But when I submit the form I receive everytime same

[fw-general] Ajax, Sessions and Redirects

2011-01-27 Thread Serkan Temizel
Hi, My app checks sessions on preDispatch and redirects page to login page if session not exists. Everything was ok upto now because there was no need to ajax. But with the ajax implementation some problems occured. Here is the case; 1. User requests a page (P) 2. In page P, a user

Re: [fw-general] Amazon SES (Simple Email Service) service and email transport

2011-01-27 Thread Guy Halford-Thompson
This would be a really great feature for the framework and one which I think a lot of people would use. I have had a brief look at how SES works and it seems pretty logical, I am guessing that this feature would be released along with ZF2 so I would suggest building a proposal around the

[fw-general] why Zend_Db_Adapter happened to be much slower than mysql_query

2011-01-27 Thread Oleg_201080
I need to insert multiple records and I found that Zend_Db suprisingly slower thatn my_sql query (several times), that made me think I did something wrong. Here are two examples. I have a tables subscribers and I try to insert many rows in it. With Zend_Db_Adapter it took 14.8 seconds to insert

[fw-general] Re: why Zend_Db_Adapter happened to be much slower than mysql_query

2011-01-27 Thread Oleg_201080
I don't beleive that using Zend_Db is several times slower, maybe I'm doing something wrong with it. These results seems very suprising to me. -- View this message in context:

[fw-general] Re: Zend Form populate method doesn't support FilteringSelect / ComboBoxes using a Dojo datastore.

2011-01-27 Thread dekkert
weierophinney wrote: -- Tridem tech...@tridem.de wrote (on Friday, 20 November 2009, 04:01 AM -0800): My problem is similar. The only solution I found so far is using Dojo with the setUseDeclarative() method instead of the setUseProgrammatic(). By this the Comobox or FilteringSelect

[fw-general] help with debugging a possible path/env/setting issue - PHPunit

2011-01-27 Thread Simon Walter
Hi all, This is my first email to the list. So, sorry if this is a bad place to ask this. I'm trying to set up PHPunit for testing my ZF projects. To make things really simple and not have a bunch of code flying back and forth, here is a reproducible test. I take Jon's PHPunit Zend Cast

Re: [fw-general] help with debugging a possible path/env/setting issue - PHPunit

2011-01-27 Thread Leander Damme
Hi Simon, make sure you have an up2date Zend Framework library in you include path and 'Zend/Test/PHPUnit/ControllerTestCase.php' exists. I have also run into case sensitivity issues a couple of times. Developing on a case-insensitive file system (Os X) and deploying on a case sensitive fs

Re: [fw-general] help with debugging a possible path/env/setting issue - PHPunit

2011-01-27 Thread Simon Walter
On 01/28/2011 01:43 AM, Leander Damme wrote: Hi Simon, make sure you have an up2date Zend Framework library in you include path and 'Zend/Test/PHPUnit/ControllerTestCase.php' exists. I have also run into case sensitivity issues a couple of times. Developing on a case-insensitive file system

Re: [fw-general] help with debugging a possible path/env/setting issue - PHPunit

2011-01-27 Thread Leander Damme
As far as I can tell, your error originates from /var/www/unit-testing/tests/application/controllers/IndexControllerTest.php Line 3. which is a require_once of 'Zend/Test/PHPUnit/ControllerTestCase.php' So it does not have anything to do with require_once 'controllers/ControllerTestCase.php';

Re: [fw-general] help with debugging a possible path/env/setting issue - PHPunit - SOLVED

2011-01-27 Thread Simon Walter
On 01/28/2011 02:47 AM, Leander Damme wrote: As far as I can tell, your error originates from /var/www/unit-testing/tests/application/controllers/IndexControllerTest.php Line 3. which is a require_once of 'Zend/Test/PHPUnit/ControllerTestCase.php' So it does not have anything to do with

Re: [fw-general] Re: why Zend_Db_Adapter happened to be much slower than mysql_query

2011-01-27 Thread Hector Virgen
Since you're using transactions I don't see why there would be such a big difference between Zend_Db and mysql_query(). Have you tried running this several times and averaging the results? If these results are consistent, you might want to try modifying your timer so you can see how long it takes

[fw-general] Composite Decorators Subforms

2011-01-27 Thread RyanB
Hey folks, I've created a custom decorator composite and for standard forms it works very well. I am using http://framework.zend.com/manual/en/zend.form.decorators.html#zend.form.decorators.custom as a basis. However, the problem begins when using subforms for multi-language records that I run

[fw-general] Re: Composite Decorators Subforms

2011-01-27 Thread RyanB
Problem solved: Change $element-getName() to $element-getFullyQualifiedName(). -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Composite-Decorators-Subforms-tp3243227p3243327.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Re: Does everyone use zf.sh?

2011-01-27 Thread Wil Moore III
上田幸司 wrote: Recently I used zf command(zf.sh), but it's hard to use. I can't agree that it is hard to use. I would rather say that its use depends heavily on the type of project and the developer's desired workflow. 上田幸司 wrote: I think that usually something like controller class have

[fw-general] Re: Search for existing value in headMeta

2011-01-27 Thread Wil Moore III
weierophinney wrote: the storage into Zend_Registry. I'm not sure how much any of this is really relevant to the need you explained in a previous post, however... From what I know of these helpers, it is due to the initial design that is limiting his use case. The registry (it doesn't

[fw-general] Re: Amazon SES (Simple Email Service) service and email transport

2011-01-27 Thread Wil Moore III
Konr Ness wrote: Has anyone called dibs on creating Zend_Service_Amazon_Ses and also Zend_Mail_Transport_AmazonSes? I'd love to get involved in this by writing a proposal, documentation, tests and/or coding. Hey Konr, Good to see you on here jumping in to contribute. Generally folks

Re: [fw-general] Re: Search for existing value in headMeta

2011-01-27 Thread Hector Virgen
Jurien, back to your original post, generally what I do is I set the default meta tags early in the application (usually during bootstrap) and actions/views can replace them if necessary by providing new values using the normal view helper methods. This means my layout just has a simple echo and

[fw-general] Re: Search for existing value in headMeta

2011-01-27 Thread Wil Moore III
Hector Virgen wrote: As for handling this in the bootstrap, I've written a nifty meta bootstrap resource plugin that allows me to configure each environment with different defaults. Feel free to check it out here: http://pastie.org/1504249 Interesting...seems we share many similar

Re: [fw-general] Re: Setting up Zend

2011-01-27 Thread Gregory Cheung
try typing the full path to zf.sh On 27/01/2011 23:36, Wil Moore III wrote: MG7282 wrote: I'm using a Linux shared server and cannot get the zf tool working. I get an error: zf: command not found even after creating the link. Any suggestions? Please provide your environment details and

[fw-general] Re: Amazon SES (Simple Email Service) service and email transport

2011-01-27 Thread ProfCrazynuts
Hi Konr, I'd love to help you if you'd like. My company needs a SES gateway for a new site we're working on, so this would be great. When I saw your post I got my CLA emailed right away to the Zend Team! Best, Nick -- View this message in context:

[fw-general] Re: Setting up Zend

2011-01-27 Thread MG7282
Linux system: Linux p3nlh119.shr.prod.phx3.secureserver.net 2.6.18-194.26.1.el5PAE #1 SMP PHP Version: 5.2.14 What path information? zf.sh is in html/Zend/bin -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Setting-up-Zend-tp3241465p3243694.html Sent from

[fw-general] Re: Setting up Zend

2011-01-27 Thread MG7282
When I enter the full path: html/Zend/bin/zf.sh show version I get this: br / Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/m/a/r/mariannag7282/html/Zend/bin/zf.php on line 38br / -- View this message in context:

[fw-general] Re: Setting up Zend

2011-01-27 Thread MG7282
I am typing zf show version -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Setting-up-Zend-tp3241465p3243698.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] why Zend_Db_Adapter happened to be much slower than mysql_query

2011-01-27 Thread Ralph Schindler
Which adapter are you using? Mysqli or Pdo_Mysql? The only thing that perhaps I see that is an immediate difference is that you are using quote() that does userland quoting in some instances (depending on the adapter you are using). Multiply that by 1000 and perhaps that might be where you