Plugin development best practices and troubleshooting user issues (wcmtl)
WordCamp Montréal 2010 | Catégorie:WordCamp Montréal 2010
#wcmtl sur Identi.ca | #wcmtl sur Twitter | #wcmtl sur Delicious
Lefebvre, Yannick (2010). « Plugin development best practices and troubleshooting user issues »
Sommaire |
Yannick Lefebvre
Plugins
- Link Library
- Tune Library
- Weekly Schedule (TV Shows)
- Modal Dialog (pop-ups)
Best Practices
- Avoiding jQuery conflicts
- Avoid loading multiple instances
- wp_enqueue_script( 'jquery' );
- wp_enqueue_style( $handle, $src, $deps, $ver, $media );
- Avoid conflicts with other plugin functions
- Watch out for the automatic upgrade cleanup
Blog Performance
- […]
- Keep database access under control
- Reduce page refresh and size of database queries
Enhance the user experience
- Translation
- load_plugin_textdomain( 'link-library', $llpluginpath . '/languages', 'link-library/languages' );
- Tooltips in the plugin admin page
- Debug mode
- Backward compatibility
- Think of all types of users for upgrade procedures
- Version number
Slides
Plugin Development Best Practices and Troubleshooting User Issues


