[symfony-users] Re: [Symfony2] Can't understand how reverse proxy works

2011-06-21 Thread Inori
Yeah, thanks, I realized this minutes after I sent the question. In fact I tested this with a code like if ($is_cached) { return $response; } else { sleep(5); // generate stuff for response here } When I launched this code on machine one, it slept for 5 secs like it should since there was no

[symfony-users] [Symfony2] Can't understand how reverse proxy works

2011-06-20 Thread Inori
What I have: 2 computers on LAN, web server on one of them, to which I have access from both computers via 192.168.0.100. Symfony2 which uses reverse proxy cache with e-tag. app.php: http://pastebin.com/hupi9bYN controller code: http://pastebin.com/7mWSt3jv Caching itself works fine (I go to

[symfony-users] [Symfony 1.4] Google Calendar

2011-05-31 Thread Inori
In my project I need to use google calendar (be able to add/view events). While searching I've found only 2 mentions of it. 1.) http://symfohub.com/repo/sfGoogleCalendarPlugin With documentation in japanese and only 1 initial commit this plugin is not exactly what I need, but I still tried to use

[symfony-users] [Symfony2] Adding classes to autoload

2011-05-10 Thread Inori
What I have: a class named someClass in a file named someFile.php in a folder named someFolder. I placed that folder in /vendor (so path to someFile.php is now / vendor/someFolder/someFile.php ). The file doesn't use namespaces. What I want: add that class to autoload so I could do $class = new