On 20.01.2011, at 00:32, ryan weaver wrote:

> I realize the problem with generating on every request in production, but 
> isn't there a middleground? What about the following (by default):
> 
>  * always generate these classes in dev
>  * generate conditionally using a file_exists() in prod
>  * Keep the option to never generate proxies or hydrators for advanced users 
> (but it has to be explicitly enabled).

that file_exists() is pretty expensive to force upon everyone and adding an if 
to decide when to do the file_exists() is just ugly imho.

regards,
Lukas Kahwe Smith
[email protected]



-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to