D7 Views Cookbook released

There was a time not too long ago that I thought this book would never make it to the shelves. The original idea was to have the release date coincide with Drupal 7. So what happened?

I started writing it when Drupal 7 was in Alpha 1. Moving from alpha to alpha, there was no update mechanism...in particular none for the database, so I would have to recreate content, content types, etc. Then Drupal 7 was late... way late, and many of the standard features didn't work until just before release, so much of the book had holes. Finally D7 came out, and I waited...and waited...and waited for Views to follow, because there were also many things in Views that were not working then, including many of the views included with the module.

Then, I was chatting with Merlinofchaos, and he mentioned that the Views UI was going to have a new release, and pointed me to screen shots on Drupal Garden. Keep in mind that at this point, other than the holes in the manuscript caused by certain Views functionality not working, I had finished the first draft. The screen shots revealed what we all can see now: given that the 'recipes' in the book give step by step instructions of what to do in the UI to create each view, all the recipes would need to be rewritten, because the UI was that different.

So, I went off and started rewriting the book. Somewhere around the middle of Chapter 3, the new Views module was released in alpha. There were actually several differences between the released UI and the screen shots, as well as ambiguities in the screen shots that were resolved with the code being released, but that were resolved differently than I had assumed. So, once I finished the second first draft, I had to go back and redo much of Chapters 1-3.

Anyway, lesson learned about writing a How-to before the software is ready! The book can be read about and ordered here. If you are interested in reviewing the book, please contact Vishal Tiwari (vishalt@packtpub.com), as he has limited free e-book copies available for reviewers.


by Kelly Bell (not verified) on Fri, 2012-04-13 10:04

Congratulations on launching the book, Jeff! I can't wait to read it. I sent off for my copy yesterday. Keep us all posted when you do your book tour, yes?
Warmest regards,
Kelly Bell (kbell)

by Anonymous (not verified) on Fri, 2012-05-18 04:13

Mr Ayen Green
It is not possible to follow the examples in the book
It is the worst book I ever read

Your book \views 2!!!!
I will not forget your name, believe me Mr Ayen Green.

by ayen on Sat, 2012-05-19 14:16

Thanks for the kind words. The book is actually Views 3, but the UI redesign occurred after the first draft, and after a couple rewrites to address the changes, chapters 1 and 2 ended up being printed with an earlier version.

There is an errata page which I will be updating with corrections for recipe steps, full rewritten recipes, and new versions of those two chapters, for whichever each person finds easier. 

Meanwhile, the book was designed so you don't have to follow any order...choose a later chapter recipe!

by Leo Thomas (not verified) on Thu, 2012-08-02 03:57

I am a dissapointed reader of this book. I cant follow your book as the View 3 is completely different from what you mentioned in the book.
Now when I saw the above comment, I understood the problem happened, but still I would like to know when can we download the first 2 updated chapters?
Let me know please. 

by j ayen green on Thu, 2012-08-02 07:57

Individual recipe corrections are already posted on the errata page, and should be available soon as chapters.  Please note that the structure of the book is like a cookbook, in that it's not meant have to be used in order, so please feel free to use recipes from chapter 3 forward in the meantime.

©2005-2017 Ayen Designs. Underlying theme by Kiwi Themes.