Drupal 6: Panels Cookbook 55
J. Ayen Green writes "When the request came for me to review Drupal 6: Panels Cookbook by Bhavin (Vin) Patel, I was excited. I've been a software developer forever, a Web developer for as long as there's been a Web, and a Drupal developer since D6 was imminent. I have two Drupal books myself, and am working on one about D7 Views, but with all that, one glaring hole in my self-education has been Panels; it would be my first chance to use it." Keep reading for the rest of J. Ayen Green's review.
Panels is the big cousin of the Views module, and big brother to the Panels Everywhere module. All were written by Earl Miles, aka merlinofchaos, a deserving macha in the Drupal community and, in my opinion, a topnotch coder: all the more reason to look forward to the book.Drupal 6: Panels Cookbook | |
author | Bhavin (Vin) Patel |
pages | 220 |
publisher | Packt Publishing |
rating | 9/10 |
reviewer | J. Ayen Gree |
ISBN | 1849511187 |
summary | contains step-by-step instructions for Drupal users to make optimum use of the Panels module |
I need to mention the parameters within which I formed this review. I first considered the book format, because it greatly influences my expectations. A Packt 'cookbook' does not have the format or aims of a standard computer reference or 'Bible' text. It is meant to give the reader a broad but shallow exposure to a topic by using a plethora of step-by-step examples. Basically, if you come away from a cookbook feeling excited by the technology and wanting to dive deeper into learning it, the author has done a good job.
Patel starts off the book with the obligatory chapter on installation and setup, though this one contains a bit more since it is a broader Getting Started chapter. Panels is a contributed module, and installing it will be a familiar process to Drupalers. He covers installing Chaos Tools (Ctools) as well, since it is a required module. There are instructions for those upgrading from a prior release of Panels, too. Having installed and set up the module, Patel then leads you through creating a basic Panels page and node, the building blocks of a Panels layout.
It was early on that I discovered a couple things that made using the book more challenging than it needs to be. Patel uses a non-American dialect of English. While it's quite understandable, at times the usage and sentence structure require one to stop, blink, and reread the passage. Some might find this to be annoying. I looked at it as reading dialogue written by Dickens or Twain, and was fine with it. The other thing is that the instructions at times seem to skip a step, going from point A to point C without a mention of the requisite point B. Again, this causes the occasional confusion for a few moments, but nothing one cannot get past.
Chapter 2 covers a number of topics related to navigating and making use of the Panels interface and related topics. One might be biting at the bit to start creating meaty layouts by now, but Panels is a fairly complex framework to use, so having these 'recipes' available is important. Keep in mind that a 'cookbook' is designed so that most recipes are independent of each other, so they can usually be skipped over, if desired.
This chapter also touches on the topic of context, the context of 'context' here being the circumstances in which a layout exists. For example, with the standard capabilities of Drupal, a block is a fairly independent piece of content. If you want the content of a block to be intelligently related to the main content on the page, it's a difficult nut to crack aside. It can be achieved to some extent with the crafty use of Views, more so by writing a custom module, but becomes pleasantly easy using Panels. This is a big and important topic, and though this is a cookbook and not meant to be deep, I think this subject could have done with a chapter of its own.
Theming is the topic of Chapter 3. Even though Panels handles much of the work, there will likely be the desire to (re)theme its output to varying degrees, and this chapter guides the reader through examples of manipulating it with CSS, adding it to a theme region, and other useful topics.
In Chapter 4 we jump into examples of what is expected from Panels, doing things like replacing the front page, overriding the node edit form, using Panels with feeds and even using mini panels, basically panels within blocks. In Chapters 5 through 9 we move on to using Panels with other common Drupal add-on functionality: organic groups, the custom content kit (CCK), the advanced profile kit, composite layouts and Views.
Chapter 10 builds on much of what was covered and what Panels excels in by creating an example of a travel industry web site. The travel tie-in really doesn't matter, though, as one can easily extrapolate the example to whatever subject matter the intended site will contain.
I enjoyed working my way through the book. I found Patel's recipes to be creative and useful, and they gave me a sufficient understanding of Panels and its capabilities to begin considering possibilities for its use on existing and upcoming sites.
You can purchase Drupal 6: Panels Cookbook from amazon.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
I dont get this drupal pushing (Score:4, Interesting)
Re: (Score:1)
You might want to fix your GirlieGirlie link, or the website itself, as neither work. And if that is an indication of the work you to for that "codebase" ... no thanks.
Re: (Score:3)
And if that is an indication of the work you to for that "codebase"
above sentence is incomprehensible.
.htaccess, due to apache 1 - apache 2 difference.
link works. what doesnt work, is the complex seo friendly language virtual subdirectory rewriting mod_rewrite rules that are on the site
it is an open source project. i will fix those rules when i have the time. anyone who is smart enough to google girigiriphp is free to acquire the thing from sourceforge and use it without language virtual subdirs on apache 2+ or with them on apache 1.x for now.
Re: (Score:3)
it works now.
He fixed it. I was in a rewrite loop before. See his post above.
As for "browser" issues, I mainly use FF, because Chrome still doesn't have decent Adblock plugin. Though I use Chrome for Google Goodness, like Gmail. I also have Safari, Opera, IE8 installed.
Which browser would you suggest?
Re: (Score:2)
Re: (Score:1)
And even if you are talking about custom forms build through the API (well documented through api.drupal.org) there is a module (in dev) called Form Builder that provides a graphical UI that helps you build them.
Re: (Score:1)
Drupal 7 adds the ability to specify a compressed module file to load, either from a url or by browsing locally, and install it from the Admin interface. Also your can do one click updates on modules.
D7 has made a significant effort to providing a more friendly Administration UI experience, while maintaining (and adding) alot of awesomeness under the hood.
Re: (Score:2)
So what other apps do you think do a better job? I'm about to undertake a site renovation for a drupal installation, and we're currently trying to decide whether to keep drupal or use something else. We've talked about wordpress, mediawiki, and a few others, but really knowing which offers the blend of power, flexibility, and ease of use that we're looking for requires a lot of in depth knowledge about each platform. It's a bit overwhelming, and none of us are particularly deep in our expertise.
Re: (Score:2)
but, some apps are restrictive, and require more effort from the developer to get to know them, and also make development more time consuming for them and/or restrict them, even if they are very familiar with the app.
in that drupal fails. it may have started with the best of intentions, however the point it ended up in the spectrum has been far from those inte
Re: (Score:2)
It's REALLY hard to answer that without knowing what the website does. For simply presenting content, WordPress is fast and easy. If you want to link to other databases, use complex logic, etc., Drupal lets you create custom modules that can do anything, but still fit within the CMS framework.
My question is why the review for a Drupal 6 book when Drupal 7 was just released. I know that version 6 will be around for a long time (certainly on several websites I maintain), but I would be willing to bet that Dru
Re: (Score:2)
Re: (Score:2)
Custom Content Types (CCK) and Webforms handle most of those use cases without creating a module.
Re: (Score:1)
Um, yeah... Any argument you may have had is lost with this post. Sounds to me like you never bothered to learn how to use Drupal.
Re: (Score:2)
in addition, in frontline development in which there are money and budgets and real business, there is a certain threshold for 'learning' or becoming familiar with an app code is acceptable. anything that passes over that threshold becomes a loss in regard to budget, and is not acceptable.
drupal crosses that threshold a lot of times. as the other poster which i linked in that other thread, in which you have replied smart assedly without reading it,
Re: (Score:1)
I always found the forms API pretty well documented.
http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html
Re: (Score:1)
Nonsense. The D6 documentation has been there much longer. Drupal 7 was only officially released on January 7th, so I suspect that the documentation wasn't updated before that.
Re: (Score:2)
http://slashdot.org/comments.pl?sid=1947992&cid=34855044 [slashdot.org]
Re: (Score:1)
So...that would be a 'No' to his question, then?
Re: (Score:2)
Re: (Score:1)
Yeah, you have referred to another poster that also seems to have had a very biased OPINION about drupal. The fact that he believes that you need to install endless numbers of modules to get anything done in drupal just shows me that he's as clueless as you are about it, which leads me to believe that neither of you have actually bothered to spend much time looking at it. With a few modules (CCK, Panels, Views, Webforms) you can use drupal replicate just about any site on the internet.
Re: (Score:2)
cck, panels, views, webforms, all the crap you are pushing, are limiting and time-inefficient for business purposes, serious development.
youre basically just a drupal fan. thats alright. but dont come up trying to sell it for things that it is not suitable for.
Re: (Score:1)
Re: (Score:2)
Re: (Score:2)
I will raise your development friendly claim of drupal with a CMS built on the Zend Framework in php [pimcore.org]. It also has a nice Admin UI also.
Drupal needs 5 years and 2 revs (Score:4, Insightful)
However, the development process is awful. Just the simplest change to an existing template requires intimate knowledge of HTML, PHP, DOM, sometimes Javascript and CSS. The level of module documentation is appalling and vast numbers of key modules appear to be whimsical products of amateur enthusiasm, written as a hobby and supported sporadically (I've got bugs I reported 2 years ago that have just been added to ever-lengthening queues that authors have apparently lost interest in) or not at all.
Like most open source software that's written for fun, most of the contributions are far too complicated and appear to be intended more as a monument to the authors' obscure programming techniques than as a clear, properly designed and thought-out addition to enhance the job of a web designer. Maybe with some iron-willed leadership the package could ber whipped into shape in enough time, but until that process is complete it will really only ever be a toy product - for used by people who like to tinker with its internals than those who just want a clean, properly implemented website.
Hmmm... (Score:1)
Wow what a worthless review even by Slashdot standards. Could this person have any less content or meat to this review? Packt, yes this is for a Packt Publishing book, is getting sloppy in their shill reviews by pushing out this one.
Re:Hmmm... (Score:4, Funny)
Then you would know not to buy the book... It's like a movie trailer but for books...
Isn't it ironic? (Score:1)
The reviewer complains about the author's dialect, and then writes:
> ...it's a difficult nut to crack aside.
Re: (Score:2)
Not to mention that the review sounds like it was chunked out in 5 minutes by a half-literate 8 year old.
Oh thank god (Score:3, Funny)
Re: (Score:1)
Re: (Score:1)
Along with Wordpress and Joomla, I think it's probably one of the most used CMS systems on the web. ...so....a lot of people actually use this 'thing'.
Re: (Score:2)
You probably do, without knowing it. It's the code behind 1% of the World's websites. Including a lot of government and local government websites.
Drupal 6 is obsolete... (Score:4, Informative)
For those not in the know, Drupal 7 was just released. Not sure how much of this will apply to the new version, so you should check before spending money on this.
Re: (Score:3)
A religious war surrounds Drupal regarding efficiency, transparency, supportability and eventually scalability. It does not offer methods to consolidate query results and can suffer from chattiness against data stores, only alleviated by elaborate tiered caching schemes.
One should evaluate a large list [wikipedia.org] before picking any CMS; Drupal is not the only successful system in use.
Re: (Score:3)
Buying a book on panels seems kind of crazy, it's a module designed to prevent you from having to construct pages yourself. I had it on my site but I wasn't making new layouts enough to actually need it, so I just scrapped it, installed insert_block, had insert_view already.
" I've been a software developer forever" (Score:2)
Great start to the article, really made me want to read the thoughts of someone with a reading age of ten.