[Solar-talk] Problem with APC + objects created inside views / view helpers
Rodrigo Moraes
rodrigo.moraes at gmail.com
Mon May 28 14:30:35 PDT 2007
On 5/28/07, Paul M Jones wrote:
> (I was going to say
> something along the lines of "don't instantiate Models in a View" but
> it looks like you're doing the equivalent of a component here, so I
> guess that's OK. ;-)
I guess we can call them 'components'. I don't see an easier/more
lightweight way to define independent modules/components/whatever,
which are called by different apps, than using some special view
helpers, which act as mini-controllers responding back to the main
app. Perhaps I'll reconsider this, but it is working very well and it
looks clean and organized too. :-|
I'll test XCache soon. I guess the weird APC problem is related to
instances of PDO created inside a buffer process, but I'm really not
sure.
-- rodrigo
More information about the solar-talk
mailing list