[fw-general] Action Helper by name NotifyPreDispatch not found.

2008-04-30 Thread Jason Qi
I encountered the same situation as this:

http://www.zfforums.com/zend-framework-general-discussions-1/general-q-zend-framework-2/action-helper-name-notifypredispatch-not-found-when-debugging-zend-debugger-526.html

Does anyone know what happened ?

Thanks.

Jason.

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

[fw-general] Zend Http_client Login phpbb3 forum

2008-04-30 Thread Wouser

Hello people,

I had a question regarding logging into a phpbb3 forum with Http_client from
zend. Firstly I want to say I'm not a pro php-er :P so don't be to hard on
me when I post something stupid. 

Now what I want is the following. I need to login at my phpbb3 forum
automatically. I'am using this piece of code...

$client = Zend_Registry::get('client');

$client -> setConfig(array('useragent' => 
'Mozilla/4.0 (compatible; MSIE
7.0; Windows NT 5.1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)'));

$client -> setCookieJar();

$client -> setUri($url);
$client -> setParameterPost('username', 
$username);
$client -> setParameterPost('password', 
$password);

$client -> request('POST');

Now well I tested this code at other websites and there it works but I can't
get it working to login at a phpbb3 forum :S... I think it has something to
do with 'sid' but I'm not sure... You can check the html source of the login
form here:
http://www.phpbb.com/community/ucp.php?mode=login, right mouse click.. etc I
guess you know what I mean ;) I

I hope some can help me.
Cheers,

Wouser
-- 
View this message in context: 
http://www.nabble.com/Zend-Http_client-Login-phpbb3-forum-tp16992451p16992451.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] Webinar - Thanks!

2008-04-30 Thread Josh Team
I caught quite a bit of the QA Webinar and these were my notes, I'd love to
share or add:
http://joshteam.wordpress.com/2008/04/30/zend-framework-qa-webinar/

On Wed, Apr 30, 2008 at 1:08 PM, James Dempster <[EMAIL PROTECTED]> wrote:

> I would also like to add my thanks, it was a great discussion. I feel
> involved in the community. ZF is truly wonderful.
>
> On Wed, Apr 30, 2008 at 7:03 PM, Ryan Brooks <[EMAIL PROTECTED]> wrote:
>
> >  Howdy folks,
> >
> >
> >
> > Just wanted to extend my gratitude to the ZF team for putting the
> > webinar together; some very cool discussion and questions.
> >
> >
> >
> > Also want to pose the question: anyone blogging about it now that it is
> > over?
> >
> > *Ryan Brooks*
> > Web Developer & Technophile
> > zed23.com 
> >
> >
> >
>
>


Re: [fw-general] THE BIG Q&A and submitting questions. . .

2008-04-30 Thread James Dempster
Exactly, and why invent the wheel. Just because the solutions that are out
there aren't PHP doesn't make them bad.

On Wed, Apr 30, 2008 at 7:38 PM, Wil Sinclair <[EMAIL PROTECTED]> wrote:

> I definitely see the reasoning behind developing our own tools in ZF,
> and I have to say that the idea has crossed my mind as well. But it
> simply isn't practical; we have limited resources and issue tracking,
> wiki systems, etc. are *very* difficult to do well with today's high
> expectations. And OS projects are so dependent on their tools that it
> would be folly to compromise based on technology stacks alone. As far as
> using the Java tools goes- I've tried many bug db products and I can say
> with confidence JIRA, for all its quirks/faults is the best one that I'm
> aware of for our project. Add the interactivity with Confluence,
> Fisheye, and now Crucible, and you've got a winning toolset. This should
> become even more apparent over the course of the next few days as we all
> start seeing the new features in all of these products and we (finally!)
> get SSO across all of them.
> We've actually heard from some large users that this is one of the
> reasons they chose ZF in the first place. They believe it shows a
> certain degree of maturity in our decision making process that we could
> swallow our PHP pride and go with a Java toolset based on features and
> appropriateness to the project. Opinions will of course differ across
> observers, but I happen to agree (I wasn't on the team when this
> decision was made).
>
> ,Wil
>
> > -Original Message-
> > From: Eric Marden [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, April 30, 2008 8:20 AM
> > To: fw-general@lists.zend.com
> > Subject: RE: [fw-general] THE BIG Q&A and submitting questions. . .
> >
> > As far as I know there isn't a PHP solution like the suite of tools
> > that
> > Atlassian has on offer.
> > Right tool for the job, and all that.
> >
> > Anyone who needs Zend to only and always use PHP in order to evaluate
> > the tools they have to offer should probably not be making technical
> > decisions in the first place. Evaluate Zend tools on the merits of the
> > tools and whether it benefits the organization, not whether they are
> > using it to power a complex and largely distributed software
> > development
> > process. No need to reinvent the wheel. In my experience, most
> > reinvented wheels come out square.
> >
> >
> > --
> > Eric Marden
> >
> >
> > -Original Message-
> > From: Pete Spicer [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, April 29, 2008 10:01 PM
> > To: fw-general@lists.zend.com
> > Subject: Re: [fw-general] THE BIG Q&A and submitting questions. . .
> >
> > Hi all,
> > Quick question for tomorrow...
> >
> > Is there any possibility of Zend building and using a toolset (bug
> > tracker/wiki etc) based on Zend Framework?
> >
> > It just seems a bit odd that Zend - the PHP company - is using
> > Java-based technology to power part of their site, instead of PHP-
> > based.
> >
> > I also think it would provide reassurance to non-technical people (the
> > decision makers!) that Zend Framework can be used since "Oh look,
> > they're using it themselves on a real-world application."
> >
> > Thanks
> > Pete
> >
> > Matthew Weier O'Phinney wrote:
> > > -- Josh Team <[EMAIL PROTECTED]> wrote (on Tuesday, 29 April 2008,
> > > 06:39 PM -0500):
> > >
> > >> When is the webinar tomorrow? I don't see a place to sign up but I
> > am
> >
> > >> wanting to demo ZF to my company as we are rebuilding marines.com
> > and
> >
> > >> they want to use symfony :(
> > >>
> > >
> > > It's at 12pm EDT/9am PDT, and you can sign up here:
> > >
> > >
> > >
> http://www.zend.com/en/company/news/event/webinar-zend-framework-the-
> > b
> > > ig-q-a
> > >
> > >
> > >
> > >> On Mon, Apr 28, 2008 at 7:41 PM, Wil Sinclair <[EMAIL PROTECTED]> wrote:
> > >>
> > >> Yes, I know the shutdown of the wiki to read-only mode is not
> > particular
> > >> well timed considering the Big Q&A is coming up this Wednesday.
> > >> Unfortunately, the maintenance period could not be put off;
> > believe me-
> > >> if it were possible I would have done it!
> > >> So, please post any questions you would like answered in the
> Big
> > Q&A to
> > >> this list. I will collect them and add them to those we've
> > already
> > >> received:
> > >>
> > >>
> > http://framework.zend.com/wiki/pages/viewpage.action?pageId=43922
> > >>
> > >> If you haven't yet signed up, here's where to do it:
> > >>
> > >>
> > http://www.zend.com/en/company/news/event/webinar-zend-framework-the-
> > big
> > >> -q-a
> > >>
> > >> Keep in mind, this will not be your average webinar. It will be
> > very
> > >> interactive and somewhat impromptu. You could very well ask a
> > question
> > >> that completely stumps everyone on the team! Go ahead and try.
> > :)
> > >>
> > >> See y'all on Wednesday.
> > >>
> > >> ,Wil
> > >>
> > >>
> > >>
> > >
> > >
>

RE: [fw-general] THE BIG Q&A and submitting questions. . .

2008-04-30 Thread Wil Sinclair
I definitely see the reasoning behind developing our own tools in ZF,
and I have to say that the idea has crossed my mind as well. But it
simply isn't practical; we have limited resources and issue tracking,
wiki systems, etc. are *very* difficult to do well with today's high
expectations. And OS projects are so dependent on their tools that it
would be folly to compromise based on technology stacks alone. As far as
using the Java tools goes- I've tried many bug db products and I can say
with confidence JIRA, for all its quirks/faults is the best one that I'm
aware of for our project. Add the interactivity with Confluence,
Fisheye, and now Crucible, and you've got a winning toolset. This should
become even more apparent over the course of the next few days as we all
start seeing the new features in all of these products and we (finally!)
get SSO across all of them.
We've actually heard from some large users that this is one of the
reasons they chose ZF in the first place. They believe it shows a
certain degree of maturity in our decision making process that we could
swallow our PHP pride and go with a Java toolset based on features and
appropriateness to the project. Opinions will of course differ across
observers, but I happen to agree (I wasn't on the team when this
decision was made).

,Wil

> -Original Message-
> From: Eric Marden [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 30, 2008 8:20 AM
> To: fw-general@lists.zend.com
> Subject: RE: [fw-general] THE BIG Q&A and submitting questions. . .
> 
> As far as I know there isn't a PHP solution like the suite of tools
> that
> Atlassian has on offer.
> Right tool for the job, and all that.
> 
> Anyone who needs Zend to only and always use PHP in order to evaluate
> the tools they have to offer should probably not be making technical
> decisions in the first place. Evaluate Zend tools on the merits of the
> tools and whether it benefits the organization, not whether they are
> using it to power a complex and largely distributed software
> development
> process. No need to reinvent the wheel. In my experience, most
> reinvented wheels come out square.
> 
> 
> --
> Eric Marden
> 
> 
> -Original Message-
> From: Pete Spicer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 29, 2008 10:01 PM
> To: fw-general@lists.zend.com
> Subject: Re: [fw-general] THE BIG Q&A and submitting questions. . .
> 
> Hi all,
> Quick question for tomorrow...
> 
> Is there any possibility of Zend building and using a toolset (bug
> tracker/wiki etc) based on Zend Framework?
> 
> It just seems a bit odd that Zend - the PHP company - is using
> Java-based technology to power part of their site, instead of PHP-
> based.
> 
> I also think it would provide reassurance to non-technical people (the
> decision makers!) that Zend Framework can be used since "Oh look,
> they're using it themselves on a real-world application."
> 
> Thanks
> Pete
> 
> Matthew Weier O'Phinney wrote:
> > -- Josh Team <[EMAIL PROTECTED]> wrote (on Tuesday, 29 April 2008,
> > 06:39 PM -0500):
> >
> >> When is the webinar tomorrow? I don't see a place to sign up but I
> am
> 
> >> wanting to demo ZF to my company as we are rebuilding marines.com
> and
> 
> >> they want to use symfony :(
> >>
> >
> > It's at 12pm EDT/9am PDT, and you can sign up here:
> >
> >
> >
http://www.zend.com/en/company/news/event/webinar-zend-framework-the-
> b
> > ig-q-a
> >
> >
> >
> >> On Mon, Apr 28, 2008 at 7:41 PM, Wil Sinclair <[EMAIL PROTECTED]> wrote:
> >>
> >> Yes, I know the shutdown of the wiki to read-only mode is not
> particular
> >> well timed considering the Big Q&A is coming up this Wednesday.
> >> Unfortunately, the maintenance period could not be put off;
> believe me-
> >> if it were possible I would have done it!
> >> So, please post any questions you would like answered in the
Big
> Q&A to
> >> this list. I will collect them and add them to those we've
> already
> >> received:
> >>
> >>
> http://framework.zend.com/wiki/pages/viewpage.action?pageId=43922
> >>
> >> If you haven't yet signed up, here's where to do it:
> >>
> >>
> http://www.zend.com/en/company/news/event/webinar-zend-framework-the-
> big
> >> -q-a
> >>
> >> Keep in mind, this will not be your average webinar. It will be
> very
> >> interactive and somewhat impromptu. You could very well ask a
> question
> >> that completely stumps everyone on the team! Go ahead and try.
> :)
> >>
> >> See y'all on Wednesday.
> >>
> >> ,Wil
> >>
> >>
> >>
> >
> >



Re: [fw-general] Webinar - Thanks!

2008-04-30 Thread James Dempster
I would also like to add my thanks, it was a great discussion. I feel
involved in the community. ZF is truly wonderful.

On Wed, Apr 30, 2008 at 7:03 PM, Ryan Brooks <[EMAIL PROTECTED]> wrote:

>  Howdy folks,
>
>
>
> Just wanted to extend my gratitude to the ZF team for putting the webinar
> together; some very cool discussion and questions.
>
>
>
> Also want to pose the question: anyone blogging about it now that it is
> over?
>
> *Ryan Brooks*
> Web Developer & Technophile
> zed23.com 
>
>
>


Re: [fw-general] Webinar - Thanks!

2008-04-30 Thread Bradley Holt
I was hoping to be able to listen to it but I missed it :-(

I'd definitely be interested in some links to anyone blogging about it.
Also, please get the archived version up ASAP! :-)

On Wed, Apr 30, 2008 at 2:03 PM, Ryan Brooks <[EMAIL PROTECTED]> wrote:

>  Howdy folks,
>
>
>
> Just wanted to extend my gratitude to the ZF team for putting the webinar
> together; some very cool discussion and questions.
>
>
>
> Also want to pose the question: anyone blogging about it now that it is
> over?
>
> *Ryan Brooks*
> Web Developer & Technophile
> zed23.com 
>
>
>



-- 
Bradley Holt
[EMAIL PROTECTED]


[fw-general] [fw-db] Zend_Db (mysqli adapter) fetch nested queries

2008-04-30 Thread Vladas Diržys
Hello guys,

if I try to fetch nested queries it looks so, that it doesn't work properly.
It closes first statement on creating another one.
This is not a case with pdo_mysql adapter.

Code example:
if ($result = $db->query("SELECT * FROM some_table LIMIT 10")) {
while ($row = $result->fetch()) {
*print_r($row);*
if ($_result = $db->query("SELECT * FROM some_table LIMIT
5")) {
while ($_row = $_result->fetch()) {
*print_r($_row);*
}
$_result->close();
}
}
$result->close();
}

This prints only 1+5 results instead of 10*5.

Is this behaviour a bug, or undocumented feature? :-)

-- 
Pagarbiai // Gruß,
Vladas Diržys
tel.: +370 620 69020 (Omnitel)
+370 677 17851 (Tele2)
www.dirzys.com


[fw-general] Webinar - Thanks!

2008-04-30 Thread Ryan Brooks
Howdy folks, 

 

Just wanted to extend my gratitude to the ZF team for putting the webinar
together; some very cool discussion and questions.

 

Also want to pose the question: anyone blogging about it now that it is
over?

Ryan Brooks
Web Developer & Technophile
  zed23.com 

 



Re: [fw-general] authenticate only with password with database adapter ?

2008-04-30 Thread Bradley Holt
On Wed, Apr 30, 2008 at 12:12 PM, cjant83 <[EMAIL PROTECTED]> wrote:

>
> I wouldnt like to do this either (requesting just a password). Another
> thought by 'salting' the password you could avoid a message popping up
> if the users chose the same password.


Yes, but I don't see how this solve the problem. Two people can now have the
same password, sure (because technically there different passwords in the
database). But, when someone attempts to login using just that password
(without providing a username) how do you know which users' salt to use?


>
>
> Chris.
>
>
>
>
>
> bradley.holt wrote:
> >
> > On Wed, Apr 30, 2008 at 11:59 AM, Chris Jones <[EMAIL PROTECTED]> wrote:
> >
> >> My suggestion would be to set everything up as if you required a
> >> username and password; a column in your users table for a
> >> id,username,password. On the front end only have a password field for
> >> the user to complete.
> >>
> >> In your auth controller instead of passing a value into
> >> setIdentity($username) from a form, pass the password
> >>
> >> setIdentity($password);
> >>
> >> Every user in your users table would have the same value in the
> >> username and password column. By doing this each 'user' would be
> >> unique as you could assign an id to them.
> >>
> >> The problem is someone might choose the same password. The way around
> >> this would be to make a check when you register a new user or setup a
> >> new password that the value is unique.
> >
> >
> > For this reason, I would ask Denis to question the spec here. It seems
> to
> > me
> > that only requiring a password is a *really bad* idea. As soon as a user
> > is
> > told they need to pick a different password because one is already in
> use,
> > they can now login as that other user!
> >
> >
> >>
> >>
> >> Dont know if thats the best way, but what came to my mind. If it
> >> doesnt make sense let me know ill try explain better :)
> >>
> >> Chris.
> >>
> >>
> >>
> >>
> >> 2008/4/30 Denis Fohl <[EMAIL PROTECTED]>:
> >> > Hi all,
> >> >
> >> > i'm trying to simplify the authentification process as my client
> would
> >> like
> >> > to have only one input field to fill with password.
> >> >
> >> > As it is documented, the identity column must contain unique values
> >> but,
> >> in
> >> > this case, the identity should be the same for each user.
> >> >
> >> > Is there a way to do so ?
> >> >
> >> > Thank you.
> >> >
> >> > Denis.
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Chris.
> >>
> >
> >
> >
> > --
> > Bradley Holt
> > [EMAIL PROTECTED]
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/authenticate-only-with-password-with-database-adapter---tp16979051p16986302.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


-- 
Bradley Holt
[EMAIL PROTECTED]


Re: [fw-general] authenticate only with password with database adapter ?

2008-04-30 Thread cjant83

I wouldnt like to do this either (requesting just a password). Another
thought by 'salting' the password you could avoid a message popping up
if the users chose the same password.

Chris.





bradley.holt wrote:
> 
> On Wed, Apr 30, 2008 at 11:59 AM, Chris Jones <[EMAIL PROTECTED]> wrote:
> 
>> My suggestion would be to set everything up as if you required a
>> username and password; a column in your users table for a
>> id,username,password. On the front end only have a password field for
>> the user to complete.
>>
>> In your auth controller instead of passing a value into
>> setIdentity($username) from a form, pass the password
>>
>> setIdentity($password);
>>
>> Every user in your users table would have the same value in the
>> username and password column. By doing this each 'user' would be
>> unique as you could assign an id to them.
>>
>> The problem is someone might choose the same password. The way around
>> this would be to make a check when you register a new user or setup a
>> new password that the value is unique.
> 
> 
> For this reason, I would ask Denis to question the spec here. It seems to
> me
> that only requiring a password is a *really bad* idea. As soon as a user
> is
> told they need to pick a different password because one is already in use,
> they can now login as that other user!
> 
> 
>>
>>
>> Dont know if thats the best way, but what came to my mind. If it
>> doesnt make sense let me know ill try explain better :)
>>
>> Chris.
>>
>>
>>
>>
>> 2008/4/30 Denis Fohl <[EMAIL PROTECTED]>:
>> > Hi all,
>> >
>> > i'm trying to simplify the authentification process as my client would
>> like
>> > to have only one input field to fill with password.
>> >
>> > As it is documented, the identity column must contain unique values
>> but,
>> in
>> > this case, the identity should be the same for each user.
>> >
>> > Is there a way to do so ?
>> >
>> > Thank you.
>> >
>> > Denis.
>> >
>> >
>> >
>>
>>
>>
>> --
>> Chris.
>>
> 
> 
> 
> -- 
> Bradley Holt
> [EMAIL PROTECTED]
> 
> 

-- 
View this message in context: 
http://www.nabble.com/authenticate-only-with-password-with-database-adapter---tp16979051p16986302.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] authenticate only with password with database adapter ?

2008-04-30 Thread cjant83

Here is the code that might make a bit more sense:

$authAdapter = new Zend_Auth_Adapter_DbTable();
$authAdapter->setTableName('your_table_name');
$authAdapter->setIdentityColumn('username');
$authAdapter->setCredentialColumn('password');
$authAdapter->setIdentity($password);
$authAdapter->setCredential($password);

$auth = Zend_Auth::getInstance();
$result = $auth->authenticate($authAdapter);

*and then continue with looking to see if the user was valid...*



Chris.




cjant83 wrote:
> 
> My suggestion would be to set everything up as if you required a
> username and password; a column in your users table for a
> id,username,password. On the front end only have a password field for
> the user to complete.
> 
> In your auth controller instead of passing a value into
> setIdentity($username) from a form, pass the password
> 
> setIdentity($password);
> 
> Every user in your users table would have the same value in the
> username and password column. By doing this each 'user' would be
> unique as you could assign an id to them.
> 
> The problem is someone might choose the same password. The way around
> this would be to make a check when you register a new user or setup a
> new password that the value is unique.
> 
> Dont know if thats the best way, but what came to my mind. If it
> doesnt make sense let me know ill try explain better :)
> 
> Chris.
> 
> 
> 
> 
> 2008/4/30 Denis Fohl <[EMAIL PROTECTED]>:
>> Hi all,
>>
>> i'm trying to simplify the authentification process as my client would
>> like
>> to have only one input field to fill with password.
>>
>> As it is documented, the identity column must contain unique values but,
>> in
>> this case, the identity should be the same for each user.
>>
>> Is there a way to do so ?
>>
>> Thank you.
>>
>> Denis.
>>
>>
>>
> 
> 
> 
> -- 
> Chris.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/authenticate-only-with-password-with-database-adapter---tp16979051p16986217.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] authenticate only with password with database adapter ?

2008-04-30 Thread Bradley Holt
On Wed, Apr 30, 2008 at 11:59 AM, Chris Jones <[EMAIL PROTECTED]> wrote:

> My suggestion would be to set everything up as if you required a
> username and password; a column in your users table for a
> id,username,password. On the front end only have a password field for
> the user to complete.
>
> In your auth controller instead of passing a value into
> setIdentity($username) from a form, pass the password
>
> setIdentity($password);
>
> Every user in your users table would have the same value in the
> username and password column. By doing this each 'user' would be
> unique as you could assign an id to them.
>
> The problem is someone might choose the same password. The way around
> this would be to make a check when you register a new user or setup a
> new password that the value is unique.


For this reason, I would ask Denis to question the spec here. It seems to me
that only requiring a password is a *really bad* idea. As soon as a user is
told they need to pick a different password because one is already in use,
they can now login as that other user!


>
>
> Dont know if thats the best way, but what came to my mind. If it
> doesnt make sense let me know ill try explain better :)
>
> Chris.
>
>
>
>
> 2008/4/30 Denis Fohl <[EMAIL PROTECTED]>:
> > Hi all,
> >
> > i'm trying to simplify the authentification process as my client would
> like
> > to have only one input field to fill with password.
> >
> > As it is documented, the identity column must contain unique values but,
> in
> > this case, the identity should be the same for each user.
> >
> > Is there a way to do so ?
> >
> > Thank you.
> >
> > Denis.
> >
> >
> >
>
>
>
> --
> Chris.
>



-- 
Bradley Holt
[EMAIL PROTECTED]


Re: [fw-general] authenticate only with password with database adapter ?

2008-04-30 Thread Chris Jones
My suggestion would be to set everything up as if you required a
username and password; a column in your users table for a
id,username,password. On the front end only have a password field for
the user to complete.

In your auth controller instead of passing a value into
setIdentity($username) from a form, pass the password

setIdentity($password);

Every user in your users table would have the same value in the
username and password column. By doing this each 'user' would be
unique as you could assign an id to them.

The problem is someone might choose the same password. The way around
this would be to make a check when you register a new user or setup a
new password that the value is unique.

Dont know if thats the best way, but what came to my mind. If it
doesnt make sense let me know ill try explain better :)

Chris.




2008/4/30 Denis Fohl <[EMAIL PROTECTED]>:
> Hi all,
>
> i'm trying to simplify the authentification process as my client would like
> to have only one input field to fill with password.
>
> As it is documented, the identity column must contain unique values but, in
> this case, the identity should be the same for each user.
>
> Is there a way to do so ?
>
> Thank you.
>
> Denis.
>
>
>



-- 
Chris.


RE: [fw-general] THE BIG Q&A and submitting questions. . .

2008-04-30 Thread Eric Marden
As far as I know there isn't a PHP solution like the suite of tools that
Atlassian has on offer.
Right tool for the job, and all that.

Anyone who needs Zend to only and always use PHP in order to evaluate
the tools they have to offer should probably not be making technical
decisions in the first place. Evaluate Zend tools on the merits of the
tools and whether it benefits the organization, not whether they are
using it to power a complex and largely distributed software development
process. No need to reinvent the wheel. In my experience, most
reinvented wheels come out square.

 
--
Eric Marden


-Original Message-
From: Pete Spicer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 29, 2008 10:01 PM
To: fw-general@lists.zend.com
Subject: Re: [fw-general] THE BIG Q&A and submitting questions. . .

Hi all,
Quick question for tomorrow...

Is there any possibility of Zend building and using a toolset (bug
tracker/wiki etc) based on Zend Framework?

It just seems a bit odd that Zend - the PHP company - is using
Java-based technology to power part of their site, instead of PHP-based.

I also think it would provide reassurance to non-technical people (the
decision makers!) that Zend Framework can be used since "Oh look,
they're using it themselves on a real-world application."

Thanks
Pete

Matthew Weier O'Phinney wrote:
> -- Josh Team <[EMAIL PROTECTED]> wrote (on Tuesday, 29 April 2008, 
> 06:39 PM -0500):
>   
>> When is the webinar tomorrow? I don't see a place to sign up but I am

>> wanting to demo ZF to my company as we are rebuilding marines.com and

>> they want to use symfony :(
>> 
>
> It's at 12pm EDT/9am PDT, and you can sign up here:
>
> 
> http://www.zend.com/en/company/news/event/webinar-zend-framework-the-b
> ig-q-a
>
>
>   
>> On Mon, Apr 28, 2008 at 7:41 PM, Wil Sinclair <[EMAIL PROTECTED]> wrote:
>>
>> Yes, I know the shutdown of the wiki to read-only mode is not
particular
>> well timed considering the Big Q&A is coming up this Wednesday.
>> Unfortunately, the maintenance period could not be put off;
believe me-
>> if it were possible I would have done it!
>> So, please post any questions you would like answered in the Big
Q&A to
>> this list. I will collect them and add them to those we've
already
>> received:
>>
>> http://framework.zend.com/wiki/pages/viewpage.action?pageId=43922
>>
>> If you haven't yet signed up, here's where to do it:
>>
>>
http://www.zend.com/en/company/news/event/webinar-zend-framework-the-big
>> -q-a
>>
>> Keep in mind, this will not be your average webinar. It will be
very
>> interactive and somewhat impromptu. You could very well ask a
question
>> that completely stumps everyone on the team! Go ahead and try. :)
>>
>> See y'all on Wednesday.
>>
>> ,Wil
>>
>>
>> 
>
>   



[fw-general] authenticate only with password with database adapter ?

2008-04-30 Thread Denis Fohl

Hi all,

i'm trying to simplify the authentification process as my client would 
like to have only one input field to fill with password.


As it is documented, the identity column must contain unique values but, 
in this case, the identity should be the same for each user.


Is there a way to do so ?

Thank you.

Denis.




[fw-general] Re: Question about Zend_Controller_Router_Route_Regex and greedy swallowing for trailing /'s

2008-04-30 Thread Colin Guthrie
Michał Minicki wrote:
> Colin Guthrie <[EMAIL PROTECTED]> napisał(a):
> 
>> Anyway, I'm using Zend_Controller_Router_Route_Regex, and have found
>> some odd behaviour that I'm not 100% sure is deliberate and wonder if
>> someone could confirm this is expected or if it's actually a bug!
> 
> Why don't you look at the code and the test suite? Regex route does this as 
> a first line when matching path_info:

Yeah I guess I should have, but then I'd only be posting a question
asking why anyway. I figured those that knew ZF inside out would know
the reasoning too :)

I guess I should have looked tho', so sorry for that part.

> $path = trim(urldecode($path), '/');
> 
> First of all it's being done in order to be consistent with the rest of the 
> routes which behave similarly.
> 
> Secondly, there were some issues reported on JIRA regarding the issue - you 
> can read them if you want additional info. As far as I remember regex route 
> used to do only ltrim in the beginning.

Hmmm, interesting. My initial reaction would be that this is
inconsistent with regular expression matching and produces cases the
like the one I presented. If you want to trim off the trailing /'s it's
possible in most cases to construct your regexp such that it does this
for you.

I was about to say: "It should at very least be made clear in the docs
that this is happening." but on second reading I see it's there:
http://www.framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.routes.regex
Ahh well, I guess that should have been obvious then! Sorry!

I'll try and find JIRA and find out the info you're referring to.

Col