[symfony-users] Re: AJAX call with request params to be cached...

2008-12-12 Thread Sumedh
Great... It worked like a charm... :) And no changes required to my action class... On Dec 12, 3:40 pm, "Bernhard Schussek" wrote: > On Fri, Dec 12, 2008 at 11:26 AM, Sumedh wrote: > > If I create a separate routing rule for this, it again gets converted > > to the same thing (request paramet

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-12 Thread Bernhard Schussek
On Fri, Dec 12, 2008 at 11:26 AM, Sumedh wrote: > If I create a separate routing rule for this, it again gets converted > to the same thing (request parameters) right? Yes, that is the very nature of the symfony routing. I recommend to read this chapter of the book to understand symfony's routin

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-12 Thread Sumedh
Thanks Bernhard... The script is very much part of my application... :) If I create a separate routing rule for this, it again gets converted to the same thing (request parameters) right? On Dec 12, 2:43 pm, "Bernhard Schussek" wrote: > P.S.: One thing I forgot: You need to make a GET call wit

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-12 Thread Bernhard Schussek
P.S.: One thing I forgot: You need to make a GET call with AJAX for this to work, of course. Bernhard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symf

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-12 Thread Bernhard Schussek
Hello, One thing that isn't quite clear - is the getData script in your symfony project or on an external server? If it is within your symfony application, you should just include paramX and paramY in your route to make it look like: http://www.example.com/data/100/200 Then each call will

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-11 Thread Sumedh
Why is no one replying here? :) ...Is the question foolish? :| On Dec 11, 11:16 am, Sumedh wrote: > Someone please put some light here... :) > > On Dec 10, 2:25 pm, Sumedh wrote: > > > Ok...thanks Nickolas... > > > But does this work for actions? I basically don't want that action and > > corre

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-10 Thread Sumedh
Someone please put some light here... :) On Dec 10, 2:25 pm, Sumedh <[EMAIL PROTECTED]> wrote: > Ok...thanks Nickolas... > > But does this work for actions? I basically don't want that action and > corresponding MySQL calls to get executed...templates would a > relatively lighter part... > > The

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-10 Thread Sumedh
Ok...thanks Nickolas... But does this work for actions? I basically don't want that action and corresponding MySQL calls to get executed...templates would a relatively lighter part... The Symfony 1.0 documentation shows that if we send and argument to an action, we can cache it... like http://my

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-09 Thread Nickolas Daskalou
By the way, you will need to have the cache enabled in your apps/appname/config/settings.yml file for the desired environment. 2008/12/10 Nickolas Daskalou <[EMAIL PROTECTED]> > I'm not sure if this is the case with sf 1.0, but in 1.1 and 1.2 you can do > something like the following in one of

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-09 Thread Nickolas Daskalou
I'm not sure if this is the case with sf 1.0, but in 1.1 and 1.2 you can do something like the following in one of your templates: Blah blah blah... blind mice and glasses of milk. > > Anyone here? :| > > On Dec 8, 5:04 pm, Sumedh <[EMAIL PROTECTED]> wrote: > > Hi Friends, > > > > I've an

[symfony-users] Re: AJAX call with request params to be cached...

2008-12-09 Thread Sumedh
Anyone here? :| On Dec 8, 5:04 pm, Sumedh <[EMAIL PROTECTED]> wrote: > Hi Friends, > > I've an AJAX request like - > > http://www.example.com/getData?paramX=100¶mY=200 > > This AJAX response is rendered in a DIV in browser... > > I want to cache this action for given paramX and paramY...I want to