Content imports and exports with Drupal, WordPress and WXR

Submitted by dryer on Tue, 10/06/2015 - 18:43

On the internet information is free, but still locked down in relational database formats of CMSes like Drupal or WordPress. Exporting and importing content can be a chore, but agreeing on a proven format will help content migration projects.

WordPress Extended RSS is an extension to the RSS format and could be a universal language for content migrations. It is widely deployed in the WordPress world and offers enough structure for migrating common content structures like news articles and content pages.

Drupal 8 REST API and Isomorphic JavaScript (Universal with React, Angular 2)

Submitted by dryer on Tue, 09/08/2015 - 18:36

The word is out. Headless Drupal with a REST API, is not the future. You're better off rendering your initial view on the server side. The wheel has been reinvented. This is called Isomorphic or Universal Javascript. The jury is still out on what title is the best. But Isomorphic JavaScript, introduced way back in 2013 by AirBNB and others holds some advantages.

Drupal 8 might be the last version of Drupal

Submitted by dryer on Fri, 08/21/2015 - 18:32

We're well into 2015 and it seems that at the PHP 7 crew is holding on to their promise of releasing PHP on time this year. A few days back the PHP team tagged Release Candidate 1 for PHP 7 for release. This is a first sign of an actual release, since there is nothing stopping the PHP 7.0.0 RC1 being the release that actually ships. Probably it won't. but it's looking very good.


Drupal 8 Technical Debt

Submitted by dryer on Wed, 08/19/2015 - 18:29

Drupal 8 is released soon and it's a great improvement, but still has some technical debt. There has been improvement in it, but there is plenty of legacy legacy left in the code base:

Projects with large codebases, such as WordPress or Drupal, are always going to have more technical debt than small projects such as Silex or Twig. However, large projects usually have lots of contributing developers and thus, technical debt could be more easily assessed on large projects.

3rd Party domain Robots.txt blocking JavaScript, CSS - Limited indexing and Google Search Console warnings

Submitted by dryer on Wed, 07/29/2015 - 19:11

Google has sent warnings about about subpar results for search indexing if your robots.txt blocks CSS or JS. GoogleBot is very capable at excecuting JavaScript nowadays, so the reason for this is clear.

If you've got dynamic content generated by JavaScript (which is blocked) then GoogleBot will respect the robots.txt block and thus will not be able to display content:


Drupal 7 vs. Drupal 8 performance benchmarks (with PHP 7 and 5.6)

Submitted by dryer on Tue, 06/16/2015 - 17:50

Drupal 8 is a great leap forward in terms of architecture for the system. It is also advertised as being the fastest Drupal ever. This may be true when all the caching mechanisms such as Bigpipe rendering are in use, but what about for raw performance?

For logged in users without caching the situation seems dire for Drupal 8, with Drupal 7 on PHP 5.6 delivering pager over twice at the rate of Drupal 8 using the fastest PHP runtime, PHP 7: