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.


Solstice documentation  | view source Contained in the Solstice distribution.

Index


NAME

Top

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

Top

  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

Top

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()
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)
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

Top

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

VERSION

Top

Version $Revision: 1410 $

COPYRIGHT

Top


Solstice documentation  | view source Contained in the Solstice distribution.