{"id":44420,"date":"2011-04-30T14:16:55","date_gmt":"2011-04-30T14:16:55","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/clicklib\/"},"modified":"2011-05-09T18:41:25","modified_gmt":"2011-05-09T18:41:25","slug":"clicklib","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/clicklib\/","author":7883398,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.2","stable_tag":"1.1.2","tested":"3.1.4","requires":"3.1.2","requires_php":"","requires_plugins":"","header_name":"Click","header_author":"Ben Allfree","header_description":"","assets_banners_color":"","last_updated":"2011-05-09 18:41:25","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.benallfree.com\/click","header_author_uri":"http:\/\/www.benallfree.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":801,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.1.2"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[2275,17931,1980,7338,8862],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-44420","plugin","type-plugin","status-closed","hentry","plugin_tags-developer","plugin_tags-haml","plugin_tags-library","plugin_tags-mvc","plugin_tags-sass","plugin_committers-benallfree"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/clicklib.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Click makes it easy to implement an MVC pattern in WordPress. Your plugins will be more organized, stable, and standards-compliant. It has special trappings for easily hooking into WordPress events. Make widgets, dedicated admin pages, and more.<\/p>\n <p>Features:<\/p>\n <ul>\n<li>Dynamic loading of optional Click modules like HAML<\/li>\n<li>Efficient overhead - if Click is not used, Click is not loaded<\/li>\n<li>HTML tag builders<\/li>\n<li>Controller base class<\/li>\n<li>Clean organization of controllers and views<\/li>\n<li>datetime functions<\/li>\n<li>Debugging functions<\/li>\n<li>File functions<\/li>\n<li>Form builder functions<\/li>\n<li>HTTP, HTML, Request, and URL helper functions<\/li>\n<li>ActiveRecord<\/li>\n<li>String manipulation<\/li>\n<li>Support for HAML views<\/li>\n<li>Web Services REST architecture<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Click can be installed as a stand-alone WP plugin or as a subfolder of your plugin. If you ship your plugin, you must include a copy of Click with it as a subfolder so users don't have to install this developer plugin. If the user is running multiple plugins that ship with Click, only the first one will be loaded.<\/p>\n <p>Please remember that WordPress.org SVN does not support svn:externals.<\/p>\n <p>To install Click as a separate plugin:<\/p>\n <pre><code>cd wp-content\/plugins svn checkout http:\/\/plugins.svn.wordpress.org\/clicklib\/trunk clicklib <\/code><\/pre>\n <p>To install in a subfolder of your own plugin:<\/p>\n <pre><code>cd wp-content\/plugins\/my_plugin svn checkout http:\/\/plugins.svn.wordpress.org\/clicklib\/trunk clicklib find clicklib -name .svn | xargs rm -rf    # remove all the .svn folders svn add clicklib <\/code><\/pre>\n <p>Now, create your plugin PHP file as follows:<\/p>\n <p>wp-content\/plugins\/my_plugin\/my_plugin.php<\/p>\n <pre><code>&lt;?php \/*  -- plugin meta info, you know the drill -- *\/  $plugin_fpath = dirname(__FILE__); $lib = 'clicklib\/click.php'; if(file_exists($plugin_fpath.\"\/$lib\")) require($lib); else require($plugin_fpath.\"\/..\/$lib\"); <\/code><\/pre>\n <p>That will load first from the main clicklib plugin, or from the local subfolder copy if the main plugin is missing.<\/p>\n <p>That's it!<\/p>\n\n<!--section=changelog-->\n<h4>1.1.2<\/h4>\n <ul>\n<li>FIXED: click fails to create cache folders when WP is in a subfolder<\/li>\n<li>FIXED: click miscalculates paths when WP is in subfolder<\/li>\n<\/ul>\n <h4>1.1.0<\/h4>\n <ul>\n<li>Major refactoring<\/li>\n<li>Support for modules within plugins<\/li>\n<li>Added ActiveRecord<\/li>\n<\/ul>\n <h4>1.0.0<\/h4>\n <ul>\n<li>Initial commit<\/li>\n<\/ul>","raw_excerpt":"Click is an MVC library for developers with advanced support for HAML, SASS, ActiveRecord, and other modern programming methodologies.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/44420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=44420"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/benallfree"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=44420"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=44420"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=44420"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=44420"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=44420"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=44420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}