Use a cached javascript

2009-03-23 Thread RamyaK_CS
Hi Need some help I have cached an javascript, how can I use it in the view. I used $javascript->link() function, but it is looking in /app/webroot/ js folder. Instead I want to get the script from cache. Is there any way we can do it? Best Regards, Ramya --~--~-~--~~~

Cache a dynamic javascript and create a view which uses this javascript (present in the cache)

2009-03-23 Thread RamyaK_CS
Hello Need some help!! I want to cache a dynamically created javaScript and use it from cache in further requests. i.e. I have a dynamic string, say, $data = 'document.write("hi")'; I want to cache it as an external js, so I used the below sentence. cache('views'. DS. 'test.js',

Re: Trace the functions invoked between page request and output

2008-09-08 Thread RamyaK_CS
Thank you On Sep 6, 8:28 am, teknoid <[EMAIL PROTECTED]> wrote: > xdebug would be one option Debugger::trace() is another > > On Sep 5, 7:19 pm, RamyaK_CS <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > I want to trace all func

Trace the functions invoked between page request and output

2008-09-05 Thread RamyaK_CS
Hi all, I want to trace all functions invoked in cake php code between a page request e.g. http://localhost/index.php and the output. Is there some way to trace all the files and functions invoked for gathering the output . I am using apache server2.2, mysql database, php5.2.6. Regards, Ramya

Trying a sample example in Scaffolding + http://localhost/bookmarks is giving an error "Not Found"

2008-09-04 Thread RamyaK_CS
Hi, I am new to Cake php and i configured cake php 1.1.19 with php 5.2.1 and apache server2.2 and mysql . I have done all installation steps, htp://localshost/index.php run perfect i.e.-default page of cake php is displayed. I am trying to run a sample example for scaffolding from http://graham