Leveraging Drupal pot

480 3.8K 0
Leveraging Drupal pot

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Leveraging Drupal ® www.wrox.com $49.99 USA $59.99 CAN Wrox guides are crafted to make learning programming languages and technologies easier than you think. Written by programmers for programmers, they provide a structured, tutorial format that will guide you through all the techniques involved. Recommended Computer Book Categories Internet Web Page Design ISBN: 978-0-470-41087-5 As an open source, community-based content management system and web site application development framework, Drupal allows you to create interactive, media-based, database-driven web sites that become a part of everyday activities and communications. This unique book is the first of its kind to tackle the challenging task of leveraging Drupal to get a site done right and make that site work for you, based on industry-wide software development best practices. Within these pages, you will gain insight into how to work with any release of Drupal, approach your project, establish a development environment, plan for deployment, and avoid pitfalls along the way. A real-world example of a web site application based on Drupal—an online Literary Workshop—is used throughout the book, and it walks you through the entire development lifecycle. You’ll learn how to bring your web site into the exciting Drupal mainstream, customize Drupal for your specific needs, and even make “non-Drupal” looking sites. With this hands-on guide, you’ll discover how to use Drupal to efficiently publish, manage, and organize a wide variety of content on your web site. What you will learn from this book ● Best practices to optimize the way you approach development projects ● Methods for setting up a development environment using version control and issue tracking tools ● How the Drupal theming system works and how it separates content from presentation and style ● Techniques for upgrading and deploying the online Literary Workshop ● The future of Drupal and how it might be developed and used Who this book is for This book is for Drupal users of all levels of expertise who are looking to put together a sophisticated web application. Leveraging Drupal ® Kane spine=.96" Updates, source code, and Wrox technical support at www.wrox.com Leveraging Drupal ® Getting Your Site Done Right Victor Kane Wrox Programmer to Programmer TM Wrox Programmer to Programmer TM www.it-ebooks.info spine=.96" Get more out of WROX.com Programmer to Programmer ™ Interact Take an active role online by participating in our P2P forums Wrox Online Library Hundreds of our books are available online through Books24x7.com Wrox Blox Download short informational pieces and code to keep you up to date and out of trouble! Chapters on Demand Purchase individual book chapters in pdf format Join the Community Sign up for our free monthly newsletter at newsletter.wrox.com Browse Ready for more Wrox? We have books and e-books available on .NET, SQL Server, Java, XML, Visual Basic, C#/ C++, and much more! Contact Us. We always like to get feedback from our readers. Have a book idea? Need community support? Let us know by e-mailing wrox-partnerwithus@wrox.com www.it-ebooks.info Leveraging Drupal ® Introduction xxiii Part I Launching Your Website as a Software Project Chapter 1: Keeping It Simple 3 Chapter 2: Taking Baby Steps 17 Chapter 3: Getting Organized 53 Chapter 4: Getting up to Speed 87 Part II Getting Your 5.x Site Up-To-Date Chapter 5: Finishing up the Elaboration Phase 109 Chapter 6: Pushing the Envelope 129 Chapter 7: Becoming an Expert Drupal Themer 155 Part III Upgrading Your Drupal Site Chapter 8: Upgrading to Drupal 6 187 Chapter 9: Upgrading to Drupal 6 Revisited 213 Part IV Getting the Most out of Drupal 6.x Chapter 10: Installing and Using Drupal 6 Fresh out of the Box 239 Chapter 11: Full Swing Agile Approach to Drupal Development 279 Chapter 12: The jQuery Chapter 323 Part V Drupal 7 and the Road Ahead Chapter 13: From Drupal 6 to Drupal 7 and Beyond 365 Chapter 14: Deploying your Application as a Drupal Installation Profile 385 Chapter 15: Acquia Drupal as an Enterprise-Ready Alternative 411 Index 431 www.it-ebooks.info www.it-ebooks.info Leveraging Drupal ® www.it-ebooks.info www.it-ebooks.info Leveraging Drupal ® Getting Your Site Done Right Victor Kane Wiley Publishing, Inc. www.it-ebooks.info Leveraging Drupal ® : Getting Your Site Done Right Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2009 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-0-470-41087-5 Manufactured in the United States of America 10987654321 Library of Congress Cataloging-in-Publication Data Kane, Victor, 1946- Leveraging Drupal : getting your site done right / Victor Kane. p. cm. Includes index. ISBN 978-0-470-41087-5 (paper/website) 1. Drupal (Computer file) 2. Web sites — Design — Computer programs. 3. Web site development. I. Title. TK5105.8885.D78K36 2009 006.7  6—dc22 2008049818 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the permission Department, John Wiley Publishing, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at www.wiley.com/go/permissions . Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Website is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Website may provide or recommendations it may make. Further, readers should be aware that Internet Websites listed in this work may have changed or disappeared between when this work was written and when it is read. For general information on our other products and services please contact our Customer Care Department within the United States at (877) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002. Trademarks: Wiley, the Wiley logo, Wrox, the Wrox logo, Wrox Programmer to Programmer, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. Microsoft and SharePoint are registered trademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book. Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in e lectronic books. www.it-ebooks.info To my parents, John and Helena Kane, who made huge sacrifices in order to guarantee their children’s educations. To my son, Guillermo, who has taught me so many things. To my loving life partner, Elena, who shares with me life, love, and struggle, and who has taught me the meaning of determination; and to all our sisters and brothers. www.it-ebooks.info www.it-ebooks.info [...]... Application Form Drupal 6.x jQuery Breakthrough 347 349 354 An Example jQuery Ajax Alarm Module for Drupal 6.x Summary Part V: 339 342 345 355 362 Drupal 7 and the Road Ahead Chapter 13: From Drupal 6 to Drupal 7 and Beyond What’s Changed in Drupal 6? Killing the Webmaster Understanding the Drupal Blueprint from Drupal 7 On Making the Historic Decision to Postpone the Drupal 7 Code Freeze Listing the Drupal. .. Theming Example Plug-Ins Drupal 5.x Uses of jQuery and Other JavaScript Libraries 330 331 332 335 336 jstools Prototype and script.aculo.us Drupal 5.x UI The jQuery Update Module 336 337 338 338 Advanced Drupal 5.x Examples 339 Reusing the Collapsible Widget Dependent Autocomplete Fields Making Use of Hierarchical Select (Drupal 5.x) Validate, Validate, Validate! 347 Drupal 5.x Thread Drupal 6 Thread: An... 229 231 234 235 Getting the Most out of Drupal 6.x Chapter 10: Installing and Using Drupal 6 Fresh out of the Box Step 1: Installing Drupal — Easier Than Ever Before Downloading Drupal Unzipping and Preparing Files for Upload xviii www.it-ebooks.info 239 240 240 240 Contents Uploading Files Creating the Database and User for the Drupal Installation Running the Drupal Install Wizard Step 2: Designing... word, you You can use Drupal to create a modern, interactive website that can become part and parcel of your day-to-day activities and communications www.it-ebooks.info Introduction But this book is not just about Drupal It is about leveraging Drupal It explains the best possible set of approaches toward making Drupal work for you to get your site done right and, as such, views Drupal, together with... Historic Decision to Postpone the Drupal 7 Code Freeze Listing the Drupal 7 Features Drupal 7 Architectural Style Drupal 7 Database API Going PHP 5 Considering Usability Concerns, Usability Sprints Projecting Drupal 7 Contributed Module Battle Plans Installing Drupal 7 Developing a Minimalist On-Line Literary Workshop in Drupal 7 Creating Literary Pieces Summary xx www.it-ebooks.info 365 365 367 368 369... so using the Drupal CMS Framework, with an emphasis on building a cookbook of proven recipes capable of meeting modern requirements, based on best practices and a test-driven approach to application construction Victor has been an active participant in the Drupal community, with its forums, locally based Drupal groups, and Drupal camps and conferences, and is a proud ‘‘graduate’’ of the Drupal Dojo... the Default Drupal Theme Step 6: Disabling All Contributed Modules Step 7: Updating the Drupal Core Step 8a: Enabling the Modules Step 8b: Upgrading the Theme Step 9: Re-running All Site Acceptance Tests Step 10: Deploying Summary Chapter 9: Upgrading to Drupal 6 Revisited Shifting Everything over to a Test Site 199 200 201 202 202 205 206 211 211 211 213 214 Update Everything to the Latest Drupal 5.x... Starting with a Clean Drupal Installation Tarball Copying in the Modules and the Theme Abstracting out the Views into the litworkshop Module Preparing the /profile Directory Caveats Creating the Drupal Installation Tarball Itself Summary 385 385 386 387 388 392 392 392 395 395 396 397 399 410 410 410 Chapter 15: Acquia Drupal as an Enterprise-Ready Alternative Trying out Acquia Drupal 411 412 Step 1:... drupal. org, having provided the answers in the nick of time on countless occasions I must acknowledge also the Drupal Dojo group (http://groups .drupal. org /drupal- dojo), an incredibly selfless ‘‘share the knowledge’’ self-teaching group that started operations in January 2007 and is now getting ready to launch Drupal Dojo 2.0 Also, I thank the kind people at Wiley Publishing including Carol Long, who helped me... designs into working Drupal sites A project manager who needs to understand the dimensioning of what is entailed in various kinds of website development using Drupal Untrained end-users who are having a Drupal- based site delivered to them and need to school themselves realistically in terms of what it means to own and house-train a modern website Anyone curious about how anything Drupal actually gets . web application. Leveraging Drupal ® Kane spine=.96" Updates, source code, and Wrox technical support at www.wrox.com Leveraging Drupal ® Getting. Becoming an Expert Drupal Themer 155 Part III Upgrading Your Drupal Site Chapter 8: Upgrading to Drupal 6 187 Chapter 9: Upgrading to Drupal 6 Revisited

Ngày đăng: 07/03/2014, 06:20

Mục lục

  • Leveraging Drupal®: Getting Your Site Done Right

    • About the Author

    • Credits

    • Acknowledgments

    • Contents

    • Introduction

    • Part I: Launching Your Website as a Software Project

      • Chapter 1: Keeping It Simple

        • Getting with the “Program”

        • Information Architecture and an Agile Approach for the Rest of Us

        • The Example Used throughout This Book

        • Summary

      • Chapter 2: Taking Baby Steps

        • Creating an Initial Environment

        • Whipping up the Initial Prototype

        • Summary

        • References

      • Chapter 3: Getting Organized

        • Reviewing the Initial Environment

        • Building on Your Initial Prototype

        • Getting Initial Feedback from the Client

        • Summary

      • Chapter 4: Getting up to Speed

        • Finishing the User Stories with the Client

        • Planning the Project

        • Working on the Architectural Baseline

        • Getting the Team Organized and with the Program

        • Elaboration Phase Cleanup

        • Summary

    • Part II: Getting Your 5.x Site Up-To-Date

      • Chapter 5: Finishing up the Elaboration Phase

        • Creating an Initial Environment

        • Whipping up the Initial Prototype

        • What’s Left?

        • Working on the Architectural Baseline

        • Summary

      • Chapter 6: Pushing the Envelope

        • You’ve Got Mail!

        • Using Your Own dev Affinity Group

        • Rolling Your Own Document Case and Index

        • Now, Where Were We?

        • Browsing and Filtering Views of Literary Pieces

        • Summary

      • Chapter 7: Becoming an Expert Drupal Themer

        • On to Theming

        • Standing on the Shoulders of Giants—Reusing the Zen Theme

        • Summary

    • Part III: Upgrading Your Drupal Site

      • Chapter 8: Upgrading to Drupal 6

        • Recommended Reading

        • Upgrading — The Basic Process

        • Step 1: Shifting Everything over to a Test Site

        • Step 2: Updating to the Latest Drupal 5.x Version Available

        • Step 3: Testing Everything in the Upgraded 5.x Version

        • Step 4: Making a Module Inventory

        • Step 5: Switching to the Default Drupal Theme

        • Step 6: Disabling All Contributed Modules

        • Step 7: Updating the Drupal Core

        • Step 8a: Enabling the Modules

        • Step 8b: Upgrading the Theme

        • Step 9: Re-running All Site Acceptance Tests

        • Step 10: Deploying

        • Summary

      • Chapter 9: Upgrading to Drupal 6 Revisited

        • Update Everything to the Latest Drupal 5.x Version

        • Module Inventory for the On-Line Literary Workshop

        • Preparatory Steps before the Point of No Return

        • Physically Replacing the Drupal 5 Contributed Modules

        • Update Drupal Core and Run the Update Script

        • Solving Problems with Organic Groups

        • Getting the Old Views Back

        • Installing the Advanced Help Module

        • Upgrading Your Zen Theme to Drupal 6.x

        • The All-New Devel Module

        • Committing and Deploying to the Test Site

        • Summary

    • Part IV: Getting the Most out of Drupal 6.x

      • Chapter 10: Installing and Using Drupal 6 Fresh out of the Box

        • Step 1: Installing Drupal — Easier Than Ever Before

        • Step 2: Designing and Building the Architecture

        • Step 3: Creating the Business Objects

        • Step 4: Creating the Workflows

        • Summary

      • Chapter 11: Full Swing Agile Approach to Drupal Development

        • Honing the Project Tools

        • Implementing the User Stories

        • On-Line Blog Functionality

        • Summary

      • Chapter 12: The jQuery Chapter

        • Anatomy of a Rich Internet Application Framework

        • Anatomy of jQuery and Its Plug-Ins

        • Drupal 5.x Uses of jQuery and Other JavaScript Libraries

        • Advanced Drupal 5.x Examples

        • Validate, Validate, Validate!

        • Drupal 6.x jQuery Breakthrough

        • Summary

    • Part V: Drupal 7 and the Road Ahead

      • Chapter 13: From Drupal 6 to Drupal 7 and Beyond

        • What’s Changed in Drupal 6?

        • Killing the Webmaster

        • Understanding the Drupal Blueprint from Drupal 7 On

        • Making the Historic Decision to Postpone the Drupal 7 Code Freeze

        • Listing the Drupal 7 Features

        • Drupal 7 Architectural Style

        • Projecting Drupal 7 Contributed Module Battle Plans

        • Installing Drupal 7

        • Developing a Minimalist On-Line Literary Workshop in Drupal 7

        • Creating Literary Pieces

        • Summary

      • Chapter 14: Deploying your Application as a Drupal Installation Profile

        • Leveraging the Advanced Help Module

        • Installing Profiles! Kill the Webmaster!

        • Writing the On-Line Literary Workshop Installation Profile

        • Summary

      • Chapter 15: Acquia Drupal as an Enterprise-Ready Alternative

        • Trying out Acquia Drupal

        • Exploring the New Acquia Drupal Website Installation

        • Installing Updates

        • Introducing the Acquia Marina Theme

        • Checking out Mollom

        • Using the Acquia Partner Program

        • Summary

    • Index

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan