blib/lib/WebDAO.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 28 / 28 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/WebDAO/Test.pm ↑ Summary
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.25';
12 5 @WebDAO::EXPORT = qw( mk_route mk_attr _log1 _log2 _log3
13 _log4 _log5 _log6);
14  
15  
16 5 1;
17 __END__
18  
19 =head1 NAME
20  
21 WebDAO - platform for easy creation of high-performance and scalable web applications
22  
23 =head1 SYNOPSIS
24  
25 use WebDAO;
26  
27 =head1 DESCRIPTION
28  
29 There 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  
43 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.
44  
45 =head1 METHODS
46  
47 =head2 mk_route ( 'route1'=> 'Class::Name', 'route2'=> sub { return new My::Class() })
48  
49 Make 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  
61 http://webdao.sourceforge.net
62  
63 =head1 AUTHOR
64  
65 Zahatski Aliaksandr, E<lt>zag@cpan.orgE<gt>
66  
67 =head1 COPYRIGHT AND LICENSE
68  
69 Copyright 2002-2015 by Zahatski Aliaksandr
70  
71 This library is free software; you can redistribute it and/or modify
72 it under the same terms as Perl itself.
73  
74 =cut
« blib/lib/WebDAO/Test.pm ↑ Summary