Author image Evgenni Grishkovelli

NAME

Mojolicious::Plugin::AdvancedMod - More buns for Mojolicious

VERSION

This documentation covers version 0.38 of Mojolicious::Plugin::AdvancedMod* released Jan, 2014

SYNOPSIS

$self->plugin('AdvancedMod');

ARGS

skip_mods

  Skip selected modules

skip_helpers

  Skip selected helpers

only_mods (dev)

  Load selected modules, other skipped

only_helpers (dev)

  Load selected helpers, other skipped

SEE ALSO

Mojolicious::Plugin::AdvancedMod

Load all AdvancedMod::*. Auto-generation database helpers's if config exist db_*

Mojolicious::Plugin::AdvancedMod::ActionFilter

Analogue of Rails: before_filter, after_filter

Mojolicious::Plugin::AdvancedMod::HashedParams

Transformation request parameters into a hash and multi-hash

Mojolicious::Plugin::AdvancedMod::Configurator

Load YAML/JSON config, encapsulation, change 'templates_path' && 'static_path' by MOJO_MODE/config.

Mojolicious::Plugin::AdvancedMod::TagHelpers

Collection of HTML tag helpers

Mojolicious::Command::am

Generic Mojolicious app, controllers, models, helpers, views

Example

  my_app/
  |__ etc
  |  |__ general.yml
  |
  |__ lib
  |   |__ MyApp
  |      |__ Controllers
  |      |  |__ App.pm
  |      |
  |      |__ Helpers
  |      |  |__ App.pm
  |      | 
  |      |__ Models
  |         |__ App.pm
  |
  |__ public
  |  |__ index.html
  |
  |__ script
  |  |__ my_app
  |
  |__ log
  |
  |__ t
  |  |__ basic.t
  |
  |__ templates
     |__ app
     |  |__ index.html.haml
     |  |__ show.html.haml
     | 
     |__ layouts
        |__ defaults.html.haml

AUTHOR

COPYRIGHT AND LICENSE

Copyright (C) 2013, 2014 Grishkovelli grishkovelli@gmail.com

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.