Re: [fw-general] Zend_pdf: send document to browser

2009-11-27 Thread Uli Wolf

Hi,
something similar came up a few months ago, perhaps this helps you:
http://n4.nabble.com/Zend-Pdf-how-to-output-for-download-td663453.html#a663453

Regards,
Uli

KimG wrote:
> 
> can anyone point out what i should do? i think i've followed the
> documentation.
> 

-- 
View this message in context: 
http://n4.nabble.com/Zend-pdf-send-document-to-browser-tp788255p796432.html
Sent from the Zend Framework mailing list archive at Nabble.com.


Re: [fw-general] Errors in PHPDoc comments

2009-09-29 Thread Uli Wolf
Hi,

i think the best way would be to post the errors with the corresponding
patches (if available) to the issue-tracker.

Hope this helps & thank you for your efforts!
Uli

On Tue, 29 Sep 2009 04:50:20 -0700 (PDT), "a...@net"
 wrote:
> 
> Hello!
> 
> I've created a tool for analyzing method and parameter types in PHPDoc
> comments for ZF classes and it found ~200 errors like:
> Zend_Amf_Server.getResponse : return type was not found:
> Zend_Amf_Server_Response
> Zend_Application_Resource_Db.getDbAdapter : return type was not found:
> Zend_Db_Adapter_Interface
> Zend_Auth_Adapter_InfoCard.getPKCipherObject : return type was not found
> Zend_InfoCard_Cipher_PKI_Interface
> 
> Corrections are easy:
> Zend_Amf_Server_Response - should be Zend_Amf_Response
> Zend_Db_Adapter_Interface - should be Zend_Db_Adapter_Abstract
> etc
> 
> Importance of these errors is low but they break code navigation in some
> places.
> 
> Unfortunately, the tool is the plugin to Enterprise Architect so it
cannot
> be easy shared and integrated into another systems.
> 
> What do you think is the best way with these errors? Just ignore them,
> post
> to Jira, or something so?
> 
> Thanks,
> Alex
> --
> View this message in context:
> http://www.nabble.com/Errors-in-PHPDoc-comments-tp25661584p25661584.html
> Sent from the Zend Framework mailing list archive at Nabble.com.



Re: AW: [fw-general] Provide web.config when creating projects in zend tool?

2009-08-30 Thread Uli Wolf

I think there is one =>
http://framework.zend.com/manual/en/project-structure.rewrite.html (D.4.2)

Greetz,
Uli


Stefan Gehrig wrote:
> 
> Perhaps someone should add this one or a better one to the manual.
> 
> Best regards
> 
> Stefan
> 

-- 
View this message in context: 
http://www.nabble.com/Provide-web.config-when-creating-projects-in-zend-tool--tp25202794p25212131.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] Lazy loading of Zend DB

2009-08-14 Thread Uli Wolf

Afaik Zend_Db is doing exactly what you want:

http://framework.zend.com/manual/en/zend.db.html#zend.db.adapter.connecting.getconnection

"Creating an instance of an Adapter class does not immediately connect 
to the RDBMS server. The Adapter saves the connection parameters, and 
makes the actual connection on demand, the first time you need to 
execute a query."


Hope this helps,
Uli


Ryan Chan wrote:

Hello,


I followed the tutorial at:
http://framework.zend.com/docs/quickstart/create-a-model-and-database-table

However, I am using pdo_mysql.

It seems that if I put db setting,


resources.db.adapter   = xxx



 in the application.ini config, even my controller action don't need
the database query, the zfw still need to create connection to the DB?

Is it possible to connect only if needed?


Thanks.



Re: [fw-general] What ZendFramework Version for php 5.1.6?

2009-08-06 Thread Uli Wolf

I think they chose 5.2.4 [1] if i'm not wrong ;)

As everyone tells me, the information of PHP_CompatInfo is pretty useless as
it's not correct or should be ignored anyway.  Would it be better to take
the website offline to uencourage users to update to the newer versions of
php? I'm running PHP5.2.10 on all of my webservers, so personally i have no
need for this :P

Regards,
Uli

[1] http://framework.zend.com/manual/en/requirements.html

Tobias Petry wrote:
> 
> 
> 
> Uli Wolf wrote:
>> 
>> i've quickly created a website with the compatibility information using
>> PHP_CompatInfo.
> nice approach, but not correct ;)
> 
> In different PHP5.1.x versions were bugs in the SPL so that the Zf team
> had to choose 5.1.6 as minimum requirement.
> 

-- 
View this message in context: 
http://www.nabble.com/What-ZendFramework-Version-for-php-5.1.6--tp24804392p24841043.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] What ZendFramework Version for php 5.1.6?

2009-08-06 Thread Uli Wolf

Its the output of PHP_CompatInfo which i've generated with the following
command as i wanted a summary per directory:

## SVN Export
svn -q export
http://framework.zend.com/svn/framework/standard/tags/release-1.9.0/library/Zend/
Zend
## Delete empty directories as PHP_CompatInfo displays errors otherwise
# find -depth -type d -empty -exec rmdir {} \;
# Run PHP_CompatInfo
find Zend -type d -exec pci -o 16 -S -v 0 -t 67 -d {} \; >> 1.9.0.htm

Still there is no complete component which is 4.0 compatible, only parts
which do not use function calls of php5.

Hope that clearifies that a bit.

jasonistaken wrote:
> 
> There _must_ be something wrong with that list, as it reports some
> components as 4.0 compatible, 
> which is certainly not the case.
> 

-- 
View this message in context: 
http://www.nabble.com/What-ZendFramework-Version-for-php-5.1.6--tp24804392p24840825.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] What ZendFramework Version for php 5.1.6?

2009-08-05 Thread Uli Wolf

Hi all,

i've quickly created a website with the compatibility information using
PHP_CompatInfo. Perhaps it's useful to anyone:
http://zfcompat.wolf-u.li/

And i've added a list of files of zf1.9.0 that are not usable with PHP5.1.6:
http://wolf-u.li/3128/

Thanks to Stefan for providing this list.

Regards,
Uli

Stefan Sturm-2 wrote:
> 
> Hello,
> 
> what ZendFramework Version can I use with php 5.1.6?
> Is it possible to use the latest version and avoid some modules or do
> I need to use an older version?
> 
> Thanks for your help,
> Stefan Sturm
> 
> 

-- 
View this message in context: 
http://www.nabble.com/What-ZendFramework-Version-for-php-5.1.6--tp24804392p24825891.html
Sent from the Zend Framework mailing list archive at Nabble.com.



Re: [fw-general] What ZendFramework Version for php 5.1.6?

2009-08-04 Thread Uli Wolf

Stefan,

there is old list by Till available which shows the minimum requirements for
some components. (I don't know if these are still correct, but i'm pretty
sure that theses didn't get lower ;) ) See here:
http://www.nabble.com/Re%3A-PHP-version-requirement-p20905575.html

As i'm using php5.2.10 i don't know the best ZF-version for your php-version
(you are probably a redhat-user, right?). Perhaps the above list helps a
little.

Uli


Stefan Sturm-2 wrote:
> 
> Hello,
> 
> what ZendFramework Version can I use with php 5.1.6?
> Is it possible to use the latest version and avoid some modules or do
> I need to use an older version?
> 
> Thanks for your help,
> Stefan Sturm
> 
> 

-- 
View this message in context: 
http://www.nabble.com/What-ZendFramework-Version-for-php-5.1.6--tp24804392p24804792.html
Sent from the Zend Framework mailing list archive at Nabble.com.