Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional WordPress Plugin Development
This is the forum to discuss the Wrox book Professional WordPress Plugin Development by Brad Williams, Ozh Richard, Justin Tadlock; ISBN: 978-0-470-91622-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional WordPress Plugin Development section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 22nd, 2011, 02:37 AM
Registered User
 
Join Date: May 2011
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default Included code - suggestions

Hi,

I'm still reading through the book but I have a few suggestions regarding the code you provide (the book is great btw).

1. Use a persistent directory naming. Several chapters use a different directory structure than others which makes it harder to locate once opened (for example : "Chapter 01 Code" vs "916223 ch05_AR")

2. Provide a skeleton structure for basic kinds of plugins - this would really be a time saver. At the moment I need to go through several chapters to construct this. Now while I do admit I'm lazy :), there is also the chance I'm missing something in the process.

Thanks,
Guy
Reply With Quote
The Following User Says Thank You to guyn For This Useful Post:
  #2 (permalink)  
Old July 16th, 2011, 05:32 AM
Registered User
 
Join Date: Jul 2011
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Default

+1 for consistent directory structure and naming.

It would also be very helpful to have single zip file to download containing source code for all chapters.

regards,

-Glen
Reply With Quote
The Following User Says Thank You to gihrig For This Useful Post:
  #3 (permalink)  
Old February 25th, 2012, 08:58 AM
Registered User
Points: 20, Level: 1
Points: 20, Level: 1 Points: 20, Level: 1 Points: 20, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2012
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default A suggestion for all Wrox Programmer books

I bought the excellent Professional WordPress Plugin Development book months ago and I love the clearness of it for the most part. I have been using WordPress for the past 7 years and have hacked and modified it up the ying yang but I still do not consider myself a "programmer".

However, now that I have worked with this book, I have a STRONG suggestion, similar to point 2 of guyn's post asking for a skeleton structure to begin with.

Like most programmers and too many programmers who create WordPress plugins that they proclaim are "hot" or "cool" or "useful" this book needed an editor who did NOT understand that much about WordPress plugins and programming to ask the "dumb" questions.

Many times a book that sets out to "make things clear" obfuscates the matter immediately by assuming way, way too much from the first chapter.

GET DUMB first!

It is not until I arrive at page 170, all the way into Chapter 7 of "Plugin Settings" that I find something that should have been NUMBER ONE at the start of the book!

It is dully referred to as "The Settings API" ..... duhhhh! This TOPIC is the STARTING POINT, the KEY, not an unobtrusive element to include in the middle of your book.

Laughably, almost, is that on page 174 you have "Wrapping It Up: A Complete Plugin Management Page"!

The author does not seem to acknowledge that this is anything more important than "wrapping up", the last little thingy, by the way ....

This ISSUE, this TOPIC is the KEY, NUMBER ONE REQUIREMENT when think-tanking a new plugin, or trying to teach neophytes what to consider in creating most plugins.

This is, for example, the place to Demonstrate All the Possibilities for a Plugin, all the things/variables that can be altered, modified, set, unset...

Come on, guys and gals, get visual, get Dumb.

Having used plugins and modified plugins for WordPress for years I still want to Start out with the Basics.

ORIENT ME VISUALLY.

SHOW ME SOMETHING I RECOGNIZE FIRST.

The book would have been so much more useful, more visually engaging, even would have taught me the complicated stuff better and faster if you had presented an engaging VISUAL STORY.

1) The book should have started out with maybe five or six common plugins being installed that require SETTINGS, an Admin Panel, these are the most common and the most complicated and the most useful to a Plugin User.

2) You VISUALLY point out the Different ways that a Plugin developer might install the plugin -- the different places in the WordPress Admin panel, the links -- whether in Appearances - Menu - Widgets, or in Settings or in Tools, for instance, where the developer might choose to start the whole User Settings process for that plugin.

3) Then you show us the code behind each of those initial choices. You peel back the curtain from the Visual presentation to the underlying code and where it started and where it is sitting in relation to the whole registration and initiation process.

4) You visually walk through 4 or 5 of the most commonly used Structures used to present Settings, and show how to get Tabs to break up a long step-through Settings process, etc.

5) Discuss "best practices" Visually in the Plugin Admin settings panels.

6) Then the peel back the curtain to the code, show that code in context with the whole page, and yet highlighted, then zoom in close to discuss its features and what functions we are tapping.

Make the book a step-by-step Tutorial Visually where you are showing first, things we are familiar with visually, VISUALLY, the most practical first steps.

In other words, Wrox Editors, get Stupid or bring in stupid people like me to point you in the right direction.

Show us the Cool EFFECTS -- the Admin Settings Panels for various popular types of Plugins and then HOW those were invoked.

When you have done with those you have really compiled a very useful Plugins book that is also like a Cookbook chock full of yummy recipes.

WROX, there are so many competing books out there, this concept would IMPROVE sales even more.

This type of thing is always what I look for even though I have created some plugins myself.

The book I am describing would have been a Godsend and I would be much further down the road today if it had been available.

I would strongly suggest that you establish a TEMPLATE for every Wrox book that can be broken down this way even for subjects where you assume "everyone knows". Your visual style is quite dry and borderline boring and unappetizing.

The reason I bought the Wrox book is that it seemed to adequately cover plugins with the technical code that I wanted, even though I knew that I would have to put up with your weak presentation skills.

If the EFFECT of CODE can be shown in the End Product on a monitor screen then, dadgum it, SHOW IT FIRST.

If I am teaching a course on the techniques of Film Making I would first show my class the EFFECT, the END PRODUCT on screen, get them excited to know that I am next going to take them into the field and demonstrate step-by-step how to get that end product for themselves.

So, that's my story and I'm stickin' to it!

Best Regards

Last edited by ViennaCalling; February 25th, 2012 at 09:14 AM.
Reply With Quote
The Following User Says Thank You to ViennaCalling For This Useful Post:
  #4 (permalink)  
Old August 13th, 2012, 08:26 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for the information here, very helpful to me as well.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I need a good PHP book!!( with the templates code included ) keno18nyc Beginning PHP 0 March 5th, 2009 12:29 PM
Included XSLT and use as object YoungLuke C# 2 October 31st, 2007 05:40 AM
Generate A Workbook With Macro Included robnot Excel VBA 1 February 16th, 2007 07:08 PM
dll config files - included in the build stuarth VS.NET 2002/2003 0 July 13th, 2005 07:59 AM
Why are my math functions not being included? jkeen BOOK Beginning Linux Programming, 3rd Edition 4 October 22nd, 2004 06:29 AM



All times are GMT -4. The time now is 09:23 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.