Avneesh Jain wrote:
> My second question is regarding application state. How does symfony 
> store application state? How can I add/remove stuff from application 
> state? Is it possible to create application state before the 
> application starts serving user requests? First request to a Symfony 
> app is always slow, I believe its reading all the YAML files and 
> building some kind of state. How can an application add to this state? 
> Are there standard hooks to which I can attach my code which would run 
> at startup? Where is this state stored - in files or in-memory? I am 
> new to PHP and I was looking for an equivalent of ServletContext 
> object of Java and couldn't find it easily. Any pointers are greatly 
> appreciated.
Pleased you like Doctrine :)

Hopefully, doctrine will be released as stable soon, which will really 
help with the possiblity of it being the default OR/M in the future.  
Either way, Doctrine support will remain, even if it is as a plugin.

As far as state goes, the YAML files are compiled into PHP files and 
live in the 'cache' directory.

You probably want to read this:

http://www.symfony-project.org/book/1_0/05-Configuring-Symfony




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to