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