| 1 | package WebDAO; | ||
| 2 | |||
| 3 | 5 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 5 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 5 | ▶ | use WebDAO::Base; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 5 | ▶ | use WebDAO::Element; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 5 | ▶ | use WebDAO::Container; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 5 | ▶ | use WebDAO::Engine; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 5 | our @ISA = qw(WebDAO::Element Exporter); | |
| 10 | |||
| 11 | 5 | our $VERSION = '2.24'; | |
| 12 | 5 | @WebDAO::EXPORT = qw( mk_route mk_attr _log1 _log2 _log3 | |
| 13 | _log4 _log5 _log6); | ||
| 14 | |||
| 15 | =head2 mk_route ( 'route1'=> 'Class::Name', 'route2'=> sub { return new My::Class() }) | ||
| 16 | |||
| 17 | Make route table for object | ||
| 18 | |||
| 19 | use WebDAO; | ||
| 20 | mk_route( | ||
| 21 | user=>'MyClass::User', | ||
| 22 | test=>sub { return MyClass->new( param1=>1 ) } | ||
| 23 | ); | ||
| 24 | |||
| 25 | =cut | ||
| 26 | |||
| 27 | |||
| 28 | |||
| 29 | 5 | 1; | |
| 30 | __END__ | ||
| 31 | |||
| 32 | =head1 NAME | ||
| 33 | |||
| 34 | WebDAO - platform for easy creation of high-performance and scalable web applications | ||
| 35 | |||
| 36 | =head1 SYNOPSIS | ||
| 37 | |||
| 38 | use WebDAO; | ||
| 39 | |||
| 40 | =head1 DESCRIPTION | ||
| 41 | |||
| 42 | There are many environments in which the web applications work: | ||
| 43 | |||
| 44 | --------------------------------------------- | ||
| 45 | | PSGI | | ||
| 46 | | FastCGI | | ||
| 47 | | ------------------------ | | ||
| 48 | | nginx | | | | ||
| 49 | | | Your code | isapi | | ||
| 50 | | | | | | ||
| 51 | | ---------------------- | | ||
| 52 | | Shell Test::More IIS | | ||
| 53 | | lighttpd | | ||
| 54 | --------------------------------------------- | ||
| 55 | |||
| 56 | WebDAO designed to save developers from the details of the application environment, reduce costs with a change of environment, and to simplify debugging and testing applications. An important goal is to simplify and increase the speed of web development. | ||
| 57 | |||
| 58 | =head1 SEE ALSO | ||
| 59 | |||
| 60 | http://webdao.sourceforge.net | ||
| 61 | |||
| 62 | =head1 AUTHOR | ||
| 63 | |||
| 64 | Zahatski Aliaksandr, E<lt>zag@cpan.orgE<gt> | ||
| 65 | |||
| 66 | =head1 COPYRIGHT AND LICENSE | ||
| 67 | |||
| 68 | Copyright 2002-2015 by Zahatski Aliaksandr | ||
| 69 | |||
| 70 | This library is free software; you can redistribute it and/or modify | ||
| 71 | it under the same terms as Perl itself. | ||
| 72 | |||
| 73 | =cut | ||