NAME

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

VERSION

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

SYNOPSIS

use Hyper::Developer::Generator::Control::Flow;

my $object = Hyper::Developer::Generator::Control::Flow->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.

SUBROUTINES/METHODS

BUILD

my $object = Hyper::Developer::Generator::Control::Flow->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:

$BASE_PATH/lib/$NAMESPACE/Control/Flow/$SERVICE/F$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/Flow/$SERVICE/_F$USECASE.pm

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

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

  • version

  • Hyper::Developer::Generator::Control::ContainerFlow

  • Class::Std

  • Hyper::Config::Reader::Flow

INCOMPATIBILITIES

BUGS AND LIMITATIONS

RCS INFORMATIONS

Last changed by

$Author: $

Id

$Id: $

Revision

$Revision: $

Date

$Date: $

HeadURL

$HeadURL: $

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.