{"id":1352,"date":"2009-10-29T16:38:31","date_gmt":"2009-10-29T14:38:31","guid":{"rendered":"http:\/\/planetozh.com\/blog\/?p=1352"},"modified":"2009-10-29T16:38:31","modified_gmt":"2009-10-29T14:38:31","slug":"review-of-wordpress-plugin-development-beginners-guide","status":"publish","type":"post","link":"https:\/\/planetozh.com\/blog\/2009\/10\/review-of-wordpress-plugin-development-beginners-guide\/","title":{"rendered":"Review of &#8220;WordPress Plugin Development: Beginner&#8217;s Guide&#8221;"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/planetozh.com\/blog\/wp-content\/uploads\/2009\/10\/packtpub-wordpress-plugins.jpg\" alt=\"packtpub-wordpress-plugins\" title=\"packtpub-wordpress-plugins\" width=\"250\" height=\"308\" class=\"alignleft size-full wp-image-1351\" srcset=\"https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2009\/10\/packtpub-wordpress-plugins.jpg 250w, https:\/\/planetozh.com\/blog\/wp-content\/uploads\/2009\/10\/packtpub-wordpress-plugins-243x300.jpg 243w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/>A few months ago (yeah, that long) I was asked by Packt Publishing if I would like to review a copy of <a href=\"http:\/\/www.packtpub.com\/wordpress-plug-in-development\/book\">WordPress Plugin Development: Beginner&#39;s Guide<\/a> by Vladimir Prelovac. Needless to say, I thought this could be fun and interesting, so I jumped on the occasion, and finally found some time to read the book and share my thoughts about it.<br \/>\n<!--more--><\/p>\n<h2>In a word<\/h2>\n<p>My conclusion first, for those in a rush: it is a great book. It&#39;s really rich. For people knowing the basics of PHP and willing to give WordPress plugins a first shot, it should be a fantastic read. I wished I could have read something like this five years ago when I began coding plugins for WordPress :)<\/p>\n<h2>What&#39;s cool about the book<\/h2>\n<p>What is remarkably cool about this book is the diversity of topics it covers. Vladimir dissects 6 of his plugins as a pretext for discussion about development, and doing so addresses the following topics: conditional tags, hooks, insertion of Javascript, translation of a plugin, creating a widget, using Ajax in plugins, using shortcodes, handling options, nonces, fiddling with TinyMCE, page templates, custom fields, user roles and more&#8230; This is truly porn for beginners.<\/p>\n<p>Of course, despite its 300 pages, the book won&#39;t make you the definitive expert on each and every of these topics, but serves as an eye opener: it will provide the &quot;owwww you can do this??&quot; experience most beginner coders don&#39;t know about, show how easy it is, and then gives suggestion to enhance or improve the give examples.<\/p>\n<p>The book&#39;s tag line is: &quot;Learn by doing: less theory, more results&quot;. And that&#39;s no lie: each topic has a &quot;Time for action&quot; paragraph with actual code, explanations and references, then opens up to a &quot;Have a go Hero&quot; section where the reader will find suggestions for exercises and improvements.<\/p>\n<p>While the core topic of the book is plugin development and code, Vladimir also gives in his book excellent advices about the befores and the afters of the coding job. The book explains what WordPress and plugins are good for, how to promote your new plugin, the basics with SVN management, or offering support for your code.<\/p>\n<h2>What I would have loved<\/h2>\n<p>The only small gripe I have with this book is typographic (so I don&#39;t think the author is to blame here, actually). I thought the headings were too similar, so I wasn&#39;t very sure where new section or subsections would start and end, although that&#39;s not a big deal really. But it would be seriously cool to have colored, highlighted code. That would be so much more readable, or maybe I&#39;m just too used to reading code in an editor that can highlight it :) Also, reading &quot;plug-in&quot; instead of &quot;plugin&quot; did hurt my eyes a bit ;)<\/p>\n<h2>Final word<\/h2>\n<p>Do I recommend the book to someone who wants to step into the wonders of plugin development? Totally. <a href=\"http:\/\/www.packtpub.com\/wordpress-plug-in-development\/book\">Go buy it<\/a>. It&#39;s not even an affiliate link, I write this because I believe it :)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A few months ago (yeah, that long) I was asked by Packt Publishing if I would like to review a copy of WordPress Plugin Development: Beginner&#39;s Guide by Vladimir Prelovac. Needless to say, I thought this could be fun and interesting, so I jumped on the occasion, and finally found some time to read the [&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":[114,85,63,245],"class_list":["post-1352","post","type-post","status-publish","format-standard","hentry","category-published","tag-books","tag-plugins","tag-review","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/1352","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=1352"}],"version-history":[{"count":0,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/posts\/1352\/revisions"}],"wp:attachment":[{"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/media?parent=1352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/categories?post=1352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/planetozh.com\/blog\/wp-json\/wp\/v2\/tags?post=1352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}