Pro Drupal 7 development by Todd Tomlinson

By Todd Tomlinson

Presents details on utilizing the open resource content material administration framework to create internet sites.

summary: presents info on utilizing the open resource content material administration framework to create sites

Show description

Read Online or Download Pro Drupal 7 development PDF

Best web programming books

Learning Ext JS 3.2

The publication offers lots of enjoyable instance code and screenshots to lead you thru the construction of examples to aid with studying. via taking a chapter-by-chapter examine each one significant element of the Ext JS framework, the publication allows you to digest the on hand gains in small, simply comprehensible chunks, permitting you to begin utilizing the library on 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 developing net program 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 ebook. In beginning Flex for builders, writer Sas Jacobs assumes that you have got the fundamentals of Flex down already, and explores intimately how you can create specialist data-centric Flex 2 and Flex three purposes.

Dynamic Web programming and HTML5

With agencies and members more and more depending on the net, the necessity for powerfuble, well-trained internet builders and maintainers is growing to be. supporting readers grasp internet improvement, Dynamic net Programming and HTML5 covers particular net programming languages, APIs, and coding suggestions and offers an in-depth realizing of the underlying ideas, concept, and rules.

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

Starting HTML5 Media, moment variation is a accomplished creation to HTML5 video and audio. The HTML5 video normal permits browsers to aid audio and video components natively. This makes it really easy for internet builders to submit audio and video, integrating either in the common presentation of websites.

Extra resources for Pro Drupal 7 development

Example text

Org. Here you’ll find detailed documentation on every API that Drupal provides. org. It’s an invaluable resource for those of us who develop or modify modules. After a blank line, we add a longer description aimed at programmers who will be examining (and no doubt improving) our code. org/coding-standards#phptags). ■ Note Why are we being so picky about how everything is structured? It’s because when hundreds of people from around the world work together on a project, it saves time when everyone does things one standard way.

In the case of our annotations field, the name of the table is field_data_annotations. We’ll cover additional details about the Field API in Chapter 4. Defining Your Own Administration Section Drupal has several categories of administrative settings—such as content management and user management—that appear on the Configuration page. If your module needs a category of its own, you can create that category easily. ” To do so, we used the module’s menu hook to define the new category: /** * Implementation of hook_menu().

In the hook_install function, I’ll check to see if the field exists using the Field API, and if it doesn’t, I’ll create the annotation field. php /** * Implements hook_install() */ function annotate_install() { // Check to see if annotation field exists. $field = field_info_field('annotation'); // if the annotation field does not exist then create it if (empty($field)) { $field = array( 'field_name' => 'annotation', 'type' => 'text_with_summary', 'entity_types' => array('node'), 'translatable' => TRUE, ); $field = field_create_field($field); } } The next step is to create the uninstall function using hook_uninstall.

Download PDF sample

Rated 4.17 of 5 – based on 34 votes