The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Ado::Plugin::Vest - Messaging services for an Ado system!

DESCRIPTION

Ado::Plugin::Vest implements a (not too) naive messaging service. It can be used as a chat between two users or as commenting widget under some article. Other uses are also possible. Just create your client (HTML5 or desktop) application and start making Ajax (or Websocket - TODO) requests. Currently a HTTP based chat application is being implemented as a proof of concept.

Note that this distribution is fairly experimental and the author gladly accepts proposals enlightenment and inspiration.

SYNOPSIS

  # 1. To enable this plugin after installation, add it to etc/ado.conf
  #"plugins" section *after* DSC plugin.
  plugins => [
    #...
    'vest',
    #...
 ],
 # 2. Restart Ado
 # 3. Login and go to http://yourdomain/vest

ATTRIBUTES

Ado::Plugin::Vest inherits all atributes from Ado::Plugin.

METHODS

Ado::Plugin::Vest implements the following methods.

register

Loads routes described in etc/plugins/vest.conf. Makes the plugin configuration available at $app->config('Ado::Plugin::Vest'). Creates the table vest if it does not exist yet. Returns $self.

SEE ALSO

Ado::Control::Vest, Ado::Control, Mojolicious::Controller, Ado::Model::Vest, Ado::Model, "Model_View_Controller" in Mojolicious::Guides::Growing, "Controller_class" in Mojolicious::Guides::Growing

AUTHOR

Красимир Беров (Krasimir Berov)

COPYRIGHT AND LICENSE

Copyright 2014 Красимир Беров (Krasimir Berov).

This program is free software, you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License v3 (LGPL-3.0). You may copy, distribute and modify the software provided that modifications are open source. However, software that includes the license may release under a different license.

See http://opensource.org/licenses/lgpl-3.0.html for more information.