Hyper::Developer::Generator::Control::Container - class for generating Container Controls


Hyper-Developer documentation  | view source Contained in the Hyper-Developer distribution.

Index


NAME

Top

Hyper::Developer::Generator::Control::Container - class for generating Container Controls

VERSION

Top

This document describes Hyper::Developer::Generator::Control::Container 0.01

SYNOPSIS

Top

    use Hyper::Developer::Generator::Control::Container;

    my $object = Hyper::Developer::Generator::Control::Container->new({
        base_path => '/srv/web/www.example.com/',
        namespace => 'Example',
        usecase   => 'ChangePassword',
        service   => 'AccountManagement',
    });

    $object->create();

DESCRIPTION

Top

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

ATTRIBUTES

Top

template :init_arg

Indicated if the template should be generated.

code :init_arg

Indicated if perl code should be generated.

SUBROUTINES/METHODS

Top

BUILD

    my $object = Hyper::Developer::Generator::Control::Container->new({
        base_path => '/srv/web/www.example.com/',
        namespace => 'Example',
        usecase   => 'ChangePassword',
        service   => 'AccountManagement',
    });

Called on object creation and sets some default vars.

create

    $object->create();

Creates the following files (depends on the init_args - see ATTRIBUTES):

$BASE_PATH/lib/$NAMESPACE/Control/Container/$SERVICE/C$USECASE.pm

This is generated once and won't be signed over. That's the place where you can put your code in.

$BASE_PATH/lib/$NAMESPACE/Control/Container/$SERVICE/_C$USECASE.pm

This file will be reqritten on each method call. So don't change anything in this file.

$BASE_PATH/var/$NAMESPACE/Control/Container/$SERVICE/C$USECASE.htc

This is the default template for the new container.

DIAGNOSTICS

Top

CONFIGURATION AND ENVIRONMENT

Top

DEPENDENCIES

Top

INCOMPATIBILITIES

Top

BUGS AND LIMITATIONS

Top

RCS INFORMATIONS

Top

Last changed by

$Author: ac0v $

Id

$Id: Container.pm 333 2008-02-18 22:59:27Z ac0v $

Revision

$Revision: 333 $

Date

$Date: 2008-02-18 23:59:27 +0100 (Mon, 18 Feb 2008) $

HeadURL

$HeadURL: http://svn.hyper-framework.org/Hyper/Hyper-Developer/branches/0.07/lib/Hyper/Developer/Generator/Control/Container.pm $

AUTHOR

Top

Andreas Specht <ACID@cpan.org>

LICENSE AND COPYRIGHT

Top


Hyper-Developer documentation  | view source Contained in the Hyper-Developer distribution.