DevinVinson / WordPress-Plugin-Boilerplate

[WordPress] A foundation for WordPress Plugin Development that aims to provide a clear and consistent guide for building your plugins.
http://wppb.io
7.67k stars 2.25k forks source link

Scope of educational intention of this boilerplate #134

Closed pablopaul closed 10 years ago

pablopaul commented 10 years ago

Hey @tommcfarlin ,

how would you define the educational scope of your boilerplate:

Does this boilerplate also could give some best practice examples how to separate HTML from PHP code in a plugin?

Does anybody feel ready to provide some examples or can recommend any source?

Thanks!

tommcfarlin commented 10 years ago

Here is a slightly dated plugin that I created with a prior version of the Boilerplate and that was used in a series on Envato.

It shows how to separate PHP and HTML.

As far as educational scope is concerned, it's meant to be primarily for beginner-to-intermediates who know the basics of plugin development, but are looking for a place to jump start their plugin development through the use of WordPress best practices.