Re: [fw-general] namespace persistence

2009-07-24 Thread Peter Warnock
On Fri, Jul 24, 2009 at 4:24 PM, hacheb wrote: > > What I want, however, is to keep the second namespace. In effect, only the > zend_auth namespace should be unset (ie. removed from the data column) > whilst the other would remain untouched. > I viewed the source for Zend/Session/Namespace.php

[fw-general] namespace persistence

2009-07-24 Thread hacheb
Hello, ok, so I'm starting up with Zend's framework and setting up a login procedure. I'm using a database table for session storage. In addition to the zend_auth namespace, i am using another namespace to keep track of other stuff. I've configured the database savehandler's lifetime to a specifi

Re: [fw-general] Retrieving already bootstrapped resources

2009-07-24 Thread Brenton Alker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Graham Anderson wrote: > I'd like to inject my own container into Zend_Application, for various > reasons > I'd like to do this at any point from a module bootstrap and not before. > > And so; I'd like to get a definitive list of the already bootstr

[fw-general] Retrieving already bootstrapped resources

2009-07-24 Thread Graham Anderson
I'd like to inject my own container into Zend_Application, for various reasons I'd like to do this at any point from a module bootstrap and not before. And so; I'd like to get a definitive list of the already bootstrapped resources so that I can grab them from the current container (Zend_Registr

Re: [fw-general] Models as Singletons

2009-07-24 Thread Ed Lazor
> That boost can also occur if you simply do metadata caching, per the > performance recommendations. ;) Truly, that's the single easiest way to > improve performance in Zend_Db_Table, and it has huge impact, > particularly if you instantiate multiple copies of the table within your > app. > > Usin

Re: [fw-general] Caching Zend_XmlRpc_Server decreases performances

2009-07-24 Thread Matthew Weier O'Phinney
-- Саша Стаменковић wrote (on Friday, 24 July 2009, 03:20 PM +0200): > Wow, great, now it's faster. Thanks Matthew. > > Isn't automatic_serialization true by default in Zend_Cache? It might be, I'm not sure. Check the API docs. :) > Why isn't this implemented in Zend_XmlRpc_Server_Cache? Becau

Re: [fw-general] Front Controller Plugin Problems

2009-07-24 Thread Bart McLeod
James Hargreaves schreef: Hello I am trying to implement some functionality via a couple of Controller Plugins - my requirements are as follows: 1) load custom configuration and make this information available in the view 2) check the input URL contains a language code and re-route to holding

Re: [fw-general] Caching Zend_XmlRpc_Server decreases performances

2009-07-24 Thread Саша Стаменковић
Wow, great, now it's faster. Thanks Matthew. Isn't automatic_serialization true by default in Zend_Cache? Why isn't this implemented in Zend_XmlRpc_Server_Cache? Regards, Saša Stamenković On Fri, Jul 24, 2009 at 2:21 PM, Matthew Weier O'Phinney wrote: > -- umpirsky wrote > (on Thursday, 23 Jul

RE: [fw-general] Problem with ReCaptcha element?

2009-07-24 Thread Sergio Rinaudo
Nobody noticed this issue? Now I use a view script file as decorator for each form, and the only ReCaptcha that is rendered is the last one, not the first, anyway, not both as expected. Sergio Rinaudo From: kaiohken1...@hotmail.com To: fw-general@lists.zend.com Date: Thu, 23 Jul 2009 22:40:5

Re: [fw-general] file decorator not found, while present in latest trunk - gets even stranger

2009-07-24 Thread Thomas Weidner
See the ZF FAQ section in our wiki. A file element must have a file decorator otherwise it can not be rendered correctly. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "aSecondWill" To: Sent: Friday, July 24, 2009

Re: [fw-general] Models as Singletons

2009-07-24 Thread Matthew Weier O'Phinney
-- Ed Lazor wrote (on Thursday, 23 July 2009, 02:22 PM -0700): > I realize some people are saying that Singletons should never be used. > If that's the case, why are they used in Zend Framework? For > example, Zend_Auth, Zend_Registry, Zend_Loader_Autoloader, and > Zend_Controller_Front. Aren'

Re: [fw-general] Caching Zend_XmlRpc_Server decreases performances

2009-07-24 Thread Matthew Weier O'Phinney
-- umpirsky wrote (on Thursday, 23 July 2009, 12:32 AM -0700): > I have XML-RPC client-server architecture witl Zend_XmlRpc on both, client > and server side. My app with XML-RPC is 3-5 times slower with XML-RPC > comparing to same app with pure PHP calls - pretty slow, huh. Some methods > produce

[fw-general] Front Controller Plugin Problems

2009-07-24 Thread James Hargreaves
Hello I am trying to implement some functionality via a couple of Controller Plugins - my requirements are as follows: 1) load custom configuration and make this information available in the view 2) check the input URL contains a language code and re-route to holding page (where they can select

[fw-general] Problem Adding New Pages to Existing PDF using Zend_Pdf

2009-07-24 Thread D h @ v @ l
HI all,     I want to create large PDF files using Zend_Pdf. I have approx 2 million records in database and I want to create PDf of that. I know that much array size would causing me Memoery Exhaustion error.    So I decided to Add Some data to pdf file and then fetch next data and then try t

Re: [fw-general] Models as Singletons

2009-07-24 Thread troels knak-nielsen
On Thu, Jul 23, 2009 at 11:22 PM, Ed Lazor wrote: > I realize some people are saying that Singletons should never be used. >  If that's the case, why are they used in Zend Framework?   For > example, Zend_Auth, Zend_Registry, Zend_Loader_Autoloader, and > Zend_Controller_Front.  Aren't these good e

Re: [fw-general] Caching Zend_XmlRpc_Server decreases performances

2009-07-24 Thread Саша Стаменковић
Looks like Pear XMLRPC2 is faster http://pear.php.net/package/XML_RPC2/. I replaced Zend_XmlRpc_Server with PEAR XML_RPC2_Server and perfermances are better, with same functionality. Regards, Saša Stamenković On Thu, Jul 23, 2009 at 9:32 AM, umpirsky wrote: > > Hi zfers. > > I have XML-RPC clie