skip to content
Programmer's guide to Drupal Preview this item
ClosePreview this item
Checking...

Programmer's guide to Drupal

Author: Jennifer Hodgdon
Publisher: Sebastopol, CA : O'Reilly, [2016] ©2016
Edition/Format:   eBook : Document : English : Second editionView all editions and formats
Summary:
If you're a web programmer, your experiences have taught you certain lessons-and only some of them apply well to Drupal. Drupal has its own set of programming principles that require a different approach, and many programmers make mistakes when relying on skills they've used for other projects. This book will show you which programming techniques you can use-and which you should avoid-when building web applications  Read more...
Rating:

(not yet rated) 0 with reviews - Be the first.

Subjects
More like this

 

Find a copy online

Links to this item

Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...

Details

Genre/Form: Electronic books
Additional Physical Format: (OCoLC)887867844
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Jennifer Hodgdon
ISBN: 9781491911440 1491911441 9781491912621 1491912626
OCLC Number: 925478218
Notes: Includes index.
Description: 1 online resource
Contents: Copyright; Table of Contents; Preface; Intended Audience; How to Use This Book; Drupal Versions; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1. Overview of Drupal; What Is Drupal?; Drupal Core; Drupal Add-Ons: Modules, Themes, Distributions, and Translations; The Evolution of Drupal; How Drupal Handles HTTP Requests; HTTP Request Handling in Drupal 7; HTTP Request Handling in Drupal 8; The Drupal Cache; Drupal 7 Cache API; Drupal 8 Cache API; Automatic Class Loading in Drupal; Chapter 2. Drupal Programming Principles. Principle: Drupal Is AlterableSetting Up a Module or Theme; The Basics of Module and Theme Hook Programming; Making Your Module Output Themeable; The Basics of Drupal 8 Plugin Programming; Drupal 8 Services and Dependency Injection; Interacting with the Drupal 8 Event System; Principle: Drupal Separates Content, Configuration, and State Data; Information Storage in Drupal 7; Information Separation in Drupal 8; Configuration API in Drupal 8; State API in Drupal 8; Principle: Drupal Is International; Internationalizing User Interface Text; Internationalizing User-Entered Text in Drupal 7. Internationalizing User-Entered Text in Drupal 8Principle: Drupal Is Accessible and Usable; Principle: Drupal Is Database-Independent; Setting Up Database Tables: Schema API and hook_update_N(); Querying the Database with the Database API; Principle: Drupal Is Secure; User Input Is Insecure; Cleansing and Checking User-Provided Input; Checking Drupal Permissions; Principle: Drupal Code Is Tested and Documented; Chapter 3. Common Drupal Programming Mistakes; Mistake: Programming Too Much; Avoiding Custom Programming with Fielded Data; Defining Theme Regions for Block Placement. Mistake: Overexecuting CodeMistake: Executing Code on Every Page Load; Mistake: Using an Overly General Hook; Mistake: Saving PHP Code in the Database; Mistake: Working Alone; Participating in Groups and IRC; Reporting Issues and Contributing Code to the Drupal Community; Contributing to the Drupal Community in Other Ways; Chapter 4. Drupal Programming Examples; Registering for URLs and Displaying Content; Registering for a URL in Drupal 7; Altering a URL Registration in Drupal 7; Registering for a URL in Drupal 8; Providing Administrative Links. Altering Routes and Providing Dynamic Routes in Drupal 8Registering a Block in Drupal 7; Registering a Block in Drupal 8; Creating Render Arrays for Page and Block Output; Render Arrays in Drupal 8; Generating Paged Output; Using the Drupal Form API; Form Arrays, Form State Arrays, and Form State Objects; Basic Form Generation and Processing in Drupal 7; Basic Form Generation and Processing in Drupal 8; Creating Confirmation Forms; Adding Autocomplete to Forms; Altering Forms; Programming with Ajax in Drupal; Setting Up a Form for Ajax; Wrapper-Based Ajax Callback Functions.
Responsibility: Jennifer Hodgdon.

Abstract:

Updated to cover both Drupal 7 and Drupal 8, the guidelines in this book demonstrate which programming practices conform to the "Drupal way" and which don't. The book also serves as an excellent  Read more...

Reviews

User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...

Tags

Be the first.
Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data


Primary Entity

<http://www.worldcat.org/oclc/925478218> # Programmer's guide to Drupal
    a schema:CreativeWork, schema:Book, schema:MediaObject ;
   library:oclcnum "925478218" ;
   library:placeOfPublication <http://id.loc.gov/vocabulary/countries/cau> ;
   rdfs:comment "Warning: This malformed URI has been treated as a string - 'http://images.contentreserve.com/ImageType-100/2858-1/{1C733239-9A37-434D-9CD9-97EB2B1FCC71}Img100.jpg'" ;
   schema:about <http://experiment.worldcat.org/entity/work/data/1180565692#CreativeWork/drupal_computer_file> ; # Drupal (Computer file)
   schema:about <http://experiment.worldcat.org/entity/work/data/1180565692#Topic/web_sites_authoring_programs> ; # Web sites--Authoring programs
   schema:about <http://experiment.worldcat.org/entity/work/data/1180565692#Topic/web_site_development> ; # Web site development
   schema:about <http://dewey.info/class/006.78/e23/> ;
   schema:about <http://experiment.worldcat.org/entity/work/data/1180565692#Topic/computers_general> ; # COMPUTERS / General
   schema:author <http://experiment.worldcat.org/entity/work/data/1180565692#Person/hodgdon_jennifer> ; # Jennifer Hodgdon
   schema:bookEdition "Second edition." ;
   schema:bookFormat schema:EBook ;
   schema:datePublished "2016" ;
   schema:description "Copyright; Table of Contents; Preface; Intended Audience; How to Use This Book; Drupal Versions; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1. Overview of Drupal; What Is Drupal?; Drupal Core; Drupal Add-Ons: Modules, Themes, Distributions, and Translations; The Evolution of Drupal; How Drupal Handles HTTP Requests; HTTP Request Handling in Drupal 7; HTTP Request Handling in Drupal 8; The Drupal Cache; Drupal 7 Cache API; Drupal 8 Cache API; Automatic Class Loading in Drupal; Chapter 2. Drupal Programming Principles."@en ;
   schema:exampleOfWork <http://worldcat.org/entity/work/id/1180565692> ;
   schema:genre "Electronic books"@en ;
   schema:inLanguage "en" ;
   schema:isSimilarTo <http://www.worldcat.org/oclc/887867844> ;
   schema:name "Programmer's guide to Drupal"@en ;
   schema:productID "925478218" ;
   schema:url <https://www.overdrive.com/search?q=1C733239-9A37-434D-9CD9-97EB2B1FCC71> ;
   schema:url "http://images.contentreserve.com/ImageType-100/2858-1/{1C733239-9A37-434D-9CD9-97EB2B1FCC71}Img100.jpg" ;
   schema:url <http://samples.overdrive.com/?crid=1c733239-9a37-434d-9cd9-97eb2b1fcc71&.epub-sample.overdrive.com> ;
   schema:url <http://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&db=nlabk&AN=1081550> ;
   schema:url <http://public.eblib.com/choice/publicfullrecord.aspx?p=4333756> ;
   schema:workExample <http://worldcat.org/isbn/9781491912621> ;
   schema:workExample <http://worldcat.org/isbn/9781491911440> ;
   wdrs:describedby <http://www.worldcat.org/title/-/oclc/925478218> ;
    .


Related Entities

<http://experiment.worldcat.org/entity/work/data/1180565692#Person/hodgdon_jennifer> # Jennifer Hodgdon
    a schema:Person ;
   schema:familyName "Hodgdon" ;
   schema:givenName "Jennifer" ;
   schema:name "Jennifer Hodgdon" ;
    .

<http://experiment.worldcat.org/entity/work/data/1180565692#Topic/computers_general> # COMPUTERS / General
    a schema:Intangible ;
   schema:name "COMPUTERS / General"@en ;
    .

<http://experiment.worldcat.org/entity/work/data/1180565692#Topic/web_site_development> # Web site development
    a schema:Intangible ;
   schema:name "Web site development"@en ;
    .

<http://experiment.worldcat.org/entity/work/data/1180565692#Topic/web_sites_authoring_programs> # Web sites--Authoring programs
    a schema:Intangible ;
   schema:name "Web sites--Authoring programs"@en ;
    .

<http://worldcat.org/isbn/9781491911440>
    a schema:ProductModel ;
   schema:isbn "1491911441" ;
   schema:isbn "9781491911440" ;
    .

<http://worldcat.org/isbn/9781491912621>
    a schema:ProductModel ;
   schema:isbn "1491912626" ;
   schema:isbn "9781491912621" ;
    .


Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.