March 20, 2009

wordpressdevbook

I recieved my copy of WordPress Plug-in Development (Beginner’s Guide) by Vladimir Prelovac a few days ago and have been reading through it with great interest. I have long thought that this kind of book was due, in fact I even considered writing one myself, so I am really glad that one has finally arrived.

This is a Beginner’s guide, but even so there is a lot in this book. This isn’t a book on first principles alone so even if you’ve created your own plugins before there is likely to be something in this for you. The cover of the book contains the following words which seem to sum it up pretty well:

Learn by doing: less theory, more results.

The book is organised around the development of six plugins. With each chapter a new plugin is started, developed and explained. None of the plugins are simple so this really is a book for someone who actively wants to learn. Vladimir has clearly decided that you can get a ‘Hello World!’ plugin tutorial from anywhere so, while he does explain what you will need to develop plugins, for example, where you can get free tools, and does include the basic ‘Hello World’ skills in the first tutorial, he kicks off the book at a fast pace.

The benefit of this fast paced style is that every plugin is guininely useful and contains important skills and a lot of information. Each chapter also gives suggestions for how you can customise the plugin so you can do more than just follow along.

By the second plugin Vladimir will have you diving into JQuery and AJAX, in the third you’ll be creating Widgets, and by the end you’ll be integrating flickr into the WordPress admin, and creating your own post types.

When I first heard about the book there were two things that I really wanted to find out: What plugin architecture would Vladimir recommend in the book and where would he draw the line between ease of understanding and promoting best practices. Teaching someone to write a plugin is fairly easy, but teaching them to write plugins well is very difficult.

The chapters do a great job of easing the reader into the best practice concepts. In the first plugin the reader is told how to build the plugin without messing around too much. He still suggests version checking at this point, but the basic lesson is very simple. It isn’t until the third plugin that he introduces the concept of classes in plugins, giving plenty of time to get used to the core concepts first but ultimately steering the reader toward the best method.

As early as the second plugin Vliadimir is talking about security and using nonces and concepts such as caching and localisation aren’t far behind. In fact, this book contains the best explanation I have read so far about using software to create the necessary files for localisation. I can honestly say that after just a brief skim through the section on localisation I feel that I know more than from all the other online guides I have read.

Finally, Vladimir doesn’t stop at the coding aspects. He goes on to talk about distribution, promotion, providing support, using SVN (Using ToroiseSVN) as an example (again a really good introduction to it).

Downsides?

There is only one downside to the book and it was always going to be inevitable. That is that WordPress development tends to move at a swift pace. Already there are some developments, such as the improved widget code, that aren’t in the book. I don’t think this is a big issue though. Learning to develop for WordPress using this book will provide enough understanding to cope with the changes.

I wonder whether Vladimir is slaving over a second edition already? Perhaps Jeff can ask him when he appears on WordPress Weekly in a few weeks time. (27th March I think).

Conclusion

You can surely tell that I like this book. I do. I would go so far as to say that if you aspire to develop for WordPress you should own this book and if you already develop for WordPress, you should also own it, even if it is just to confirm what you already know.

WordPress Plug-in Development (Beginner’s Guide) is well prepared, well written, easy to use, and I heartily recommend it.



Wordpress title showing space?
no comment on page 1371

Wordpress fun?
one comment on page 1376

Live blogging plugin?
4 comments on page 1258

Wordpress 3 admin speed up?
4 comments on page 1321

Framework photoshop?
3 comments on page 296

Fun wp plugins?
one comment on page 1376

Habari vs wordpress?
12 comments on page 440

Wp tags vs categories?
12 comments on page 7

Wordpress rss seo?
one comment on page 1361

Photo albums html5?
6 comments on page 1305

Wordpress chat?
no comment on page 1308

Wordpress exif data?
12 comments on page 230

Css sidear tab?
2 comments on page 336

Wordpress theme html5 blueprint?
6 comments on page 1305

Wordpress shortcode in plugin?
no comment on page 236

Html 50 photo album?
6 comments on page 1305

Get the post attachement?
24 comments on page 1065

Wordpress plugin development 30?
one comment on page 1373

Wordpress plugin development 30?
one comment on page 1373

Disqus formatting?
7 comments on page 1175

Html5 photoalbum?
6 comments on page 1305

Html5 photoalbum?
6 comments on page 1305

Wordpress fun?
one comment on page 1376

Fun wordpress plugins?
one comment on page 1376

Url shortener ideas?
4 comments on page 1190

Url shortener ideas?
4 comments on page 1190

Html 5 photo gallery?
6 comments on page 1305

Multiple post navigation?
no comment on page 1147

Html5 photo galleries?
6 comments on page 1305

Adding images to a wordpress 3 post?
24 comments on page 1065

Html5 photo gallery code?
6 comments on page 1305

Wordpress multiple blog master?
one comment on page 1376

Wordpress 3 tableprefix?
one comment on page 1376

Wordpress 3 tableprefix?
2 comments on page 1374

Using wordpress as a framework?
2 comments on page 335

Single post image size?
24 comments on page 1065

Get featured image src wordpress?
24 comments on page 1065

Disqus wordpress mu?
7 comments on page 1175

Image gallery html 5?
6 comments on page 1305

Wordpress theimage?
24 comments on page 1065

Wpgetattachmentimagesrc size?
24 comments on page 1065
  every 1733s, 1s ago, in 0.02s.
 __
(__)
   `
 Laura Kalbag

I bought the ebook last week. Haven't had a look at it yet, but as someone that has only developed themes before, I fancied a go at plugins too. Looking at your review, I'm really pleased I bought it :)

 __
(__)
   `
 vprelovac

You are right in guessing that the main challenge of the book was dealing with the quick pace of WordPress development. That is why I focused on using as much core WP functions as possible. And thanks for a great review!

 __
(__)
   `
 Will Anderson

I had already been thinking about purchasing this book, but was afraid of wasting money on something that only talked about “Hello World” and maybe a couple of filters. After reading this review, I am convinced that purchasing the book will be money well spent.

Thanks!


0s