Re: [fw-general] Lazy Loading Resources

2010-10-15 Thread Matthew Weier O'Phinney
-- A.J. Brown a...@ajbrown.org wrote (on Thursday, 14 October 2010, 05:09 PM -0400): I've been doing some research on lazy loading resources in Zend Framework, and it seems that the decision has been made that resources that should be lazy loaded should not be a part of the bootstrapping

[fw-general] Re: Letter case problem in Zend_Http_Response

2010-10-15 Thread David Muir
Hector Virgen wrote: As brought up by Artem, it's case-insensitive so it shouldn't matter as long as browsers are following the spec. IIRC, IE does not follow the spec correctly. David -- View this message in context:

[fw-general] Re: Date Subtractions Differences

2010-10-15 Thread David Muir
How did you create the dates? David -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Date-Subtractions-Differences-tp2996040p2996412.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Re: Date Subtractions Differences

2010-10-15 Thread scs
Hello, $gd and $rd are variables received from db in format 2010-12-24 (year-month-day). $going = new Zend_Date($gd, '-MM-dd'); $return = new Zend_Date($rd, '-MM-dd'); As an extra note to my question: When I changed $diff = $return-getDate()-subDate($going-getDate())-toArray(); to $diff =

Re: [fw-general] Letter case problem in Zend_Http_Response

2010-10-15 Thread Ryan Chan
Hi all, On Fri, Oct 15, 2010 at 1:12 AM, Matthew Weier O'Phinney matt...@zend.com wrote: I think this may be due to how PHP handles header names, particularly the Location header. However, I'm not 100% positive; hopefully Shahar (author of the component) will jump in to respond. The problem

Re: [fw-general] Letter case problem in Zend_Http_Response

2010-10-15 Thread Matthew Weier O'Phinney
-- Ryan Chan ryanchan...@gmail.com wrote (on Friday, 15 October 2010, 08:38 PM +0800): On Fri, Oct 15, 2010 at 1:12 AM, Matthew Weier O'Phinney matt...@zend.com wrote: I think this may be due to how PHP handles header names, particularly the Location header. However, I'm not 100% positive;

Re: [fw-general] Lazy Loading Resources

2010-10-15 Thread Jurian Sluiman
On Friday 15 Oct 2010 12:45:12 Matthew Weier O'Phinney wrote: The design of Zend_Application was to initialize resources needed on each request, plain and simple. What you describe is more of a Service Container and/or DI Container. You can actually use these _with_ Zend_Application to

Re: [fw-general] Lazy Loading Resources

2010-10-15 Thread Pádraic Brady
The Manager's primary advantage is to hold multiple configurations on tap in an easily accessible way. It's a middle road of sorts since caches are heavily context based. It's easily adapted to lazy loading but then are we not entering DI territory anyway? Paddy Sent from my iPhone On 15

Re: [fw-general] Letter case problem in Zend_Http_Response

2010-10-15 Thread Ryan Chan
On Fri, Oct 15, 2010 at 9:23 PM, Matthew Weier O'Phinney matt...@zend.com wrote: Again, are you running into _actual_ issues? Whether or not the conversion is necessary is a pointless argument at this point; the question is: is the behavior leading to problems? And would changing it open new

[fw-general] Status of Exceptions Milestone in ZF2

2010-10-15 Thread Ralph Schindler
Hey All, We are coming to the end of the exceptions milestone of zf2, and I wanted to take a moment to see where everyone is on their contributions. The last ones on my plate are: Zend\CodeGenerator Zend\Reflection Zend\Session Zend\InfoCard (needs only to be merged) Zend\XmlRpc

AW: [fw-general] Re: Date Subtractions Differences

2010-10-15 Thread Thomas Weidner
Note that according to manual and faq the calendar year ' differs from the real year ''. As long as Thursday is below the 4th the week differs, so does the year oft he week. See into your book calendar for an real world example Thomas Weidner Zend Framework Certified Engineer I18N Team