{"id":1568,"date":"2010-10-18T17:00:48","date_gmt":"2010-10-18T15:00:48","guid":{"rendered":"http:\/\/planetozh.com\/blog\/?p=1568"},"modified":"2011-05-15T19:01:51","modified_gmt":"2011-05-15T17:01:51","slug":"what-it-takes-to-write-a-chapter-for-plugindevbook-infographics","status":"publish","type":"post","link":"https:\/\/planetozh.com\/blog\/2010\/10\/what-it-takes-to-write-a-chapter-for-plugindevbook-infographics\/","title":{"rendered":"What It Takes To Write A Chapter For #plugindevbook (Infographics)"},"content":{"rendered":"<p>From my experience, here is how time is spent when writing a <a href=\"http:\/\/planetozh.com\/blog\/2010\/09\/into-plugins-you-will-love-this-plugindevbook\/\">book about WordPress plugins<\/a>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/10\/hmmpie.png\" alt=\"\" title=\"hmmpie\" width=\"508\" height=\"394\" class=\"aligncenter size-full wp-image-1569\" srcset=\"https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/10\/hmmpie.png 508w, https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2010\/10\/hmmpie-300x232.png 300w\" sizes=\"auto, (max-width: 508px) 100vw, 508px\" \/><\/p>\n<p>Seriously, the brainstorm part is ridiculously important.<\/p>\n<p>Writing standalone snippets only is neat sometimes, but on the long run it might leave the reader with the impression they won&#39;t be able to glue the various parts into a functional plugin themselves. The perfect plugin that will illustrate a given topic has to be:<\/p>\n<ul>\n<li>very short: nobody wants to read 50 lines of add_options_page() and HTML if you just want to show how to add a nonce and verify it<\/li>\n<li>open and inspirational: the plugin should give the user ideas on where to reuse this code, how to improve a plugin they made in the past. Giving an example of a very focused plugin such as <a href=\"http:\/\/www.viper007bond.com\/2010\/06\/12\/so-apparently-wordpress-can-guide-missiles\/\">guiding a missile<\/a> may be neat, but it&#39;ll be useful to the reader only if they want to code the same plugin.<\/li>\n<li>useful: it&#39;s always tempting to illustrate a concept with short and near-to-useless code because you&#39;re more focused on the concept than on the illustration.<\/li>\n<\/ul>\n<p>So far, in each of the chapters I wrote for the book, there will be 4 or 5 plugins that, I hope, will meet all these criteria (short, useful, easy to build on), and Brad and Justin are also making a fantastic job with very neat plugin ideas.<\/p>\n<p>And, yeah, I like to draw pie charts :)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From my experience, here is how time is spent when writing a book about WordPress plugins: Seriously, the brainstorm part is ridiculously important. Writing standalone snippets only is neat sometimes, but on the long run it might leave the reader with the impression they won&#39;t be able to glue the various parts into a functional [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[379,390,1,245],"class_list":["post-1568","post","type-post","status-publish","format-standard","hentry","category-published","tag-plugindevbook","tag-infographics","tag-my-life","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/1568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/comments?post=1568"}],"version-history":[{"count":0,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/1568\/revisions"}],"wp:attachment":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/media?parent=1568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/categories?post=1568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/tags?post=1568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}