Latest news

KnackForge: How to update Drupal 8 core?

How to update Drupal 8 core?

Let's see how to update your Drupal site between 8.x.x minor and patch versions. For example, from 8.1.2 to 8.1.3, or from 8.3.5 to 8.4.0. I hope this will help you.

  • If you are upgrading to Drupal version x.y.z

           x -> is known as the major version number

           y -> is known as the minor version number

           z -> is known as the patch version number.

Sat, 03/24/2018 - 10:31

Chapter Three: How to Prevent Duplicate Terms During a Drupal 8 Migration

In this post I will show a custom process plugin that I created to migrate taxonomy terms. The plugin handles the creation of new terms and prevents duplicates.

Below is a portion of the migration template. In the example, I am migrating new terms into keywords vocabulary via field_keywords field.

field_keywords: - plugin: existing_term # Destination (Drupal) vocabulary name vocabulary: keywords # Source query should return term name source: term_name - plugin: skip_on_empty method: row

This is the source code for the process plugin.

DrupalEasy: DrupalEasy Podcast 196 - Ryan's Ace(?) in the Hole - Paragraphs Module

Direct .mp3 file download.

Ryan Price and Mike Anello discuss the pros and cons of the Paragraphs module, including using it for layout and/or information architecture. Ryan takes the discussion in unexpected directions by bringing up Pattern Lab as a prototyping tool and his mysterious "Ace in the Hole" (which Mike feels is more like a Jack of spades). In addition, there's some discussion about a new-ish feature in the Migrate Plus module that is sure to make migration developers happy.

Interview News DrupalEasy News Sponsors Upcoming Events Follow us on Twitter Subscribe

Subscribe to our podcast on iTunes, Google Play or Miro. Listen to our podcast on Stitcher.

If you'd like to leave us a voicemail, call 321-396-2340. Please keep in mind that we might play your voicemail during one of our future podcasts. Feel free to call in with suggestions, rants, questions, or corrections. If you'd rather just send us an email, please use our contact page.

Event: Conference on the Global Pact for the Environment

The Columbia Center on Sustainable Investment, the Sustainable Development Solutions Network (SDSN), and Laurent Fabius, President of the Constitutional Council of the French Republic, will host this one-day conference to discuss the draft for a Global Pact for the Environment. In its November 2015 report titled, 'Increasing the Effectiveness of International Environmental Law: Duties of States, Rights of Individuals,' the Environmental Commission of Le Club des Juristes (CDJ) proposed the adoption of a Global Pact for the Environment to serve as a binding, universal “umbrella text” synthesizing the principles outlined in the Rio Declaration on Environment and Development, the Earth Charter, the World Charter for Nature, and other instruments shaping environmental governance. Subsequently, a draft pact was developed and presented to an event in Paris in June 2017, during which French President Emmanuel Macron promised to present the draft to the UN in September.
Source: IISD's SDG Knowledge Hub

Mediacurrent: TypeScript and Drupal.behaviors

Back in June some of our crew attended Dinosaur JS conference in Denver, CO.

There were talks ranging from V8’s JS optimization (even had some assembly language slides in there) to demonstrating the creation of an homage to an abstract artist with JavaScript code.

This all got me thinking about TypeScript, Closure compiler, etc... and JS performance and development in general. But I have to admit, I was struggling to see how these technologies could benefit us in Drupal since most of our JS is done in Drupal.behaviors.
 

Anubavam LLC: Building web services with Drupal 7

Building web services with Drupal 7

A web service is a software system designed to support interoperable machine-to-machine interaction over a network. Web services is a well-defined way for two computers to communicate with each other over the internet. 

Drupal web services is always a good option for you

In Drupal, web service is being used to communicate with other web applications or mobile applications. Content can be shared and easily integrated with other applications as well. 

Why use web services in Drupal?

Web services are useful because they present us with an architecture where a resource on a site (an image, textual content, such as a node ID or block ID, a video or audio file) is given a unique identifier. 

Use cases 

For example, in Drupal, every node has an ID. Every file you upload to a Drupal site also has a unique path to it.

This is extremely useful since all applications share this common semantic standard. We name things similarly on all of our web applications. 

Drupal services and real world examples

Here are some examples, perhaps we have to build a product site and they are developing a app for that product site in mobile, then we can pass data from web to mobile app using the web service.  For example if the HR Department wants to integrate its job postings and applications with another web application such as job portals, web services can make this happen.

Advantages of Drupal web development services you can’t ignore

This leads to another advantage of using web services with Drupal and why we would choose to use Drupal in the first place. Instead of having to upload our photos twice—once to our Drupal site and then repeating the procedure to our some other applications, services allows us to upload the images to our Drupal site once and then automatically send that data over to other application which wants without having to upload one (or even a batch of images) again. It saves us time and speeds up the entire process of generating web-based content.

Building web services for Drupal 7

Drupal can use web services following any of the protocols mentioned earlier, including XML-RPC, REST, and SOAP. Drupal can consume web services by requesting data from other web applications using RSS and XML-formatted requests. As a Drupal developer, you can write your own service code in Drupal using PHP. You can also use the Services module as well as other service-specific contributed modules to create these web service requests.

Service module supports multiple interfaces like REST, XMLRPC, JSON, JSON-RPC, SOAP, AMF and more.

Make use of Drupal Services module for:

  • Integration with core Drupal functionality like files, nodes, taxonomy, users, files and more.
  • Response format API allows you to define response Formats for CONTENT-TYPE ie. application/json or application/xml. (also calls such as ENDPOINT/node/1.json work)

Additionally, all the communication between services, in our example between a client and a server, happens over HTTP (the standard web protocol). This is a uniform protocol that is used for transport and communication of the service. All transports take place uniformly using GET, POST, PUT, and DELETE requests, for example.

The HTTP requests are stand alone and occurs at one given moment and is isolated from all other activated requests. If HTTP requests works and gets a response, it succeeds. If HTTP requests doesn’t get response from the server or application it's communicating with, it fails. The requests can be repeated an infinite number of times.
 

admin Fri, 08/18/2017 - 08:52 Drupal Drupal Development Drupal developer Drupal Application Development

El mercado: herramienta para reducir emisiones de GEI

Source: Animal Político - Implementar un Sistema de Comercio de Emisiones posicionaría a México como la primera economía en desarrollo en considerar al mercado como una herramienta para lograr un desarrollo de bajo carbono y el crecimiento del Producto Interno Bruto.

La Reserva de la Biosfera La Palma hará un seguimiento de los indicadores del cambio climático en el ecosistema insular

Source: La Palma Ahora - Ha presentado un proyecto a la Fundación Biodiversidad que pretende asimismo generar material divulgativo que logre una mayor conciencia y sensibilidad de la ciudadanía respecto a este fenómeno.

WWF pide un consumo de energía responsable ante el calor y visitar su web 'eurotopten' de electrodomésticos eficientes

Source: Europa Press - La organización WWF ha pedido un consumo responsable ante la subida de las temperaturas y ha recomendado visitar su web www.eurotopten.es, en la que aconsejan a los consumidores sobre los equipos electrónicos "más eficientes", con el objetivo de reducir las emisiones de gases de efecto invernadero (GEI), que aceleran el cambio climático, según ha informado la ONG.

Gobierno (argentino) lanza convocatoria para generar energía de fuentes renovables

Source: El Cronista - Así lo dispuso mediante una resolución publicada hoy en el Boletín Oficial. Se licitan 1200 MW, de los que un 45,83% corresponde a energía eólica, 37,5% a energía solar y 8,3% a biomasa, entre otros.

Pages