[fw-general] Best practice for Master/Slave Db w/ ZF?

2009-06-23 Thread wadearnold
I'm looking for a sanity check for my ZF connection to a mysql master/slave architecture. My Db configuration is MySQL Master and three slaves. The three slaves are behind a load balancer with linux hearbeat so to php the slaves are a single connection. To date I have been using two Zend_Db connec

[fw-general] gzip compression for AMF server?

2009-01-28 Thread wadearnold
I was wondering what the best practices where for adding gzip compression support to ZF Servers such as SOAP, XML-RPC and in my case AMF. Right now no headers are sent from the Zend_Amf_Server and the bootstrap just returns a string which is the AMF data and the bootstrap echo's out the data. From

Re: [fw-general] Zend_amf and boolean values

2009-01-28 Thread wadearnold
Questionmark wrote: > > In PHP I query a MySQL database which in a column returns a boolean. > In PHP I have class parameter where this boolean is saved. > Now all values are true, but not in my database. > can you find out what the variable thinks it is on PHP. echo gettype($boolFromDB); I

Re: [fw-general] Zend_Amf_Server - attaching an *instance*

2009-01-09 Thread wadearnold
Darby Felton-2 wrote: > > Excellent! Once this support is released (do you know which version will > contain this support?) and we upgrade to that release, I can remove my > workaround using Zend_Registry. Currently we're using 1.7.2. > It's in the trunk repository so just pull Zend_Amf_Serv

Re: [fw-general] Testing AMF code with Zend Amf

2009-01-09 Thread wadearnold
Philip G wrote: > > The one that's holding me up from moving right to Zend_Amf is the testing > part. I'm not a flash developer; so developing some flash interface is > currently out of my reach (and time constraints). The amfphp service > browser > is great, and used constantly here to test ou

Re: [fw-general] Zend_Amf_Server - attaching an *instance*

2009-01-09 Thread wadearnold
Darby Felton-2 wrote: > > $server->addFunction(array($object, 'somePublicAmfResponderFunction')); > I get a terse exception thrown: > "Unable to attach function" > > I think that this is a bug, but I wanted to report here to get feedback > first. Shall I create an issue in JIRA? > That shou

Re: [fw-general] Using Zend_Amf with DOMDocument

2008-12-28 Thread wadearnold
This has been updated in .7.2 -- View this message in context: http://www.nabble.com/Using-Zend_Amf-with-DOMDocument-tp20482637p21197916.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Using Zend_Amf with DOMDocument

2008-11-19 Thread wadearnold
I created a ticket for this issue and will get it updated right away. http://framework.zend.com/issues/browse/ZF-4999 ZF-4999 Wade -- View this message in context: http://www.nabble.com/Using-Zend_Amf-with-DOMDocument-tp20482637p20592280.html Sent from the Zend Framework mailing list archi

[fw-general] Does a RecursiveDirectoryIterator exist in ZF?

2008-11-05 Thread wadearnold
I am looking to implement a RecursiveDirectoryIterator based off of the SPL's DirectoryIterator and RecursiveIterator into Zend Amf but wanted to ask if it already exists in the framework. My hope is that I can take the result and then perform Zend_Server_Reflection::reflectClass on the resulting

Re: [fw-general] Server upgrade issue w/ public __construct

2008-09-17 Thread wadearnold
Tobias Gies wrote: > > Hi Wade, > > interesting issue indeed. I saw this kind of parse error the last time > when > I tried to run a PHP 5 script unter PHP 4. Please, double check that you > are > indeed using a version of PHP 5 and not any ancient PHP 4 version. > > Best regards, > Tobias >

[fw-general] Server upgrade issue w/ public __construct

2008-09-17 Thread wadearnold
We are in the process of upgrading our web servers from 5.1.2 to 5.2.6 and we are getting odd string errors on all of the zend framework. Here is an example if you just go to the Zend loader directly: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR