firesymfony and webservices

1 view
Skip to first unread message

Andreas Hucks

unread,
Sep 9, 2009, 11:42:39 AM9/9/09
to firesymfony
Hi Alvaro and everybody,

first, thanks for the great work with firesymfony!

I tried firesymfony and noticed that it doesn't work with sf_format
set to anything else than HTML, but after some research it turns out
that it is because has_layout is disabled.

In the source of fsWebDebugForSf12 you can see that this is because
the debug info is injected before the body tag, which of course isn't
there without layout or in formats other than HTML.

Is it possible to change this, maybe by using a custom header for the
data instead or similar? For me this defeats the main purpose of using
Firesymfony, which is debugging my REST services...

Cheers,
Andreas

Videla Alvaro

unread,
Sep 9, 2009, 10:09:04 PM9/9/09
to fires...@googlegroups.com
Hi,

The problem is that FireSymfonyDebugData is a Javascript object, so
you need all the Javascript machinery around, I don't know it will
work with an XML document.

About the Headers, I have thought that already, but I don't know it
this is not to much data to send.

Maybe you can try with FirePHP perhaps. That extension works pretty
neat with Firebug sending the data into headers.

I would like to integrate the debug data in the headers, but I haven't
had the time to think the best way to do it. I saw that there is a
similar extension to FireSymfony but for ColdFusion, I think it sends
the data in the headers, I will check.

Thanks for the comments,

Cheers,

Alvaro

Andreas Hucks

unread,
Sep 10, 2009, 3:28:16 AM9/10/09
to firesymfony
Ah, I understand. I didn't know the data had to be inside a proper
javascript tag, I thought the json data could be parsed by the firebug
plugin directly, and thus could be placed inside an XML comment or
something like that as well.

Thanks for the info, I'll have a look at how FirePHP does this.

Cheers,
Andreas
Reply all
Reply to author
Forward
0 new messages