[fw-general] Re: [ZF2] How to validate a password and email in zend framework 2?

2012-10-12 Thread patrioticcow
i figure it out what happens is that i didn't understand the validator configuration. It looks like the validators is a multidimensional array where each validator it's his own array and it has a name and some options: ... 'validators' = [ array(

[fw-general] Re: Mocking in zf2 is not such easy

2012-10-12 Thread pablofmorales
ATDD/TDD is a practice for write code. Maybe you are confuese because all the people start with the code and after with the test. I try to working with baby steps way. Is not a waste of time write test for a Controller when you was defining why the controller must run. And wich other objects

Re: [fw-general] ZF2 - Application log

2012-10-12 Thread Matthew Weier O'Phinney
-- David Muir davidkm...@gmail.com wrote (on Friday, 12 October 2012, 01:46 PM +1100): On Fri, Oct 12, 2012 at 12:15 AM, Matthew Weier O'Phinney matt...@zend.comwrote: -- David Muir davidkm...@gmail.com wrote (on Thursday, 11 October 2012, 11:07 AM +1100): A huge thanks for examples above.

Re: [fw-general] Deploying (composer managed) ZF2 apps

2012-10-12 Thread Matthew Weier O'Phinney
-- David Muir davidkm...@gmail.com wrote (on Friday, 12 October 2012, 05:28 PM +1100): This isn't really an issue specific to ZF2, but since one of the recommended installation methods is via composer, I figured I'd ask here. When deploying the app to another server, composer makes things a bit

Re: [fw-general] \Zend\Log\Logger __toString() check on $message

2012-10-12 Thread Ludwig Ruderstaller
On 11.10.2012 23:11, Philip G wrote: Is there a reason why \Zend\Log\Logger now checks for __toString() on $message when passing in an object? see https://github.com/zendframework/zf2/issues/2638 Ludwig -- Ludwig Ruderstaller http://www.cwd.at -- List: fw-general@lists.zend.com Info:

[fw-general] ZF2 Module / Application setup

2012-10-12 Thread natix
I am trying to get myself into ZF2 but the whole idea of Modules still seams to elude me. I have a admin section that is under its own domain (admin.example.com) and then I have a users section under www.example.com. In ZF1, I have always put each one in its own Module - so that I have a admin

AW: [fw-general] ZF2 Module / Application setup

2012-10-12 Thread Marc Tempelmeier
Hey, maybe I can give you something to think about, it is not Module related, but either way, here are my 2 cents: I asked myself the same question a month ago. And I go with, it depends... If you are in a company, where someone other than you has to do the support for that project, donĀ“t

Re: [fw-general] \Zend\Log\Logger __toString() check on $message

2012-10-12 Thread Ludwig Ruderstaller
Hi, Is there a reason why \Zend\Log\Logger now checks for __toString() on $message when passing in an object? see https://github.com/zendframework/zf2/issues/2638 Ludwig On 11.10.2012 23:11, Philip G wrote: Is there a reason why \Zend\Log\Logger now checks for __toString() on $message when

[fw-general] Re: ZF2 How to store Fieldset data to database

2012-10-12 Thread rlandas
I have started work on this issue and here is what I currently have: https://github.com/rlandas/zf2-zendformcollections I must admit, it is a challenge to try to work it coming from a ZF1 experience where everything is already set up. But I do like how ZF2 works now, its very flexible but a steep

[fw-general] getParam() issue

2012-10-12 Thread debussy007
Hi, This is my URL: */avs/auth/logout/uniqueId/1350079289.42/errorInfo//isError//transferred//status/2/purpose//searchBy//audio//mobile//lang/fr/myLogs/action%3D* getAllParams contains the follocing: Array /( [module] = avs [controller] = auth [action] = logout [uniqueId] =

[fw-general] Re: getParam() issue

2012-10-12 Thread Thomas DUTRION
Hi, You may want to check if you use the default router and default route. Is it on a ZF1 project. Regards Thomas Dutrion On 12 October 2012 23:05, debussy007 [via Zend Framework Community] ml-node+s634137n4657562...@n4.nabble.com wrote: Hi, This is my URL: *