Development

/plugins/sfFirebugPlugin/README

You must first sign up to be able to contribute.

root/plugins/sfFirebugPlugin/README

Revision 13670, 1.3 kB (checked in by jerome.etienne, 4 years ago)

implemented gracefull degradation if firebug extension is not present in the browser

Line 
1 = sfEasyDebug Plugin =
2
3 == Overview ==
4 sfFirebugPlugin provides tools to easily integrate firebug in symfony.
5
6 It provide interfaces to use the usual console.* API functions from firebug.
7
8 == Graceful Degradation ==
9 Willing to use firebug features on IE or Safari ? Already suffered hours of js debugging
10 to find out you forgot a single [http://getfirebug.com/console.html console] API call.
11 Then this plugin is for you !
12
13 If firebug extension is not present in the browser, it allows to automatically
14 include firebug-lite to have a cross-browser version of firebug, or firebugx which convert any
15 [http://getfirebug.com/console.html console] API call to a no-operation. This avoid to have
16 all your javascript to fails, just because you forgot a single [http://getfirebug.com/console.html console]
17 call. To benefit from this feature, one must add the following at the end of the layout.php:
18 {{{
19 <script><?= sfFirebug::getJavascript()  ?></script>
20 }}}
21
22 == Installation ==
23
24 To install sfFirebugPlugin:
25
26 {{{
27 ./symfony plugin-install symfony/sfFirebugPlugin
28 }}}
29
30 To install from svn:
31 {{{
32 svn co http://svn.symfony-project.com/plugins/sfFirebugPlugin plugins/sfFirebugPlugin
33 }}}
34
35 Clear your cache
36
37 {{{
38 ./symfony cc
39 }}}
40
41 == Usage ==
42 TODO to write
43
44 == License ==
45
46 For the full copyright and license information, please view the LICENSE
47 file that was distributed with this source code.
Note: See TracBrowser for help on using the browser.