Packs+system hooks

syntax

on :boot do |system|

  ...

end

possible system hooks:

  • boot / shutdown
  • module install / uninstall
  • module activate / deactivate
  • request initialization / finalization

needs access to (may be specific per-hook) :

  • for module hooks: the defining module
  • controller? 
  • request object? 
  • Wagn configuration?