WP-Library

Provides a foundation and extensions for/to common WordPress developer functions/tasks – creating/installing plugins, complex database queries, etc

Author:atlanticbt, zaus, tnblueswirl (profile at wordpress.org)
WordPress version required:3.0
WordPress version tested:3.2.1
Plugin version:0.3.2
Added to WordPress repository:13-01-2012
Last updated:02-07-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://atlanticbt.com/
Total downloads:1 013
Active installs:10+
plugin download
Click to start download

Provides a foundation and extensions for/to common WordPress developer functions or tasks, such as creating and installing plugins, making complex database queries, etc.

Includes - MVC

  • common helpful functions: ** v (if isset use value else default) ** kv (non-destructive version of v) ** h (htmlspecialchars) ** str (check if string) ** post/get (wrapper for $_GET, $_POST or default), ** server ($_SERVER wrapper) ** url (returns current url path, optionally parsed by segment) ** mvc_filepath (get include path to mvc file)
  • error handling + debugging template
  • html wrapper functions
  • language functions (more like loading reusable labels)
  • form + validation
  • the mvc stack itself

Includes - Etc

  • custom exception class - extend this for easier catching
  • HtmlRenderer - not actually sure this is used anywhere, it allows for the plugin-pattern to render html
  • inflector - for singularizing/pluralizing stuff
  • Singleton - extend this for singleton/factor instance
  • states_and_countries - gives an array of states and countries
  • wp_options_page - wrapper object for creating option pages
  • wp_page_builder - wrapper object for creating WP pages
  • wp_pagination - wrapper object for creating "1 - XYZ..." pagination links
  • wp_plugin_installer - wrapper object for handling plugin installation actions - (un)install, (de)activate, upgrade
  • wp_plugin_shell - extend this when making a plugin to get access to commonly used stuff for plugins
  • wp_querybuilder - use this chainable object to create mysql queries, built-in prepare