Ambrosia::DataProvider::ResourceDriver - a class realize Ambrosia::DataProvider::BaseDriver and provide connection to resources storage.
version 0.010
use Ambrosia::DataProvider; my $confDS = { Resource => [ { engine_name => 'Resource::Hash', source_name => 'application_name', engine_params => { path => $PATH_ROOT . '/Application/Resource/Resources.pm' } }, ] }; instance Ambrosia::Storage(application_name => $confDS); Ambrosia::DataProvider::assign 'application_name';
Ambrosia::DataProvider::DBIDriver is a class realize Ambrosia::DataProvider::BaseDriver and provide connection to data bases throw DBI.
Ambrosia::DataProvider::DBIDriver
For more information see:
Returns cache.
Opens a connection. Returns a handler.
Closes a connection and clears a cache.
Begins a transaction and initializes a cache
Saves a transaction.
Canceled a transaction (rollback) and clears a cache.
Returns an adapter for Ambrosia::QL that can translate CQL to Resource request.
Ambrosia::CQL::toResource; Ambrosia::Util::Container;
Not tested.
Please report bugs relevant to Ambrosia to <knm[at]cpan.org>.
Ambrosia
Copyright (C) 2010-2012 Nickolay Kuritsyn. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Nikolay Kuritsyn (knm[at]cpan.org)
To install Ambrosia, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ambrosia
CPAN shell
perl -MCPAN -e shell install Ambrosia
For more information on module installation, please visit the detailed CPAN module installation guide.