NAME

Solstice - Solstice is a Web application development framework for Perl. Based on the MVC programming paradigm, it provides a sensible layout for Web applications that helps you write applications faster and with fewer mistakes.

SYNOPSIS

my $lang_service = $solstice_subclass->getLangService();
my $button_service = $solstice_subclass->getButtonService();
my $message_service = $solstice_subclass->getMessageService();
my $config_service = $solstice_subclass->getConfigService();
my $preference_service = $solstice_subclass->getPreferenceService();
$solstice_subclass->log($log_message);

DESCRIPTION

Solstice is a Web application development framework for Perl. Based on the MVC programming paradigm, it provides a sensible layout for Web applications that helps you write applications faster and with fewer mistakes.

For more information, see http://solstice.eplt.washington.edu.

This is a virtual class whose sole job is to provide a common platform of functionality for the various parts of the Solstice framework. While this can be subclassed directly, you probably want to subclass from something more directly useful, like Solstice::Model, Solstice::View, or Solstice::Controller.

Export

No symbols exported.

Methods

new()
loadModule( $package_name_or_filename )

Dynamically loads the given module.

log(\%params)

Log a message to a specified log file. Wrapper around Solstice::LogService

warn($msg)

Print a message on STDERR, along with information about the caller

debug($tag, $mesg)
getBaseURL {
getServerURL()
getAppBaseURL($namespace)

Returns the url for the application of the given namespace.

getAppRestURL($namespace)

Returns the root of the applications REST web services

getConfigService()
getTemporaryFileService()
getButtonService()
getLogService()
getMessageService()
getJavascriptService()
getContentTypeService()
makeURL($proto, $host, $dir, $2nd_dir, [$args hashref] )
getLangService()
getPreferenceService()
getUserService()
getNavigationService()
getOnloadService()
getIncludeService()
getIconService()
getHelpService()

Attribute Validation Methods

isValidInteger($str)
isValidPositiveInteger($str)
isValidNonNegativeInteger($str)
isValidNumber($str)
isValidPositiveNumber($str)
isValidString($str)
isValidEmail($str)
isValidURL($str)
isValidBoolean($str)
isValidObject($obj, $class)
isValidDateTime($obj)
isValidPerson($obj)
isValidGroup($obj)
isValidList($obj)
isValidTree($obj)
isValidArrayRef($ref)
isValidHashRef($ref)

Private Convenience Methods

_dirCheck($dir)

Creates the passed directory and dies if this isn't possible

Modules Used

Solstice::Service, Solstice::LogService, Solstice::UserService, Solstice::ValidationParam, Solstice::CGI, Data::FormValidator.

AUTHOR

Catalyst Group, <catalyst@u.washington.edu>

VERSION

Version $Revision: 1410 $

COPYRIGHT

Copyright 1998-2007 Office of Learning Technologies, University of Washington

Licensed under the Educational Community License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.opensource.org/licenses/ecl1.php

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.