Application Programming & Plugins
Application programs are pluged in and configured via the files:
- Site global applications
- /maxscape/lib/perl/Maxscape/SiteApplication.pm
/maxscape/lib/perl/Maxscape/SiteConfiguration.pm
/maxscape/lib/perl/Maxscape/SiteApplication/Page.pm
/maxscape/lib/perl/Maxscape/GlobalServerApplication.pm - Application server global applications
- /maxscape/server/'your server'/lib/perl/Maxscape/ServerApplication.pm
/maxscape/server/'your server'/lib/perl/Maxscape/ServerConfiguration.pm - Process Applications
- /maxscape/server/Maxscape/lib/perl/Maxscape/ProcessApplication.pm
Often it is wise to create some other application modules and to include them in one of the above files. For example:
# File '/maxscape/lib/perl/Maxscape/SiteConfiguration.pm': ... use your_prefix::YourModul.pm ...
Restarting the Server after a change
After changing a modul, you have to restart the server,e.g. with:
maxscape restart ; wwwerrs
or just kill the concerned FCGI process. By the way the 'wwwerrs' tcsh alias displays the log files of the apache server.
Maxscape::SiteApplication Package
Synopsis
use Maxscape::SiteApplication;
Description
The Maxscape::SiteApplication package is a plugin for site global applications.
List of Member Functions
Member Functions
main::firstChar
Synopsis
my $firstChar = &::firstChar ($String);
Description
Returns the first character of a string.
main::firstCharAsCapital
Synopsis
my $firstChar = &::firstCharAsCapital ($String);
Description
Returns the first character of a string as capital letter.
1| Next ∙ Previous ∙ Top ∙ Join ∙ Contact | © Maxscape |
