NAME
Bootylicious::Plugin::AjaxLibLoader - load popular AJAX JavaScript libraries.
DESCRIPTION
Bootylicious::Plugin::AjaxLibLoader - this plugin provides your Bootylicious application with stable, reliable, high speed, globally available access to all of the most popular, open source JavaScript libraries (by using content distribution network Google AJAX Libraries API)
VERSION
version 0.05
SYNOPSIS
Register AjaxLibLoader plugin in a configuration file (bootylicious.conf), add line like this:
#load JQuery version 1.3.2 for all Bootylicious blog pages
"plugins" : [
"ajax_lib_loader" , {"jquery" : "on", "jquery_version" : "1.3.2"}
]
#OR load JQuery version 1.3.2 for all pages and JQuery UI only for article pages:
"plugins" : [
"ajax_lib_loader" , {"jquery" : "on", "jquery_version" : "1.3.2", jquery_path=all,
"jqueryui" : "on", "jqueryui_path" : "articles"
}]
Ajax libraries
* Dojo
* Ext Core
* jQuery
* jQuery UI
* MooTools
* Prototype
* script.aculo.us
* SWFObject
* Yahoo! User Interface Library (YUI)
Dojo
Attributes:
dojo (default false)
dojo_version (default 1.3.2)
dojo_path (default all)
Config line example:
"plugins" : [
"ajax_lib_loader" , {"dojo" : "on", "dojo_version" : "1.3.2", "dojo_path" : "all"}
]
Ext Core
Attributes:
ext_core (default false)
ext_core_version (default 3.0.0)
ext_core_path (default all)
Config line example:
"plugins" : [
"ajax_lib_loader" , {"ext_core" : "on", "ext_core_version" : "3.0.0", "ext_core_path" : "all"}
]
jQuery
Attributes:
jquery (default false)
jquery_version (default 1.3.2)
jquery_path (default all)
Config line example:
"plugins" : [
"ajax_lib_loader" , {"jquery" : "on", "jquery_version" : "1.3.2", "jquery_path" : "all"}
]
jQuery UI
Attributes:
jqueryui (default false)
jqueryui_version (default 1.7.2)
jqueryui_path (default all)
Config line example:
"plugins" : [
"ajax_lib_loader" , {"jqueryui" : "on", "jqueryui_version" : "1.7.2", "jqueryui_path" : "all"}
]
MooTools
Attributes:
mootools (default false)
mootools_version (default 1.2.3)
mootools_path (default all)
Config line example:
"plugins" : [
"ajax_lib_loader" , {"mootools" : "on", "mootools_version" : "1.2.3", "mootools_path" : "all"}
]
Prototype
Attributes:
prototype (default false)
prototype_version (default 1.6.1.0)
prototype_path (default all)
Config line example:
"plugins" : [
"ajax_lib_loader" , {"prototype" : "on", "prototype_version" : "1.6.1.0", "prototype_path" : "all"}
]
script.aculo.us
Attributes:
scriptaculous (default false)
scriptaculous_version (default 1.8.2)
scriptaculous_path (default all)
Config line example:
"plugins" : [
"ajax_lib_loader" , {"scriptaculous" : "on", "scriptaculous_version" : "1.8.2", "scriptaculous_path" : "all"}
]
SWFObject
Attributes:
swfobject (default false)
swfobject_version (default 2.2)
swfobject_path (default all)
Config line example:
"plugins" : [
"ajax_lib_loader" , {"swfobject" : "on", "swfobject_version" : "2.2", "swfobject_path" : "all"}
]
Yahoo! User Interface Library (YUI)
Attributes:
yui (default false)
yui_version (default 2.7.0)
yui_path (default all)
Config line example:
"plugins" : [
"ajax_lib_loader" , {"yui" : "on", "yui_version" : "2.7.0", "yui_path" : "all"}
]
METHODS
register
This method will be called by Mojolicious::Plugins at startup time, your plugin should use this to hook into the application.
AUTHOR
Konstantin Kapitanov, <perlovik at gmail.com>
SEE ALSO
http://code.google.com/apis/ajaxlibs/ - Google AJAX Libraries API
http://getbootylicious.org, Bootylicious, Mojo, Mojolicious, Mojolicious::Lite
AUTHOR
Konstantin Kapitanov, <perlovik at gmail.com>
COPYRIGHT & LICENSE
Copyright 2009 Konstantin Kapitanov, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.