Jifty::Plugin::Halo - Provides halos
This plugin provides http://seaside.st|Seaside-esque halos for your application. It's included by default when using Jifty with DevelMode turned on.
Only enable halos in DevelMode. Add our instrumentation to Template::Declare.
Finds plugins which have halo_pre_template or halo_post_template methods, and adds them as callbacks in the requisite places.
halo_pre_template
halo_post_template
This is called to instrument Template::Declare templates. We also draw a halo around the template itself.
This will give you the halo header which includes links to the various information displays for this template.
This will give you the halo footer which includes the actual information to be displayed when the user pokes the halo.
Gives you a new frame for storing halo information.
Creates and pushes a frame onto the render stack. Mason's halos do not support arounding a component, so we fake it with an explicit stack.
This also triggers halo_pre_template for plugins adding halo data.
Pops a frame off the render stack. Mason's halos do not support arounding a component, so we fake it with an explicit stack.
arounding
This also triggers halo_post_template for plugins adding halo data.
Called once the <body> element has been opened; enables halos on templates.
<body>
Called just before the <body> element is closed; renders the halo component tree using "render_component_tree".
Once we're just about to finish rendering our HTML page (just before the </body> tag, we should call render_component_tree to output all the halo data and metadata.
</body
To install Jifty, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty
CPAN shell
perl -MCPAN -e shell install Jifty
For more information on module installation, please visit the detailed CPAN module installation guide.