NAME
DDG::Meta - Main meta layer implementation factory... dark side of the moon...
VERSION
version 1009
SYNOPSIS
DDG::Meta->apply_base_to_package("DDG::Goodie::MyGoodie");
DDG::Meta->apply_goodie_keywords("DDG::Goodie::MyGoodie");
DESCRIPTION
This package gathers all the functions to apply the meta layers used in DuckDuckGo. We try to apply easy keywords for the package developer, so that its most easy for the beginners to generate good plugins. This on the other side makes it right now hard to see what magic happens behind the curtains. DDG::Meta functions shows up what is required to be some specific plugin on the DuckDuckGo module system.
METHODS
apply_base_to_package
This function applies to the given target classname Moo and Data::Printer as if they were used directly inside the given classname. This is achieved with Import::Into in combination with MooX.
apply_goodie_keywords
This function applies a huge amount of keywords of other meta classes into the package of the given target classname. Please see:
DDG::Meta::ZeroClickInfo, DDG::Meta::ShareDir, DDG::Meta::Block, DDG::Meta::Attribution, DDG::Meta::Helper, DDG::Meta::Helper, DDG::Meta::RequestHandler
The goodie request handler is supposed to give back an array of DDG::ZeroClickInfo objects or an empty array for nothing.
apply_spice_keywords
This function applies a huge amount of keywords of other meta classes into the package of the given target classname. Please see:
DDG::Meta::ZeroClickInfoSpice, DDG::Meta::ShareDir, DDG::Meta::Block, DDG::Meta::Attribution, DDG::Meta::Helper, DDG::Meta::Helper, DDG::Meta::RequestHandler
The spice request handler is supposed to give back an array of DDG::ZeroClickInfo::Spice objects or an empty array for nothing.
apply_fathead_keywords
apply_longtail_keywords
AUTHOR
DuckDuckGo <open@duckduckgo.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2013 by DuckDuckGo, Inc. https://duckduckgo.com/.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004