Skip to content

Commit

Permalink
add plugin system to highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 3, 2013
1 parent 063eb19 commit f3b5e9e
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 56 deletions.
56 changes: 0 additions & 56 deletions lib/Mojolicious.pm
Expand Up @@ -536,62 +536,6 @@ the default controller object)
Load a plugin with L<Mojolicious::Plugins/"register_plugin">.
These plugins are included in the L<Mojolicious> distribution as examples:
=over 2
=item L<Mojolicious::Plugin::Charset>
Change the application charset.
=item L<Mojolicious::Plugin::Config>
Perl-ish configuration files.
=item L<Mojolicious::Plugin::DefaultHelpers>
General purpose helper collection, loaded automatically.
=item L<Mojolicious::Plugin::EPLRenderer>
Renderer for plain embedded Perl templates, loaded automatically.
=item L<Mojolicious::Plugin::EPRenderer>
Renderer for more sophisiticated embedded Perl templates, loaded
automatically.
=item L<Mojolicious::Plugin::HeaderCondition>
Route condition for all kinds of headers, loaded automatically.
=item L<Mojolicious::Plugin::JSONConfig>
JSON configuration files.
=item L<Mojolicious::Plugin::Mount>
Mount whole L<Mojolicious> applications.
=item L<Mojolicious::Plugin::PODRenderer>
Renderer for turning POD into HTML and documentation browser for
L<Mojolicious::Guides>.
=item L<Mojolicious::Plugin::PoweredBy>
Add an C<X-Powered-By> header to outgoing responses, loaded automatically.
=item L<Mojolicious::Plugin::RequestTimer>
Log timing information, loaded automatically.
=item L<Mojolicious::Plugin::TagHelpers>
Template specific helper collection, loaded automatically.
=back
=head2 C<start>
$app->start;
Expand Down
4 changes: 4 additions & 0 deletions lib/Mojolicious/Guides.pod
Expand Up @@ -107,6 +107,10 @@ Very Perl-ish and minimalistic template system.

Countless portable and very convenient bytestream manipulation methods.

=item L<Mojolicious::Plugins>

Versatile plugin system.

=item L<Mojolicious::Commands>

Pluggable command line system and the backbone of the L<mojo> script.
Expand Down
54 changes: 54 additions & 0 deletions lib/Mojolicious/Plugins.pm
Expand Up @@ -80,6 +80,60 @@ Mojolicious::Plugins - Plugin manager
L<Mojolicious::Plugins> is the plugin manager of L<Mojolicious>.
=head1 PLUGINS
These plugins are included in the L<Mojolicious> distribution as examples.
=head2 L<Mojolicious::Plugin::Charset>
Change the application charset.
=head2 L<Mojolicious::Plugin::Config>
Perl-ish configuration files.
=head2 L<Mojolicious::Plugin::DefaultHelpers>
General purpose helper collection, loaded automatically.
=head2 L<Mojolicious::Plugin::EPLRenderer>
Renderer for plain embedded Perl templates, loaded automatically.
=head2 L<Mojolicious::Plugin::EPRenderer>
Renderer for more sophisiticated embedded Perl templates, loaded
automatically.
=head2 L<Mojolicious::Plugin::HeaderCondition>
Route condition for all kinds of headers, loaded automatically.
=head2 L<Mojolicious::Plugin::JSONConfig>
JSON configuration files.
=head2 L<Mojolicious::Plugin::Mount>
Mount whole L<Mojolicious> applications.
=head2 L<Mojolicious::Plugin::PODRenderer>
Renderer for turning POD into HTML and documentation browser for
L<Mojolicious::Guides>.
=head2 L<Mojolicious::Plugin::PoweredBy>
Add an C<X-Powered-By> header to outgoing responses, loaded automatically.
=head2 L<Mojolicious::Plugin::RequestTimer>
Log timing information, loaded automatically.
=head2 L<Mojolicious::Plugin::TagHelpers>
Template specific helper collection, loaded automatically.
=head1 EVENTS
L<Mojolicious::Plugins> inherits all events from L<Mojo::EventEmitter>.
Expand Down

0 comments on commit f3b5e9e

Please sign in to comment.