NAME
Crop - Creazilla on Perl (Crop) Framework
SYNOPSIS
use Crop;
my $config = Crop->C;
my $server = Crop->S;
DESCRIPTION
Creazilla on Perl (Crop) is a Perl framework designed to make writing web scripts much easier. It hides the SQL-layer from the programmer and requires no wide experience to write top-level scripts.
Crop implements:
Class attributes inheritance
Automatic object synchronization with warehouse
HTTP request routing and parameter parsing
Multiple warehouses of different type at the same time
Role-based access system
Crop has a lightweight, simple, and clear architecture, making changes to Crop itself simple. It uses common Perl syntax, and only generates getters/setters implicitly, making debugging easy.
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
The following Perl modules are required to use Crop:
XML::LibXML
Time::Stamp
Clone
XML::LibXSLT
JSON
CGI::Cookie
CGI::Fast
METHODS
C
my $config = Crop->C;
Returns the configuration data as a hash reference.
I_can
$self->I_can(%privileges);
Checks rights. All privileges must be present in the current client rights. Returns true if OK, false otherwise.
S
my $server = Crop->S;
Accessor to the Crop::Server. Returns the server object if running, or 'Crop' otherwise.
CONTRIBUTING
To contribute to Crop, follow these steps:
- 1. Fork the repository on GitHub.
- 2. Clone your fork locally.
- 3. Install dependencies using cpan or cpanm.
- 4. Run tests using make test.
- 5. Submit a pull request with your changes.
CHANGELOG
See the README.md for the full changelog.
SPONSORS
Creazilla on Perl has been sponsored by Creazilla.com.
AUTHORS
Euvgenio (Core Developer)
Alex (Contributor)
COPYRIGHT AND LICENSE
Apache 2.0
SEE ALSO
https://creazilla.com/pages/creazilla-on-perl https://github.com/alextech7/crop