Headless Drupal: REST, Angular HTML5 History API and not found (404) pages

Submitted by dryer on Mon, 10/26/2015 - 18:50

Along with Drupal 8 release there has been a lot of noise made about headless Drupal with the REST API. Headless Drupal maybe a great choice for data driven use (such as web applications or mobile apps), but for content driven applications (web sites) a pure headless implementation offers little improvement over more traditional site building methods.

Tags

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.

Tags

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:

Tags