[oik] plugins.com

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog
You are here: Home / About oik plugins – lazy smart shortcodes / lazy shortcodes

lazy shortcodes

One of the main principles of oik-plugins is to develop lazy shortcodes using lazy code. Lazy shortcodes say

Call me when you need me, here’s how to get in touch

The oik-plugins code is intended to be as efficient as possible.

We believe that it’s only necessary to instantiate the code when actually needed. Just because a shortcode is defined, there is no need to load all the gubbins that it uses until it’s actually invoked. This principle applies to a lot of the code in the oik suite of plugins.

  • They don’t waste time doing things that other plugins and APIs can do for them; don’t include files if other plugins do it for you.
  • They don’t do things until necessary; waiting for messages to say something’s happened before loading code

To find out more about lazy smart shortcodes why not take some time looking at this “presentation”.

Technically lazy code implements “callbacks” and deferred loading of functionality.

Share this:

  • Click to share on Facebook (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Pinterest (Opens in new window)

Published: November 4, 2012 | Last updated: March 15, 2015

Information

Component:
  • oik – oik information kit
Letters: L

Recent plugin updates

oik-bwtrace v3.0.0 Use oik-bwtrace v3.0.0 to trace your WordPress server's activity including AJAX, REST and command line. ...
oik-bwtrace v3.0.0-RC2 oik-bwtrace v3.0.0-RC2 includes fixes for many more issues.  ...
oik v3.3.7 

oik v3.3.7 fixes a problem introduced in 3.3.6

 ...
oik-bob-bing-wide v1.32.0 

Update for improvements to the [bw_plug] shortcode… used on blocks.wp-a2z.org

 ...
oik v3.3.6 Upgrade to oik v3.3.6 for improved compatibility with the WordPress Block editor. ...

Plugins

  • All Plugins
  • oik base plugin
  • FREE oik plugins
  • WordPress plugins
  • Premium oik plugins

Themes

  • FREE themes
  • Bespoke themes
  • Premium themes

Blocks

  • All Blocks
  • Block examples
  • About Blocks

Shortcodes

  • All Shortcodes
  • Shortcode examples
  • About Shortcodes

Reference

  • About APIs
  • All APIs
  • All Classes
  • All Files
  • All Hooks

Support

  • Contact
  • Cookies policy
  • Get API key
  • Privacy
  • Request support
  • Sitemap
  • Stay informed
  • Terms and Conditions
oik-plugins
Email: oikplug@oik-plugins.com

Site:  www.oik-plugins.com
© Copyright oik-plugins 2011-2019. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins
WordPress 5.3. PHP: 7.2.20. Memory limit: 768M