Programmer's Guide to Drupal: Principles, Practices, and by Jennifer Hodgdon

By Jennifer Hodgdon

In case you are an online programmer new to Drupal, this e-book exhibits you which ones programming concepts you should use - and that you may still steer clear of - whilst development customized internet functions with this content material administration framework. Drupal has its personal set of programming rules that require a special technique, and plenty of programmers make error while hoping on talents they have used for different initiatives. the ideas during this ebook assist you during the transition by means of demonstrating which programming practices comply with the "Drupal way," and which do not.

Show description

Read or Download Programmer's Guide to Drupal: Principles, Practices, and Pitfalls PDF

Similar web programming books

Learning Ext JS 3.2

The e-book offers lots of enjoyable instance code and screenshots to lead you thru the construction of examples to help with studying. through taking a chapter-by-chapter examine each one significant point of the Ext JS framework, the booklet permits you to digest the to be had good points in small, simply comprehensible chunks, permitting you to begin utilizing the library in your improvement wishes instantly.

Foundation Flex for Developers: Data-Driven Applications with PHP, ASP.NET, ColdFusion, and LCDS

Flex is crucial and flexible expertise for growing internet software front-ends. yet what each solid net program wishes is a strong info resource, be it XML, or a database. Flex is especially adaptable when it comes to connecting to information assets, and that's the major concentration of this e-book. In origin Flex for builders, writer Sas Jacobs assumes that you have got the fundamentals of Flex down already, and explores intimately the right way to create specialist data-centric Flex 2 and Flex three functions.

Dynamic Web programming and HTML5

With corporations and contributors more and more depending on the net, the necessity for useful, well-trained internet builders and maintainers is turning out to be. aiding readers grasp net improvement, Dynamic internet Programming and HTML5 covers particular internet programming languages, APIs, and coding ideas and gives an in-depth realizing of the underlying suggestions, concept, and ideas.

Beginning HTML5 Media: Make the most of the new video and audio standards for the Web

Starting HTML5 Media, moment version is a finished creation to HTML5 video and audio. The HTML5 video ordinary permits browsers to help audio and video parts natively. This makes it really easy for internet builders to submit audio and video, integrating either in the normal presentation of websites.

Additional info for Programmer's Guide to Drupal: Principles, Practices, and Pitfalls

Sample text

If your theme doesn’t have a region that would allow you to put the content where you want it, add a region to your theme. If the block system is not flexible enough, the contributed Context module provides much more flex‐ ibility (it lets you define conditions that will display certain blocks to certain users on certain pages; if it does not completely cover your needs, it is also possible to create add-ons to provide more conditions and responses. Some people prefer to build page layouts with the contributed Panels module rather than using Context.

The Drupal usability team has done usability studies and proposed changes that have greatly improved the usability of Drupal—there was a large usability push for Drupal version 7, and this is expected to continue through future versions of Drupal. At times, usability and accessibility can be at odds. For instance, usability studies might show that a drag-and-drop interface for ordering menu items is much faster and more intuitive than an interface where you assign numerical weights to define the order, but blind users and users who have mobility limitations that preclude use of a mouse cannot use drag-and-drop interfaces, so the drag-and-drop interface has accessibility problems.

Both of these steps must be done carefully. In the database storage step, you need to be concerned about SQL injection attacks— malicious users could attempt to provide input that would, for instance, end the query you were using to add the data to the database, and run a query of their choice. If you use the Drupal database API correctly, however, all user-provided input will either be put into the query using placeholders or as arguments to safe methods such as condition(), and the integrity of your database will be protected.

Download PDF sample

Rated 4.09 of 5 – based on 42 votes