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



NAME

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


VERSION

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


SYNOPSIS

    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

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


ATTRIBUTES

template :init_arg

Indicated if the template should be generated.

code :init_arg

Indicated if perl code should be generated.


SUBROUTINES/METHODS

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


CONFIGURATION AND ENVIRONMENT


DEPENDENCIES


INCOMPATIBILITIES


BUGS AND LIMITATIONS


RCS INFORMATIONS

Last changed by

$Author: ac0v $

Id

$Id: Container.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/Control/Container.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::Control::Container - class for generating Container Controls