NAME

Nile::Plugin::Memcached - Memcached client plugin for the Nile framework.

SYNOPSIS

    # connect to Memcached servers
    my $client = $app->plugin->memcached;
    
    # store some data
    $client->set("Name"=>"Ahmed Amin Elsheshtawy Gouda");

    # get some data
    my $name = $client->get("Name");
    
    # delete some data
    $client->delete("Name");

	# get the Memcached::Client object used
    $object = $client->client;

DESCRIPTION

Nile::Plugin::Memcached - Memcached client plugin for the Nile framework.

Returns Memcached::Client object. All methods of Memcached::Client are supported.

Plugin settings in th config file under plugin section.

<plugin>

    <memcached>
        <servers>localhost:11211</servers>
        <namespace></namespace>
    </memcached>

</plugin>

Bugs

This project is available on github at https://github.com/mewsoft/Nile.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Nile.

SOURCE

Source repository is at https://github.com/mewsoft/Nile.

SEE ALSO

See Nile for details about the complete framework.

AUTHOR

Ahmed Amin Elsheshtawy, احمد امين الششتاوى <mewsoft@cpan.org> Website: http://www.mewsoft.com

COPYRIGHT AND LICENSE

Copyright (C) 2014-2015 by Dr. Ahmed Amin Elsheshtawy احمد امين الششتاوى mewsoft@cpan.org, support@mewsoft.com, https://github.com/mewsoft/Nile, http://www.mewsoft.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.