JSON Web Tokens (JWT) for Drupal Core

Submitted by dryer on Mon, 06/13/2016 - 18:58

JWT (JSON Web Token) is a contemporary authentication method that is gaining popularity. Instead of sending back and forth cookies with each request, the JWT token is stored by the client and then sent to the server on each request.

Once the server receives the request with a token in the headers, then it is validated and the server then acts depending on if the user is considered valid or not. This is very commonly needed when working with a decoupled setup using GraphQL or RESTful APIs with rich front ends built with technologies such as Angular or React.js.

Angular 2 and Drupal communities collaborating on Weather Channel projects

Submitted by dryer on Thu, 05/26/2016 - 17:23

At the Angularconf 2016 Matt Davis from Mediacurrent discussed the collaboration between the Angular 2 and Drupal communities. Currently Drupal is missing a comprehensive front end framework and is looking at coupling together with Angular to provide a more contemporary administration editing interface.

In a world of Microservices is Drupal 8 an undesirable Swiss Army Knife?

Submitted by dryer on Mon, 04/18/2016 - 17:57

Drupal 8 has now been out for six months or so. Adoption looks to be faster than that of Drupal 7 was in it's time. But between January 2011 a lot of water has passed under the bridge. The world of web development is continually changing, but while Drupal 8 has done significant improvements it's still playing with the same hand as Drupal 7 did. Not only technology wise with old (but reliable) MySQL, PHP, jQuery, etc, but conceptually it's a somewhat of a relic.

Tags

Did Drupal and Drupalgeddon lead to Panama Papers leaks at Mossack Fonseca?

Submitted by dryer on Tue, 04/05/2016 - 17:28

Recently a giant information leak revealed a number of individuals practising tax evasion using the Panamanian company Mossack Fonseca. In wake of the stories revealing the culprits behind the evasion itself Forbes has done investigative journalism to find the reasons that lead to the leak itself.

The surprising suspect is Free Software. The championed tools that are related with freedom of speech and freedom from evil corporations are indeed used largely everywhere - for good and evil.

Drupal team working on Angular 2 Universal support for Twig / PHP

Submitted by dryer on Tue, 03/29/2016 - 17:36

Decoupling Drupal and working with a front end framework has been a hot topic in the Drupal Community for a while now. Dries Buytaert has discussed the prospects of different options, and has even credited the Angular 2 team for changing their licensing to be compatible with Drupal.

Why Drupal 7 is better for REST API / IoT /Decoupling than Drupal 8

Submitted by dryer on Sat, 03/26/2016 - 19:01

Drupal 8 is a leap forward in terms of architecture. It's a significant overhaul of the rather ancient imperative codebase from 2001 to something that is a mix of that and modern Object Oriented Programming methods familiar to developers using Java or other similar more advanced languages than PHP was fifteen years ago.

Drupal 8 and initial PHP-PM vs. PHP-FPM Benchmarks

Submitted by dryer on Sun, 03/13/2016 - 17:39

In early 2014 there was an interesting article on how to build high performance with PHP applications with ReactPHP. The original article discusses using the Full Stack Symfony Framework. Drupal 8 is built upon the Symfony HttpKernel component and other bits and pieces from that very same team.

SEO is harder than ever before

Submitted by dryer on Sat, 03/12/2016 - 17:44

Search Engine Optimisation (SEO) used to be quite easy. Essentially you just had to be aware of how Google works on a high level and make sure you had a few key things done right and you could be fairly confortable that you were getting results. It was especially easy for SEO consultants to shine because of much of the competition in some industries was still a bunch of sleeping beauties.