Re: [fw-general] PDOException with message SQLSTATE[HY000]: General error: 2036

2007-02-19 Thread Sam Davey
Hi, I have received a reply from Lukas Foldyna who helpfully suggested the following: try this $db-getConnection()-setAttribute (PDO::ATTR_EMULATE_PREPARES, true); I assumed he meant $db to be an instance of Zend_Db_Adapter returned from the Zend_Db factory. However getConnection is not a

[fw-general] UML, ZF Coding Standard differences in Zend_Pdf

2007-02-19 Thread André Hoffmann
Hi, I'm currently working on an UML export/import tool for PHP 5 as there is absolutely no fully functional open source tool available at the moment. After reading the ZF roadmap I wasn't sure whether or not this is something that would make sense in the Zend Framework. If so I'd be willing to

Re: [fw-general] UML, ZF Coding Standard differences in Zend_Pdf

2007-02-19 Thread Lars Strojny
Hi, Am Montag, den 19.02.2007, 14:01 +0100 schrieb André Hoffmann: [...] While reverse-engineering the ZF for testing purposes I came across some major Coding Standard differences in the Zend Framework concerning the classes in Zend/Pdf/Resource: For example Zend_Pdf_Image is not(as you would

Re: [fw-general] UML, ZF Coding Standard differences in Zend_Pdf

2007-02-19 Thread Alexander Veremyev
Hi all, It's not a bug. It's a feature :) Zend_Pdf_Image is not intended to be used without Zend_Pdf class. Zend/Pdf/Resource/Image.php file is loaded by require_once() call in Zend/Pdf.php file. So there are no problem for classes autoloading. The reason for such coding standards

Re: [fw-general] UML, ZF Coding Standard differences in Zend_Pdf

2007-02-19 Thread Kevin McArthur
I'm reworking Zend_Pdf_Image anyway, so it will be totally different pre 1.0. This upgrade is logged as ZF-11 and the status is approximately 50% complete. Kevin - Original Message - From: Alexander Veremyev [EMAIL PROTECTED] To: Lars Strojny [EMAIL PROTECTED] Cc:

Re: [fw-general] UML, ZF Coding Standard differences in Zend_Pdf

2007-02-19 Thread Matthew Ratzloff
I believe he uses this method to shorten the class name. Zend_Pdf_Resource_Image_Jpeg = Zend_Pdf_Image_Jpeg I would argue in favor of convention over a few less keystrokes. It's a longer name, but that's one of the downsides of using a language that has no namespace support. :-) import

Re: [fw-general] Consistency in naming

2007-02-19 Thread Martel Valgoerad
Matthew Ratzloff wrote: Consistency means predictability, which means being able to recall names without having to check the manual every time. Seconded. -Matt -- Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | http://aie.pl/martel.asc

Re: [fw-general] Consistency in naming

2007-02-19 Thread Werner
Matthew Ratzloff wrote: Consistency means predictability, which means being able to recall names without having to check the manual every time. It's why most people can't use PHP's date or string functions without looking at the documentation, for example. Very good point, I'm glad you

Re: [fw-general] Consistency in naming

2007-02-19 Thread Jim Scherer
Great catch and well put. I hope this is implemented. Matthew Ratzloff wrote: There seem to be a few issues with naming consistency of the framework components. Nearly all of them have Zend_(noun) as the pattern, but there are some that don't. Unlike classes like Zend_Search or

Fw: [fw-general] Consistency in naming

2007-02-19 Thread Matthew Ratzloff
I think Andrew meant to send this to the list: - Original Message - From: Andrew Bidochko [EMAIL PROTECTED] To: Matthew Ratzloff [EMAIL PROTECTED] Sent: Monday, February 19, 2007 6:51 PM Subject: Re: [fw-general] Consistency in naming Zend_Validator indeed! We already used the same

Re: Fw: [fw-general] Consistency in naming

2007-02-19 Thread Lars Strojny
Hi, Am Montag, den 19.02.2007, 19:26 -0800 schrieb Matthew Ratzloff: [...] Also I suggest to use Zend_Data_Validator name instead of a plain Zend_Validator. What do you think? Zend_Data_Validatar is meant to be a validation class for Zend_Data, which does not exists. So a valid name would

[fw-general] Docs not updating?

2007-02-19 Thread Matthew Ratzloff
I was looking for the documentation on Zend_Console_Getopt (now in core) and I couldn't find it in the ZFDEV area of the wiki, either core or incubator. It's supposed to update hourly, but the documentation isn't there--just the XML committed a few days ago. Help? -Matt

Re: [fw-general] Docs not updating?

2007-02-19 Thread Thomas Weidner
I was looking for the documentation on Zend_Console_Getopt (now in core) and I couldn't find it in the ZFDEV area of the wiki, either core or incubator. It's supposed to update hourly, but the documentation isn't there--just the XML committed a few days ago. Help? Since 12.Feb. 02:15 the

Re: [fw-general] Docs not updating?

2007-02-19 Thread Andries Seutens
Thomas Weidner schreef: I was looking for the documentation on Zend_Console_Getopt (now in core) and I couldn't find it in the ZFDEV area of the wiki, either core or incubator. It's supposed to update hourly, but the documentation isn't there--just the XML committed a few days ago. Help?