Re: [fw-general] Feedback and questions: 2007

2007-12-28 Thread Shekar C Reddy
I guess the framework consumed the free time of whoever was willing to work
on whatever approved components and there it evolved - including the
Zend_Service_* components. For instance, critical components such as
Zend_Locale, Zend_Session were late entries until they found Thomas/Ralph to
develop them.



On Dec 28, 2007 4:08 PM, Federico Cargnelutti <[EMAIL PROTECTED]> wrote:

>  Hi,
>
> As I'm following more closely the development and progress of the ZF, I
> would like to give the dev-team some feedback and of course, ask some
> questions.
>
> First the feedback:
>
> I think ZF is relative new and the progress so far has been amazing. ZendF
> has a community with very talented developers. The first impression I got
> when joining the community was that web services are one of the many
> priorities. I think that web services are great, they are the future right?
> I'm sure that today every website uses one or more web services. But, who is
> using the web services components included in the ZF? I know that in terms
> of image, to associate the ZF with web services is a good thing, but, the
> discussions I'm having with Technical Managers and other Developers are
> always about the components that ZF doesn't have. For example, Zend_Ftp,
> Zend_Form, Zend_File_Uploader, Zend_File_Utility, Zend_Debug, Zend_Build,
> Zend_Image, Zend_Tree, Zend_Nav and others that honestly I can't remember
> now.
>
> Working as a contractor is a funny thing, you meet a lot of developers and
> you have managers everywhere. So, in my case, when I'm in the planning stage
> of a project, and discussing about different technologies, architectures and
> frameworks, if the project requires the use of PHP, I recommend ZF, but, if
> the project faces a tight deadline (almost always), we end up using Symfony.
> I have used Phython/Django and Ruby/RoR before, but the company where I'm
> contracting now, develops mainly using PHP and .NET.
>
> So basically, Technical Managers know they don't have 2 months to develop
> the missing components, and they are asking me questions such as, how are we
> going to upload and resize images? How are we going to create a navigation
> system? How are we going to implement a web service for authentication using
> OpenID? How does the framework cope with TDD? Doe it have unit testing? A
> debugger? So far, they never asked me anything about any of the
> Zend_Service_* components, except in one project that we needed one for
> PayPal.
>
> Ok, that was my feedback based on my experience. And now the questions :)
>
> - What are the main objectives and golas for 2008 in regards to the ZF?
> - What are the priorities and what is going to be considered top priority
> in the next 6 months?
>
> Also, there's some confusion out there about the purpose of the ZF, some
> people see it as a library of components that doesn't offer a solid system
> architecture for web development, others, like myself, see it as a solid
> framework with a flexible and extensible architecture. But still, there's
> some confusion.
>
> - So, how are you planning to promote the Zend Framework next year? What
> are my bosses going to read or hear about it?
> - How are you going to approach new developers?
>
> Sorry for this massive email guys! I would like to know your opinions on
> this and invite everyone to send their feedback.
>
> Thanks and happy 2008!
>
> Fed
>
>
>
>
>


RE: [fw-general] Feedback and questions: 2007

2007-12-28 Thread Federico Cargnelutti

Hi Wil, 

It's good to know that, and I like the idea of inventing the future. 

You answered on of my questions, so it's just a matter of submitting
proposals and getting feedback from the community, then the community
decides if the idea is useful or not. So basically, there are no priorities
at the moment. That's something I didn't know for example.

I was also asking those questions to lean more about the project itself, to
know if we should focus on creating new proposals or researching and
contributing to the existing ones. I also didn't know if the idea was to
port components from other frameworks, such as Solar or PEAR, or to advice
people to use Solar & ZF in conjunction. Because there's a lot of interested
stuff out there, and I thought that there might be some kind of list with
components and their priorities. But I'm glad to hear that the community is
inventing the future of the framework!

Thanks for your reply :)


-- 
View this message in context: 
http://www.nabble.com/Feedback-and-questions%3A-2007-tp14532126s16154p14534121.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] Zend_Mail Bug?

2007-12-28 Thread Jacky Chen
Hi Simone,

the code for sending emails are following:


$tr = new Zend_Mail_Transport_Smtp($mailConfig->host,
$mailConfig->options->toArray());
Zend_Mail::setDefaultTransport($tr);
$mail = new Zend_Mail('utf8');

$mail->setBodyHtml($body);
$mail->setBodyText($body);
$mail->setFrom($mailConfig->from, $mailConfig->sender);
$mail->addTo($email);
$mail->setSubject($subject);
try {
$mail->send();
return true;
} catch (Exception $e) {
return false;
}
and the subject and body contains Chinese characters.

I search the solution for solve this problem,and i found that the problem
would be in the Zend_Mail::_encodeHeader() methods.

the code of the _encodeHeader() methods are following:

protected function _encodeHeader($value)
{
  if (Zend_Mime::isPrintable($value)) {
  return $value;
  } else {
  $quotedValue = Zend_Mime::encodeQuotedPrintable($value);
  $quotedValue = str_replace(array('?', ' '), array('=3F', '=20'),
$quotedValue);
  return '=?' . $this->_charset . '?Q?' . $quotedValue . '?=';
  }
}

if change it like this:

protected function _encodeHeader($value)
{
  if (Zend_Mime::isPrintable($value)) {
  return $value;
  } else {
  return '=?'.$this->_charset.'?B?'.base64_encode($value).'?=';
  }
}

the problem is soloved.

2007/12/29, Jacky Chen <[EMAIL PROTECTED]>:
>
> Hi Simone,
>
> the code for sending emails are following:
>
>
> $tr = new Zend_Mail_Transport_Smtp($mailConfig->host,
> $mailConfig->options->toArray());
> Zend_Mail::setDefaultTransport($tr);
> $mail = new Zend_Mail('utf8');
>
> $mail->setBodyHtml($body);
> $mail->setBodyText($body);
> $mail->setFrom($mailConfig->from, $mailConfig->sender);
> $mail->addTo($email);
> $mail->setSubject($subject);
> try {
> $mail->send();
> return true;
> } catch (Exception $e) {
> return false;
> }
> and the subject and body contains Chinese characters.
>
>
> 2007/12/29, Simone Carletti <[EMAIL PROTECTED]>:
> >
> >
> > It would be helpful if you post here a sample code you use for sending
> > emails.
> > A real example would be wonderful. :)
> >
> > -- Simone
> >
> >
> > Jacky Chen-2 wrote:
> > >
> > > Hi all,
> > >
> > > I send mail with Zend_Mail,and i received the mail body as
> > following.What
> > > is
> > > the problem?
> > >
> > > =E5=96=84=E8=B5=84=E6=96=99?=
> > > Content-Type: multipart/alternative; charset="utf8";
> > >  boundary="=_a63f032d182e04daf6311fe5329bef65"
> > > MIME-Version: 1.0
> > >
> > > --=_a63f032d182e04daf6311fe5329bef65
> > > Content-Type: text/plain; charset="utf8"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > >
> > =E4=BA=B2=E7=88=B1=E7=9A=84=E7=94=A8=E6=88=B7=E6=82=A8=E5=A5=BD=EF=BC=81 > >>=E6=AC=A2=E8=BF=8E=E5=8A=A0=E5=85=A5HeySpace=E5=A4=A7=E5=AE=B6=E5=BA=AD=
> >
> > >
> > =EF=BC=8C=E8=AF=B7=E7=82=B9=E5=87=BB=E4=BB=A5=E4=B8=8B=E9=93=BE=E6=8E=A5=
> > > =E5=AE=8C=E5=96=84=E6=82=A8=E7=9A=84=E8=B5=84=E6=96=99=EF=BC=9A
> > > /passport/register/email/jacky.hf%40gmail.com/active/ec=
> > > 61998014a83f48a84e0b3dbafeb01f 
> > >
> > > --=_a63f032d182e04daf6311fe5329bef65
> > > Content-Type: text/html; charset="utf8"
> > > Content-Transfer-Encoding: quoted-printable
> > >
> > >
> > =E4=BA=B2=E7=88=B1=E7=9A=84=E7=94=A8=E6=88=B7=E6=82=A8=E5=A5=BD=EF=BC=81 >
> > >>=E6=AC=A2=E8=BF=8E=E5=8A=A0=E5=85=A5HeySpace=E5=A4=A7=E5=AE=B6=E5=BA=AD=
> > >
> > =EF=BC=8C=E8=AF=B7=E7=82=B9=E5=87=BB=E4=BB=A5=E4=B8=8B=E9=93=BE=E6=8E=A5=
> > > =E5=AE=8C=E5=96=84=E6=82=A8=E7=9A=84=E8=B5=84=E6=96=99=EF=BC=9A
> > > /passport/register/email/jacky.hf%40gmail.com/active/ec=
> > > 61998014a83f48a84e0b3dbafeb01f 
> > >
> > > --=_a63f032d182e04daf6311fe5329bef65--
> > >
> > >
> >
> > --
> > View this message in context:
> > http://www.nabble.com/Zend_Mail-Bug--tp14521843s16154p14532427.html
> > Sent from the Zend Framework mailing list archive at 
> > Nabble.com
> > .
> >
> >
>


RE: [fw-general] Feedback and questions: 2007

2007-12-28 Thread Wil Sinclair
Comments inline.

> > But, who is using the web services components included in the ZF? I
> know
> > that in terms of image, to associate the ZF with web services is a
> good
> > thing, but, the discussions I'm having with Technical Managers and
> other
> > Developers are always about the components that ZF doesn't have. For
> > example, Zend_Ftp, Zend_Form, Zend_File_Uploader, Zend_File_Utility,
> > Zend_Debug, Zend_Build, Zend_Image, Zend_Tree, Zend_Nav and others
> that
> > honestly I can't remember now.
> 
> (shrugs) You can't have every useful module right at the beginning.
> There
> are a lot of useful modules right now, and plenty of useful things
> coming
> in 2008.

That's spot on. We are developing what we feel would be most useful to
our users, while providing some components- including web services- that
are available nowhere else in the PHP world. What gets prioritized for
Zend employees' time is largely a matter of strategy towards maximizing
the usefulness of the project and the number of users experiencing said
usefulness ;) ; what the community does is largely up to their needs and
interests. Fortunately, our 'use at will' architecture means that you
can use these components alongside other project's components. Solar in
particular is well-suited for such side-by-side use and provides many of
the components you mention above. That said, it is our intention to fill
out ZF to cover most, if not all, of this functionality. You'll find
that much of it will be included in ZF 1.5, which is slated for Q1 2008.
 
> > So basically, Technical Managers know they don't have 2 months to
> develop
> > the missing components, and they are asking me questions such as,
how
> are
> > we going to upload and resize images? How are we going to create a
> > navigation system? How are we going to implement a web service for
> > authentication using OpenID? How does the framework cope with TDD?
> Doe it
> > have unit testing? A debugger? So far, they never asked me anything
> about
> > any of the Zend_Service_* components, except in one project that we
> needed
> > one for PayPal.
> 
> Well, of course it does have unit testing and OpenID support.  Test-
> driven
> development is a methodology, not a technology.  Xdebug is useful for
> debugging.  A navigation system--really?  That's pretty basic.
> 
> At some point a developer has to actually write some PHP, though, and
> can't rely on the framework to do everything--this is the case with
> uploading and resizing images.  Uploading is very simple, and resizing
> images just requires the use of the Magick Wand or gd extensions.
> 
> Anyway, services are only a small portion of the Zend Framework whole.
> 
> -Matt

The only thing that I would add to that is a quote from Alan Kay:

"The best way to predict the future is to invent it."

If you'd like to see Zend Framework go in one direction or the other, I
encourage you to start submitting proposals and contribute your time and
ideas. As you've pointed out, there is no lack of functional areas to
work on. ;)

,Wil


Re: [fw-general] Zend_Mail Bug?

2007-12-28 Thread Jacky Chen
Hi Simone,

the code for sending emails are following:


$tr = new Zend_Mail_Transport_Smtp($mailConfig->host,
$mailConfig->options->toArray());
Zend_Mail::setDefaultTransport($tr);
$mail = new Zend_Mail('utf8');

$mail->setBodyHtml($body);
$mail->setBodyText($body);
$mail->setFrom($mailConfig->from, $mailConfig->sender);
$mail->addTo($email);
$mail->setSubject($subject);
try {
$mail->send();
return true;
} catch (Exception $e) {
return false;
}
and the subject and body contains Chinese characters.


2007/12/29, Simone Carletti <[EMAIL PROTECTED]>:
>
>
> It would be helpful if you post here a sample code you use for sending
> emails.
> A real example would be wonderful. :)
>
> -- Simone
>
>
> Jacky Chen-2 wrote:
> >
> > Hi all,
> >
> > I send mail with Zend_Mail,and i received the mail body as
> following.What
> > is
> > the problem?
> >
> > =E5=96=84=E8=B5=84=E6=96=99?=
> > Content-Type: multipart/alternative; charset="utf8";
> >  boundary="=_a63f032d182e04daf6311fe5329bef65"
> > MIME-Version: 1.0
> >
> > --=_a63f032d182e04daf6311fe5329bef65
> > Content-Type: text/plain; charset="utf8"
> > Content-Transfer-Encoding: quoted-printable
> >
> >
> =E4=BA=B2=E7=88=B1=E7=9A=84=E7=94=A8=E6=88=B7=E6=82=A8=E5=A5=BD=EF=BC=81 >>=E6=AC=A2=E8=BF=8E=E5=8A=A0=E5=85=A5HeySpace=E5=A4=A7=E5=AE=B6=E5=BA=AD=
> >
> =EF=BC=8C=E8=AF=B7=E7=82=B9=E5=87=BB=E4=BB=A5=E4=B8=8B=E9=93=BE=E6=8E=A5=
> > =E5=AE=8C=E5=96=84=E6=82=A8=E7=9A=84=E8=B5=84=E6=96=99=EF=BC=9A
> > /passport/register/email/jacky.hf%40gmail.com/active/ec=
> > 61998014a83f48a84e0b3dbafeb01f 
> >
> > --=_a63f032d182e04daf6311fe5329bef65
> > Content-Type: text/html; charset="utf8"
> > Content-Transfer-Encoding: quoted-printable
> >
> >
> =E4=BA=B2=E7=88=B1=E7=9A=84=E7=94=A8=E6=88=B7=E6=82=A8=E5=A5=BD=EF=BC=81 >>=E6=AC=A2=E8=BF=8E=E5=8A=A0=E5=85=A5HeySpace=E5=A4=A7=E5=AE=B6=E5=BA=AD=
> >
> =EF=BC=8C=E8=AF=B7=E7=82=B9=E5=87=BB=E4=BB=A5=E4=B8=8B=E9=93=BE=E6=8E=A5=
> > =E5=AE=8C=E5=96=84=E6=82=A8=E7=9A=84=E8=B5=84=E6=96=99=EF=BC=9A
> > /passport/register/email/jacky.hf%40gmail.com/active/ec=
> > 61998014a83f48a84e0b3dbafeb01f 
> >
> > --=_a63f032d182e04daf6311fe5329bef65--
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Zend_Mail-Bug--tp14521843s16154p14532427.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>


Re: [fw-general] Feedback and questions: 2007

2007-12-28 Thread Federico Cargnelutti

Hi Matt


Matthew Ratzloff wrote:
> 
> Well, of course it does have unit testing and OpenID support.  Test-driven
> development is a methodology, not a technology.
> 

Yes, I know. The discussions I had where about how ZF integrates with
different methodologies, not just TDD. A framework can define processes by
providing tools to help developer implement different methodologies. 


Matthew Ratzloff wrote:
> 
> Xdebug is useful for debugging.
> 

True, but I've worked with frameworks that implement internal debugging
systems as well and they are always a plus. 


Matthew Ratzloff wrote:
> 
> A navigation system--really?  That's pretty basic.
> 

Navigation, in this days, is not just a vertical or horizontal menu. I spent
a month developing 6 components for a social networking site that used tags
as its main navigation system. And believe, we had to develop some really
interesting algorithms. So I'm basically concerned about this stuff, should
we focus on this things or not? 


Matthew Ratzloff wrote:
> 
> At some point a developer has to actually write some PHP, though, and
> can't rely on the framework to do everything--this is the case with
> uploading and resizing images.  Uploading is very simple, and resizing
> images just requires the use of the Magick Wand or gd extensions.
> 

Yes, I see it like that as well. I'm just re-transmitting other people
thoughts and comments. Based on what they told me, a lot of them upload and
resize images, an none of them, for example, use free web services in their
commercial projects (except for Amazon and PayPal). So, my question,
shouldn't a framework solve this issues? Isn't that one of the purposes of a 
framework. Because you are suggesting a "build it yourself, it's quite
easy", and I'm sure they can do it, they are very talented people, but, do
they have the time to build it?

That's the thing about contracting, you move from one place to the other one
every 2 or 3 months, and you meet a lot of developers, and you work with a
lot of different frameworks. 

Thanks Matt.






-- 
View this message in context: 
http://www.nabble.com/Feedback-and-questions%3A-2007-tp14532126s16154p14533327.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] Feedback and questions: 2007

2007-12-28 Thread Federico Cargnelutti

Hi Thomas, yes, I completely agree. And like you said (and I forgot to
mention), the components developed in the last months are great, no doubt
about that. 

The idea behind some of the questions I made is to know whether contributors
should focus more on existing or non-existing components. And to know the
objectives and goals of the project so we can create proposal or contribute
to existing ones based on those objectives. And also, just for curiosity, to
know a little bit more about the plans for next year,.

Thanks :)



Thomas Weidner-2 wrote:
> 
> Hy Federico,
> 
> I can only speak from my point of perspective...
> 
> The progress of ZF in the last months is really great. We have several new 
> classes and functionality integrated.
> Several classes you mentioned are already in progress of implementation:
> For example: Zend_Builder, Zend_File_Uploader, Zend_Form...
> And some have been integrated in December:
> For example: Zend_Layout, Zend_OpenId, Zend_TimeSync...
> 
> There is always work for us as there are always new ideas which we are 
> confronted with and want to integrate them.
> 
> I don't know why you are so strong related to Zend_Service_*. Of course we 
> have focused in integrating much usefull services in the past. But when
> you 
> have followed the progress in the past months you will have seen that we 
> have also integrated several other usefull classes beside new Services.
> 
> Related to the confusion is one thing to mention:
> ZF is a loosly coupled framework. This gives users the possibility to use 
> only parts of the framework which comes very handy if you are extending 
> existing code. I think this flexibility is what most non-developers are
> not 
> familiary with.
> Actually we are integrating several tools which most people expect which 
> have used Symfony and other fixed frameworks in the past.
> And we are working on integrating a set of default applications... see the 
> Zend_Build and related proposals from wil.
> 
> And just one thing to mention at last:
> The Zend Framework is growing with every idea, proposal or usecase which
> is 
> told from the community. So even your feedback will at last be assimilated 
> :-)
> 
> Greetings
> Thomas
> 
> 
> - Original Message - 
> From: "Federico Cargnelutti" <[EMAIL PROTECTED]>
> To: "Zend Framework" 
> Sent: Friday, December 28, 2007 11:08 PM
> Subject: [fw-general] Feedback and questions: 2007
> 
> 
> Hi,
> 
> As I'm following more closely the development and progress of the ZF, I 
> would like to give the dev-team some feedback and of course, ask some 
> questions.
> 
> First the feedback:
> 
> I think ZF is relative new and the progress so far has been amazing. ZendF 
> has a community with very talented developers. The first impression I got 
> when joining the community was that web services are one of the many 
> priorities. I think that web services are great, they are the future
> right? 
> I'm sure that today every website uses one or more web services. But, who
> is 
> using the web services components included in the ZF? I know that in terms 
> of image, to associate the ZF with web services is a good thing, but, the 
> discussions I'm having with Technical Managers and other Developers are 
> always about the components that ZF doesn't have. For example, Zend_Ftp, 
> Zend_Form, Zend_File_Uploader, Zend_File_Utility, Zend_Debug, Zend_Build, 
> Zend_Image, Zend_Tree, Zend_Nav and others that honestly I can't remember 
> now.
> 
> Working as a contractor is a funny thing, you meet a lot of developers and 
> you have managers everywhere. So, in my case, when I'm in the planning
> stage 
> of a project, and discussing about different technologies, architectures
> and 
> frameworks, if the project requires the use of PHP, I recommend ZF, but,
> if 
> the project faces a tight deadline (almost always), we end up using
> Symfony. 
> I have used Phython/Django and Ruby/RoR before, but the company where I'm 
> contracting now, develops mainly using PHP and .NET.
> 
> So basically, Technical Managers know they don't have 2 months to develop 
> the missing components, and they are asking me questions such as, how are
> we 
> going to upload and resize images? How are we going to create a navigation 
> system? How are we going to implement a web service for authentication
> using 
> OpenID? How does the framework cope with TDD? Doe it have unit testing? A 
> debugger? So far, they never asked me anything about any of the 
> Zend_Service_* components, except in one project that we needed one for 
> PayPal.
> 
> Ok, that was my feedback based on my experience. And now the questions :)
> 
> - What are the main objectives and golas for 2008 in regards to the ZF?
> - What are the priorities and what is going to be considered top priority
> in 
> the next 6 months?
> 
> Also, there's some confusion out there about the purpose of the ZF, some 
> people see it as a library of components that doesn't offer a solid system 

Re: [fw-general] Feedback and questions: 2007

2007-12-28 Thread Matthew Ratzloff
On Fri, December 28, 2007 2:08 pm, Federico Cargnelutti wrote:
> But, who is using the web services components included in the ZF? I know
> that in terms of image, to associate the ZF with web services is a good
> thing, but, the discussions I'm having with Technical Managers and other
> Developers are always about the components that ZF doesn't have. For
> example, Zend_Ftp, Zend_Form, Zend_File_Uploader, Zend_File_Utility,
> Zend_Debug, Zend_Build, Zend_Image, Zend_Tree, Zend_Nav and others that
> honestly I can't remember now.

(shrugs) You can't have every useful module right at the beginning.  There
are a lot of useful modules right now, and plenty of useful things coming
in 2008.

> So basically, Technical Managers know they don't have 2 months to develop
> the missing components, and they are asking me questions such as, how are
> we going to upload and resize images? How are we going to create a
> navigation system? How are we going to implement a web service for
> authentication using OpenID? How does the framework cope with TDD? Doe it
> have unit testing? A debugger? So far, they never asked me anything about
> any of the Zend_Service_* components, except in one project that we needed
> one for PayPal.

Well, of course it does have unit testing and OpenID support.  Test-driven
development is a methodology, not a technology.  Xdebug is useful for
debugging.  A navigation system--really?  That's pretty basic.

At some point a developer has to actually write some PHP, though, and
can't rely on the framework to do everything--this is the case with
uploading and resizing images.  Uploading is very simple, and resizing
images just requires the use of the Magick Wand or gd extensions.

Anyway, services are only a small portion of the Zend Framework whole.

-Matt



Re: [fw-general] Feedback and questions: 2007

2007-12-28 Thread Thomas Weidner

Hy Federico,

I can only speak from my point of perspective...

The progress of ZF in the last months is really great. We have several new 
classes and functionality integrated.

Several classes you mentioned are already in progress of implementation:
For example: Zend_Builder, Zend_File_Uploader, Zend_Form...
And some have been integrated in December:
For example: Zend_Layout, Zend_OpenId, Zend_TimeSync...

There is always work for us as there are always new ideas which we are 
confronted with and want to integrate them.


I don't know why you are so strong related to Zend_Service_*. Of course we 
have focused in integrating much usefull services in the past. But when you 
have followed the progress in the past months you will have seen that we 
have also integrated several other usefull classes beside new Services.


Related to the confusion is one thing to mention:
ZF is a loosly coupled framework. This gives users the possibility to use 
only parts of the framework which comes very handy if you are extending 
existing code. I think this flexibility is what most non-developers are not 
familiary with.
Actually we are integrating several tools which most people expect which 
have used Symfony and other fixed frameworks in the past.
And we are working on integrating a set of default applications... see the 
Zend_Build and related proposals from wil.


And just one thing to mention at last:
The Zend Framework is growing with every idea, proposal or usecase which is 
told from the community. So even your feedback will at last be assimilated 
:-)


Greetings
Thomas


- Original Message - 
From: "Federico Cargnelutti" <[EMAIL PROTECTED]>

To: "Zend Framework" 
Sent: Friday, December 28, 2007 11:08 PM
Subject: [fw-general] Feedback and questions: 2007


Hi,

As I'm following more closely the development and progress of the ZF, I 
would like to give the dev-team some feedback and of course, ask some 
questions.


First the feedback:

I think ZF is relative new and the progress so far has been amazing. ZendF 
has a community with very talented developers. The first impression I got 
when joining the community was that web services are one of the many 
priorities. I think that web services are great, they are the future right? 
I'm sure that today every website uses one or more web services. But, who is 
using the web services components included in the ZF? I know that in terms 
of image, to associate the ZF with web services is a good thing, but, the 
discussions I'm having with Technical Managers and other Developers are 
always about the components that ZF doesn't have. For example, Zend_Ftp, 
Zend_Form, Zend_File_Uploader, Zend_File_Utility, Zend_Debug, Zend_Build, 
Zend_Image, Zend_Tree, Zend_Nav and others that honestly I can't remember 
now.


Working as a contractor is a funny thing, you meet a lot of developers and 
you have managers everywhere. So, in my case, when I'm in the planning stage 
of a project, and discussing about different technologies, architectures and 
frameworks, if the project requires the use of PHP, I recommend ZF, but, if 
the project faces a tight deadline (almost always), we end up using Symfony. 
I have used Phython/Django and Ruby/RoR before, but the company where I'm 
contracting now, develops mainly using PHP and .NET.


So basically, Technical Managers know they don't have 2 months to develop 
the missing components, and they are asking me questions such as, how are we 
going to upload and resize images? How are we going to create a navigation 
system? How are we going to implement a web service for authentication using 
OpenID? How does the framework cope with TDD? Doe it have unit testing? A 
debugger? So far, they never asked me anything about any of the 
Zend_Service_* components, except in one project that we needed one for 
PayPal.


Ok, that was my feedback based on my experience. And now the questions :)

- What are the main objectives and golas for 2008 in regards to the ZF?
- What are the priorities and what is going to be considered top priority in 
the next 6 months?


Also, there's some confusion out there about the purpose of the ZF, some 
people see it as a library of components that doesn't offer a solid system 
architecture for web development, others, like myself, see it as a solid 
framework with a flexible and extensible architecture. But still, there's 
some confusion.


- So, how are you planning to promote the Zend Framework next year? What are 
my bosses going to read or hear about it?

- How are you going to approach new developers?

Sorry for this massive email guys! I would like to know your opinions on 
this and invite everyone to send their feedback.


Thanks and happy 2008!

Fed







Re: [fw-general] Zend_Mail Bug?

2007-12-28 Thread Simone Carletti

It would be helpful if you post here a sample code you use for sending
emails.
A real example would be wonderful. :)

-- Simone


Jacky Chen-2 wrote:
> 
> Hi all,
> 
> I send mail with Zend_Mail,and i received the mail body as following.What
> is
> the problem?
> 
> =E5=96=84=E8=B5=84=E6=96=99?=
> Content-Type: multipart/alternative; charset="utf8";
>  boundary="=_a63f032d182e04daf6311fe5329bef65"
> MIME-Version: 1.0
> 
> --=_a63f032d182e04daf6311fe5329bef65
> Content-Type: text/plain; charset="utf8"
> Content-Transfer-Encoding: quoted-printable
> 
> =E4=BA=B2=E7=88=B1=E7=9A=84=E7=94=A8=E6=88=B7=E6=82=A8=E5=A5=BD=EF=BC=81>=E6=AC=A2=E8=BF=8E=E5=8A=A0=E5=85=A5HeySpace=E5=A4=A7=E5=AE=B6=E5=BA=AD=
> =EF=BC=8C=E8=AF=B7=E7=82=B9=E5=87=BB=E4=BB=A5=E4=B8=8B=E9=93=BE=E6=8E=A5=
> =E5=AE=8C=E5=96=84=E6=82=A8=E7=9A=84=E8=B5=84=E6=96=99=EF=BC=9A
> /passport/register/email/jacky.hf%40gmail.com/active/ec=
> 61998014a83f48a84e0b3dbafeb01f 
> 
> --=_a63f032d182e04daf6311fe5329bef65
> Content-Type: text/html; charset="utf8"
> Content-Transfer-Encoding: quoted-printable
> 
> =E4=BA=B2=E7=88=B1=E7=9A=84=E7=94=A8=E6=88=B7=E6=82=A8=E5=A5=BD=EF=BC=81>=E6=AC=A2=E8=BF=8E=E5=8A=A0=E5=85=A5HeySpace=E5=A4=A7=E5=AE=B6=E5=BA=AD=
> =EF=BC=8C=E8=AF=B7=E7=82=B9=E5=87=BB=E4=BB=A5=E4=B8=8B=E9=93=BE=E6=8E=A5=
> =E5=AE=8C=E5=96=84=E6=82=A8=E7=9A=84=E8=B5=84=E6=96=99=EF=BC=9A
> /passport/register/email/jacky.hf%40gmail.com/active/ec=
> 61998014a83f48a84e0b3dbafeb01f 
> 
> --=_a63f032d182e04daf6311fe5329bef65--
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Zend_Mail-Bug--tp14521843s16154p14532427.html
Sent from the Zend Framework mailing list archive at Nabble.com.



[fw-general] Feedback and questions: 2007

2007-12-28 Thread Federico Cargnelutti
Hi, 

As I'm following more closely the development and progress of the ZF, I would 
like to give the dev-team some feedback and of course, ask some questions. 

First the feedback: 

I think ZF is relative new and the progress so far has been amazing. ZendF has 
a community with very talented developers. The first impression I got when 
joining the community was that web services are one of the many priorities. I 
think that web services are great, they are the future right? I'm sure that 
today every website uses one or more web services. But, who is using the web 
services components included in the ZF? I know that in terms of image, to 
associate the ZF with web services is a good thing, but, the discussions I'm 
having with Technical Managers and other Developers are always about the 
components that ZF doesn't have. For example, Zend_Ftp, Zend_Form, 
Zend_File_Uploader, Zend_File_Utility, Zend_Debug, Zend_Build, Zend_Image, 
Zend_Tree, Zend_Nav and others that honestly I can't remember now. 

Working as a contractor is a funny thing, you meet a lot of developers and you 
have managers everywhere. So, in my case, when I'm in the planning stage of a 
project, and discussing about different technologies, architectures and 
frameworks, if the project requires the use of PHP, I recommend ZF, but, if the 
project faces a tight deadline (almost always), we end up using Symfony. I have 
used Phython/Django and Ruby/RoR before, but the company where I'm contracting 
now, develops mainly using PHP and .NET. 

So basically, Technical Managers know they don't have 2 months to develop the 
missing components, and they are asking me questions such as, how are we going 
to upload and resize images? How are we going to create a navigation system? 
How are we going to implement a web service for authentication using OpenID? 
How does the framework cope with TDD? Doe it have unit testing? A debugger? So 
far, they never asked me anything about any of the Zend_Service_* components, 
except in one project that we needed one for PayPal. 

Ok, that was my feedback based on my experience. And now the questions :) 

- What are the main objectives and golas for 2008 in regards to the ZF? 
- What are the priorities and what is going to be considered top priority in 
the next 6 months? 

Also, there's some confusion out there about the purpose of the ZF, some people 
see it as a library of components that doesn't offer a solid system 
architecture for web development, others, like myself, see it as a solid 
framework with a flexible and extensible architecture. But still, there's some 
confusion. 

- So, how are you planning to promote the Zend Framework next year? What are my 
bosses going to read or hear about it? 
- How are you going to approach new developers? 

Sorry for this massive email guys! I would like to know your opinions on this 
and invite everyone to send their feedback. 

Thanks and happy 2008! 

Fed 






RE: [fw-general] fisheye broken ?

2007-12-28 Thread Wil Sinclair
Sorry guys, I'm installing new versions of everything, and I thought I
could slip it in with no one noticing. ;) Should be working fine now.

,Wil

> -Original Message-
> From: Pieter [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 28, 2007 1:13 PM
> To: Thomas Weidner
> Cc: fw-general@lists.zend.com
> Subject: Re: [fw-general] fisheye broken ?
> 
> Hi Thomas,
> 
> Fisheye works fine here, but there is one change, Crucible is also
> installed with fisheye. I think that the problem is caused by the
> update.
> 
> Regards,
> 
> Pieter Kokx
> 
> Thomas Weidner schreef:
> > Dear Dev-Team,
> >
> > Fisheye seems to be stopped particulary.
> > I am getting this error when searching for details:
> >
> > 500 Server Error
> > FishEye was unable to process your request.
> >
> > javax.servlet.ServletException
> >
> > Repository is not running (it is Stopped). Please try again later.
> > Current status is ""
> >
> > You are running release CR1.2.1 FE1.4.1 (build-263 2007-12-19),
> please
> > report your release number when reporting bugs.
> >
> > Got a problem or a suggestion? Discuss it in the online forums see
> the
> > website for other support options.
> >
> > Crucible
> > FishEye Repositories
> >  Zend_Framework:  Stopped
> >  Zend_Framework_Laboratory:  Stopped
> >
> >
> > Would be nice if someone of you could look into it and get it
running
> > again.
> > It already worked several time today, but no longer since about 20
> > minutes.
> >
> > Greetings
> > Thomas
> >
> >
> >
> 



Re: [fw-general] fisheye broken ?

2007-12-28 Thread Pieter

Hi Thomas,

Fisheye works fine here, but there is one change, Crucible is also 
installed with fisheye. I think that the problem is caused by the update.


Regards,

Pieter Kokx

Thomas Weidner schreef:

Dear Dev-Team,

Fisheye seems to be stopped particulary.
I am getting this error when searching for details:

500 Server Error
FishEye was unable to process your request.

javax.servlet.ServletException

Repository is not running (it is Stopped). Please try again later. 
Current status is ""


You are running release CR1.2.1 FE1.4.1 (build-263 2007-12-19), please 
report your release number when reporting bugs.


Got a problem or a suggestion? Discuss it in the online forums see the 
website for other support options.


Crucible
FishEye Repositories
 Zend_Framework:  Stopped
 Zend_Framework_Laboratory:  Stopped


Would be nice if someone of you could look into it and get it running 
again.
It already worked several time today, but no longer since about 20 
minutes.


Greetings
Thomas








[fw-general] fisheye broken ?

2007-12-28 Thread Thomas Weidner

Dear Dev-Team,

Fisheye seems to be stopped particulary.
I am getting this error when searching for details:

500 Server Error
FishEye was unable to process your request.

javax.servlet.ServletException

Repository is not running (it is Stopped). Please try again later. Current 
status is ""


You are running release CR1.2.1 FE1.4.1 (build-263 2007-12-19), please 
report your release number when reporting bugs.


Got a problem or a suggestion? Discuss it in the online forums see the 
website for other support options.


Crucible
FishEye Repositories
 Zend_Framework:  Stopped
 Zend_Framework_Laboratory:  Stopped


Would be nice if someone of you could look into it and get it running again.
It already worked several time today, but no longer since about 20 minutes.

Greetings
Thomas 



Re: [fw-general] Zend_Filter_Input, no toArray()

2007-12-28 Thread Eric Coleman


$row->setFromArray($input->getUnescaped())->save();

Or, you can also call $input->getEscaped() to get an array of escaped  
values...


You'll probably want to save the unescaped versions though ;)

Regards,
Eric

On Dec 28, 2007, at 2:04 PM, David Mintz wrote:

Any way to get all the filtered/validated data out of your  
Zend_Filter_Input

object in one shot?

It would be nice to say

$input = new Zend_Filter_Input($filters, $validators,$data);


if ($input->isValid()) {

   $row->setFromArray($input->toArray())->save();

}

and be done with it. It seems that all we need in Zend_Input_Filter is

function toArray() { return this->_data; }



--
David Mintz
http://davidmintz.org/

The subtle source is clear and bright
The tributary streams flow through the darkness




[fw-general] Zend_Filter_Input, no toArray()

2007-12-28 Thread David Mintz
Any way to get all the filtered/validated data out of your Zend_Filter_Input
object in one shot?

It would be nice to say

$input = new Zend_Filter_Input($filters, $validators,$data);


if ($input->isValid()) {

$row->setFromArray($input->toArray())->save();

}

and be done with it. It seems that all we need in Zend_Input_Filter is

function toArray() { return this->_data; }



-- 
David Mintz
http://davidmintz.org/

The subtle source is clear and bright
The tributary streams flow through the darkness


[fw-general] About docment compiling

2007-12-28 Thread Jason Qi
Hi Darby,

There is a problem for some documents. Here, I use one example:

In file Zend_Currency-Useage.xml, line 11 to line 36

It is a  tag and there is also a  tag inside.

When I issued command like:

make XMLFILE=Zend_Currency-Useage.xml check1

I would get


_temp_Zend_Currency-Useage.xml:54: element example: validity error : Element 
example content does not follow the DTD, expecting (blockinfo? , (title , 
titleabbrev?) , (calloutlist | glosslist | bibliolist | itemizedlist | 
orderedlist | segmentedlist | simplelist | variablelist | literallayout | 
programlisting | programlistingco | screen | screenco | screenshot | synopsis | 
cmdsynopsis | funcsynopsis | classsynopsis | fieldsynopsis | 
constructorsynopsis | destructorsynopsis | methodsynopsis | formalpara | para | 
simpara | address | blockquote | graphic | graphicco | mediaobject | 
mediaobjectco | informalequation | informalexample | informalfigure | 
informaltable | indexterm | beginpage | procedure)+), got (title para 
programlisting note )

--

This means that this document(Zend_Currency-Useage.xml) did not follow the DTD 
rule, 

When I moved  tag out of the  tag, this error message had gone.

So, there will be two solutions 

1) modify the DTD rule to allow  tag reside in  tag
2) move all  tag out from  tag in all the documents involved.

I prefer 1), but I could not find where to modify the rule.

Could you help me to find it? or you have another solution?

Thanks.

Jason.







   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

[fw-general] [PDO_PGSQL] lastInsertId() returns bool(false)

2007-12-28 Thread Jan Pieper
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

I tried to use Zend_Db with PDO_PGSQL. After inserting a new row to
database i try to get last insert id by lastInsertId() method but I even
get bool(false). My tables create statement:

CREATE SEQUENCE seq_article_id;
CREATE TABLE article (
article_id integer NOT NULL DEFAULT nextval('seq_article_id')
PRIMARY KEY
...
);

PostgreSQL's manual says, that SERIAL is an autoincrementing integer,
but i read that is the same as above (~helper).

So, what i have todo to get a valid last insert id from lastInsertId()?
Could it be that the sequence name must have a specific name? In
Example: __seq? I actually define the sequence
name by myself.

- -- Jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHdPCdd3s9o1H9MZ4RA42tAJ9DGYzn0HD3ec4udDLiOql9dU6erACgjK26
cVk+M0YVmAruY7Zbm1EDk1c=
=PJQn
-END PGP SIGNATURE-