Web engine software
Wendy Home Page / Docs / Module Tutorial
What is Wendy module?
Wendy modules are extension packages, they can contain handlers, Perl modules, resources, templates, etc. Modules can be relatively simple, as Captcha module, which provides only Wendy::Modules::Captcha Perl module, or more complex, like News module, with internal templates, and administration interface.
Wendy module contents
Module package contains:
Where are modules placed
Module files must be placed to <wendy dir>/var/modules. Wendy looks for .wpm files, archives or anything else will not be recognized.
.wpm file contents
.wpm (Wendy Perl Module) file is Perl code file. Lets look at hello.wpm inside:
This module carries three files, as listed in @CONTENTS : mod_hello.pl, Hello.pm and teddy.jpg. When module will be installed, install procedure will be called, and copy them according to destination atribute.