Using Drupal

Item Description

Using Drupal cuts out a lot of the research time and helps you dive headfirst into Drupal. It does an excellent job of explaining how to rapidly assemble a wide variety of websites using some of Drupal's most commonly used modules. Whether you're new to building websites or an experienced programmer, this book is full of useful information. By the end of Using Drupal, you'll be much more prepared to build the Drupal site you've always wanted.


Is That Site Running Drupal?
By Angela Byron

Various attempts at "fingerprinting" a Drupal site have been tried in the past, none of which are completely foolproof. These range from *super* easy stuff like checking for CHANGELOG.txt to checking the source for a reference to "drupal.css" (Drupal 4.7) to checking for common paths like taxonomy/term/1, and /user, (which might be aliased to something else with something like Pathauto/Path Redirect module), and so on. However, since Drupal 4.6, there's a super geeky trick you can use to fingerprint a Drupal site that works 90% of the time.

1. Get Firefox.

2. Get the Live HTTP Headers extension.

3. After restarting Firefox, click Tools > Live HTTP Headers. This'll pop up a little window to the side.

4. Visit a website you suspect of being Drupalish.

5. Highlight the Live HTTP headers window and type "exp", looking for the following in the output:
"Expires: Sun, 19 Nov 1978 05:00:00 GMT"












"Classic" Web Problems, Solved
Drupal version: 6.x
By Jeff Eaton

A lot of energy in the Drupal world goes towards solving complex problems: giving administrators ways to build publishing workflows without writing code, integrating with cool new APIs, automatically translating site content into Klingon... You know. The usual. With all of that energy focused on complex architectural problems, it's easy to lose sight of the simple solutions that Drupal provides for really common "classic" web problems. This really hit home the other week as I sifted through an old Zip disk with archives of sites I'd built for clients in the heady days of the late 90s. One by one, I started ticking off requests my clients had made that today's site-builders can solve in minutes with Drupal modules--no wacky configuration, no complicated recipes. Just a simple, "Yes!" when a client says, "Can you...?"

"...Make a splash page for the site?"
No problem. Drop in the Splash module, and you can use any page on your site as an interstitial splash page. It's also smart enough to tie into contextual information Drupal provides--only showing the splash screen to anonymous users, creating section-specific splash pages, and more.

"...Let visitors print out copies of the pages?"
While any web browser can print a simple copy of the current page, and custom style sheets can help clean up color schemes and images to make a page look printer-friendly, sometimes, things need tweaking. For example, embedded web links will look like simple underlined text if you rely on style sheet tweaks. Drupal's Print module generates printer-friendly versions of any page, including the creation of URL footnotes at the bottom of each printout. It can also generate downloadable PDFs of any page, and send-this-article-to-a-friend email links.

"...Show visitors a Terms Of Service page before they sign up to post on the site?"
Letting users sign up to post comments, subscribe to newsletters, and so on was just catching on when I handcrafted those old-school sites in the '90s. The Terms of Use module handles one of the tricky parts: requiring users to explicitly agree to terms of service before they can create an account. It lets you maintain your terms as a dedicated page on the site that users can read, and present it to them with an 'Approval' checkbox when they create an account.

"...Add a chat page where users can talk in real-time?"
Setting up chat rooms on web pages was always a pain in the old days. Even today it can be tricky, and there are quite a few different ways to do it. Flash, AJAX, Java applets, and more are all ready. The Mibbit module for Drupal lets site visitors chat on a custom IRC channel using a simple AJAX interface. Since it uses IRC as its backend, it can point to custom private discussion channels, or public ones like #drupal on the freenode IRC network.

"...Keep other sites from stealing my content using Frames?"
This one went out of style for a while, but when Google's AdSense and other advertising networks up momentum, some enterprising individuals resurrected the concept of "wrapping" other sites in HTML frames, presenting ads in the sidebars while leeching the original site's bandwidth and content. JavaScript can help: script snippets can force your page to open in a dedicated window instead of a frame, and the FramePrevention module makes that trick automatic.
None of these modules are crazy, groundbreaking tools that get their own articles and tutorial videos. Like many of the tools in the Drupal world, though, they do the heavy lifting that lets us focus on the really complicated tasks. Looking back, it's hard not to sigh and wonder how much time could've been saved if I'd had them at my disposal in The Olden Days...























Product Details

  • Author: Angela Byron
  • Publication Date: 2008-12-08
  • Publisher: O'Reilly Media
  • Product Group: Book
  • Manufacturer: O'Reilly Media
  • Binding: Paperback, 496 pages
  • Features:
    • ISBN13: 9780596515805
    • Condition: New
    • Notes: BUY WITH CONFIDENCE, Over one million books sold! 98% Positive feedback. Compare our books, prices and service to the competition. 100% Satisfaction Guaranteed
  • Package Dimensions:
    • Dimensions: 900L x 690W x 110H
    • Weight: 155
  • List Price: $44.99
  • ISBN: 0596515804
  • ASIN: 0596515804

Buying Options

Sold by new_books_today: Usually ships in 1-2 business days

Similar Items

Customer Reviews

Average Amazon User Rating: 4.5 stars

5 stars Well structured, just like Drupal. 2010-05-11

Reviewer: lightscapes

Drupal is a fast-moving target, so writing a book about it is especially challenging. These authors know what they are doing, as they are all long time Drupal jockeys, deeply involved with core development, the Drupal community, and with Drupal education. With six different authors, it's refreshing that they have been able to combine their points of view into such a well-integrated publication.

Content structure is what Drupal is all about, and the authors have also structured their book's content to make it easily accessible. After the first chapter, each is presented with the same sectional structure, beginning with a case study, a common real-world problem that Drupal might be asked to solve. This structure next leads to alternative implementation strategies, then focuses on the features of recommended modules. In their "Hands-on" section, the authors next show how to configure the modules. The chapters, each on a different case study, end with references to other modules that might further enhance functionality. Each chapter ends with a summation, including links to the modules discussed. In the course of describing solutions to the problems introduced by the case studies, the authors take the reader (with little redundancy) through many general aspects of planning and implementing a Drupal site.

The authors' choice of case studies makes the book particularly valuable, as they cover a range of very common content management situations, including: a job posting board, product reviews, a wiki, managing publishing workflow, a photo gallery, multilingual sites, event management, and an online store.

Site functionality is the focus of most of the book, but the last chapter addresses more the topic of presentation, in Drupal-speak, Theming. This chapter requires some knowledge of CSS, HTML and PHP to fully understand how to modify existing themes (of which there are many). There is reference to where you can learn more about these topics, as well as some code that you can copy, but the authors do not attempt to write a primer on web coding.

Before the index, the book ends with three Appendices. The first addresses Drupal installation and maintenance. The second gives advice on choosing and evaluating modules that you might want to use for your own purpose. Since many modules are contributed by users in the Drupal community, coding quality, bug fixes, etc. can vary considerably, and the user is well-advised to apply "due diligence" as introduced in this appendix. The third appendix is a list of modules and themes used in the book, along with where to get them and their source code.

Using Drupal is targeted at readers "somewhere between total newbie and computer science professor", and is a surprisingly accessible practical introduction to Drupal as a platform. The writing style is succinct but easy to read, without the cutesy fluff so often found in how-to technical writing for the masses. The presentation reflects the authors' continuing involvement in Drupal education and in the growing Drupal community.

5 stars Best beginner book out there 2010-05-02

Reviewer: Kathy

This is the best book for beginners new to Drupal. You can follow along and build a site, learning what you need to know along the way. This is a much more fun and rewarding way to learn, and people seem to understand more quickly and retain the information longer because they're actually using it. At our university, this is the book we recommend to people who are just starting out with Drupal and have a little experience with the web (i.e., some CSS and HTML). No PHP required.

1 stars Less Than Expected 2010-03-22

Reviewer: Richard D. Vogel

I always expect O'Reilly books to lead me into new areas. I have been using them as a source for years. This is the first time I have been disappointed. The author is hard to read. The examples used inside the FIGURES boxes have been reduced in size to the point where they are almost impossible to read(use). I got a basic idea about DRUPAL but gave up after 130 pages. Then I ordered another book from someone else.

5 stars The best choice for a single Drupal book! 2010-03-08

Reviewer: Lawrence Baldwin

As a Drupal newbie, I found this book the ideal starting point for the somewhat daunting task of learning Drupal. Its hands-on sections walk you step-by-step through the process of creating websites that serve real needs, and take you from the earliest steps (what is this thing called Drupal? How do I get it to do something?) through a wide range of tasks, from creating a photo gallery to an online store.

During the course of this journey, you will learn both Drupal core and a wide variety of contributed modules. The writing and the instructions are easy to follow, neither too technical nor condescending. The sample projects are real enough to give a genuine sense of how to use the tools without being so verbose as to bog you down in details.

I have read other Drupal books, but so far none takes the place of this one as a real-world text in getting the most out of a wonderful tool.

4 stars Great Beginner Book 2010-02-08

Reviewer: Benjamin Gummelt

This is a great book to introduce you to the various modules that can start any type of website. Granted there is a lot more work that needs to go into the site before taking it live this book does a great job of giving case studies that help give you ideas for tactics to design a site that fits your needs.

Great book. Kudos to the authors.