Re: [fw-general] Accessing models from view helpers

2010-06-09 Thread Hector Virgen
Hi Aurimas, That's my blog post, and using an identity map definitely can improve performance, especially when you need to fetch the same object multiple times in a request. For example, if PHP is generating a page with 20 comments and 10 of them are by the same person, you don't want to make a ro

RE: [fw-general] Flash Builder 4 (swf) for Views (ZF1.10) - Error 2032 Loading

2010-06-09 Thread Jack Houghton
I figured it out. If anyone hits this issue be sure to have the Flex 4 SDK swf installed along with your application swf file. -Jack- _ From: Jack Houghton [mailto:j...@hicus.com] Sent: Monday, June 07, 2010 10:42 PM To: fw-general@lists.zend.com Subject: [fw-general] Flash Builde

[fw-general] Accessing models from view helpers

2010-06-09 Thread Aurimas Likas
Now I'm thinking about the best way to access models from the view helpers in terms of performance. I dont like the idea of creating the same model instance througout all view helpers. Its an overhead. One developer pointed me to use Dependency Injection Container.. dont know where and how to star

RE: [fw-general] Zend_Cache + Tags + Expiry = Exceeding max execution time?

2010-06-09 Thread Steven Brown
Check out my blog posts: http://www.yewchube.com/2009/03/zend_cache_backend_file-auto-clean-causing-problems/ http://www.yewchube.com/2009/04/zend_cache_backend_file-and-tag-based-cleaning/ Basically the cleaning process takes too long if you have a large number of cache entries. Metadata is not

Re: [fw-general] Why does Zend_Db_Table's method info('primary') starts with 1?

2010-06-09 Thread Bill Karwin
On Jun 9, 2010, at 9:16 AM, Thomas D. wrote: Zend_Db_Table's method info('primary') will return an array containing all the primary keys. I would expect, that the first key should have the offset 0, but the returned array starts with offset 1. Is there any reason why the array starts with in

[fw-general] Why does Zend_Db_Table's method info('primary') starts with 1?

2010-06-09 Thread Thomas D.
Hi, Zend_Db_Table's method info('primary') will return an array containing all the primary keys. I would expect, that the first key should have the offset 0, but the returned array starts with offset 1. Is there any reason why the array starts with index 1? -- Regards, Thomas

[fw-general] Re: Zend_Cache + Tags + Expiry = Exceeding max execution time?

2010-06-09 Thread Colin Guthrie
'Twas brillig, and ma...@shqiperia.com at 09/06/10 15:08 did gyre and gimble: > I have no tests, but we have a website where we use infinite Zend_Cache > for examples and at 2.4G files everything looks normal. > After this point I see that the I/O disk time increases a slightly and so > does the l

Re: [fw-general] Zend_Cache + Tags + Expiry = E xceeding max execution time?

2010-06-09 Thread mandi
I have no tests, but we have a website where we use infinite Zend_Cache for examples and at 2.4G files everything looks normal. After this point I see that the I/O disk time increases a slightly and so does the load (around 2.x). We are used to clean up the cache at this level. Rgds, Arma

[fw-general] Zend_Cache + Tags + Expiry = Exceeding max execution time?

2010-06-09 Thread Colin Guthrie
Hi, I've not done much in the way of extensive testing in this regard but I figured I'd ask some questions and see if any other folks are in this situation. I've been developing a fairly extensive data denormalisation system which is based on Zend_Cache + the File backend. It makes use of Tags to

[fw-general] Zend OpenId Result and Redirect?

2010-06-09 Thread willolbrys
I'm using a slightly modified version of the Zend OpenId classes to get openid logins from google apps. The results are very positive, as I seem to be getting successful results from Google. I cannot get successful results passed to Zend_Auth, though. For example, Zend_Auth_Adapter_Openid on line

Re: [fw-general] Unable to write session data when using session resource plugin

2010-06-09 Thread Marcus Stöhr
Nevermind, I found the problem: As I use Doctrine 2 as my ORM of choice. Due to a association in my user-class it couldn't serialize the object to store it in the session. After deleting the association everything is fine. :) Am 08.06.2010 um 16:48 schrieb Marcus Stöhr: > Hello everyone. > > F