Download This Plugin | |
Download Elegant Themes | |
Name | AL-Manager (WP.Autoload) |
Version | 2.0 Beta |
Author | |
Rating | 0 |
Last updated | 2013-02-22 07:59:00 |
Downloads |
363
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
AL-Manager (WP.Autoload) plugin added 39 bytes of resources to the Home page and 29 bytes of resources to the sample Post page.
AL-Manager (WP.Autoload) plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! AL-Manager (WP.Autoload) plugin ads no tables to your Wordpress blog database.It’s a… Beta! It may not have taken nine months but I’m just as happy that it’s here; WP.Autoload V2.0 beta is now available on Github. Version 2.0 main focus was :
Improve auto loading functionality, speed and efficiency. Offer multiple options for autoloading classes. Encourage a WordPress (PHP 5.2) compliant naming standards Based on the Pear / Zend Framework conventions when / wherever possible. Develop and create apps / tools that demonstrate and encourage developers to use and embrace object oriented php in WordPress. The WP.Autoload class was added to help improve and provide additional options for effectively loading classes into projects. It uses the Zend Framework naming conventions for PHP classes to encourage the use PSR-0 compliant standards for classes.
I have also added several Modules and Components :
Post_Query::factory()->set_template_slug('tpl/views/cover')->query(array('posts_per_page' => 3, 'category_name' => 'al-manager,vendor,plugins,general'));
Post_CustomTypes::factory('indie_shop')->register_post_type("My Shop");
/** Updated method */
Admin_Pointers::factory('test_01','#menu-plugins')
->add_pointer(__('Test Pointer','textdomain),__('Hello I am a pointer this is easy to do!','textdomian'));
/**
* Customize your Adminbar Post Menus
*
*/
function apm_menus() {
//create an post_type array(post_type, menu_title);
$post_types = array('post' => 'Posts', 'page' => 'Pages','cwp_article' => 'Articles','cwp_faq' => "FAQ(s)");
Adminbar_PostMenus::factory()->set_post_types($post_types)->create_nodes();
}
// run the function on init;
add_action('init', 'apm_menus');
These provide working examples of some of the benefits of using object oriented programming in WordPress projects.
All the major bases have been covered as regards to the goals of V2.0, the beta has been switched to a new Github repository https://github.com/shawnsandy/wp.autoload and the website has been given a makeover for good measure.