Hyper::Developer::Generator::Environment - class for generating a Hyper Environment



NAME

Hyper::Developer::Generator::Environment - class for generating a Hyper Environment


VERSION

This document describes Hyper::Developer::Generator::Environment 0.01


SYNOPSIS

    use Hyper::Developer::Generator::Environment;
    my $object = Hyper::Developer::Generator::Environment->new({
        base_path => '/srv/web/www.example.com/',
        namespace => 'Example',
    });
    $object->create();


DESCRIPTION

Used to create the initial environment for a Hyper Based Web Application.


SUBROUTINES/METHODS

create

    $object->create();

Creates the following folders:

    PATH                                      USED FOR
    ------------------------------------------------------
    $BASE_PATH/var/$NAMESPACE                 templates
    $BASE_PATH/etc/$NAMESPACE                 config files
    $BASE_PATH/cgi-bin/$LOWER_CASE_NAMESPACE  CGI binarys
    $BASE_PATH/htdocs/$LOWER_CASE_NAMESPACE   static files

And creates the following files:

$BASE_PATH/var/$LOWER_CASE_NAMESPACE/index.pl

The CGI Script which is used for calling Hyper Applications.

So a sample URL to start a usecase of a service in the namespace >Example< could look like:

http://www.example.com/cgi-bin/example/index.pl?service=Test&usecase=Test

$BASE_PATH/etc/$NAMESPACE/Context.ini

Initial Context.ini with global configuration items.


DIAGNOSTICS


CONFIGURATION AND ENVIRONMENT


DEPENDENCIES


INCOMPATIBILITIES


BUGS AND LIMITATIONS


RCS INFORMATIONS

Last changed by

$Author: ac0v $

Id

$Id: Environment.pm 320 2008-02-16 02:04:51Z ac0v $

Revision

$Revision: 320 $

Date

$Date: 2008-02-16 03:04:51 +0100 (Sat, 16 Feb 2008) $

HeadURL

$HeadURL: file:///srv/cluster/svn/repos/Hyper/Hyper-Developer/trunk/lib/Hyper/Developer/Generator/Environment.pm $


AUTHOR

Andreas Specht <ACID@cpan.org>


LICENSE AND COPYRIGHT

Copyright (c) 2007, Andreas Specht <ACID@cpan.org>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

 Hyper::Developer::Generator::Environment - class for generating a Hyper Environment