Which route belongs to which path fragment?

Visualization some complex part of Drupal is helping understand Drupal better. This is about the menu tree using Graph Viz for a static SVG diagram and D3JS for a dynamic version.

The state of ReST in Headless Drupal 8

Drupal 8 ReST

One of the Drupal 8 initiatives was to make "headless" Drupal core work out of the box. Drupal now has a ReST API.

This allows you to use all the Drupal 8 features to edit your content but present the content not only on a Drupal frontend but also on mobile apps or anything else that can work with JSON data.

Using dreditor to triage issues

dreditor triage
For the mentoring sprint on friday @ https://amsterdam2014.drupal.org we'd like to use the dreditor tool plus one of its new pull request feature. To install this just visit https://dreditor.org/development/build and pick your browser icon from #93 Add support for stock responses (macro/templates). When it states 'Rebase needed' just ping ClemensTolboom @ irc as dreditor is still evolving.

Extending a Widget for numeric fields.

range versus number field
Looking for a HTML range field in Drupal 8 core I did not found one. First I tried to alter Number Widget but that was wrong. Just extend a suitable widget. The code is very short. But the display is not as good as one needs. Where is the min and max value? And the current value? The specs @ w3c html5 forms input range has some user agent rendering which does not give min, max or current value hints.

number field.

It's alive in space

Part of the dependency graph
Experimenting with the index file of https://github.com/clemens-tolboom/uml-generator-php lead to a nice animation.

Interested in ReST and HAL?

http://www.droidforums.net/galleries/photos/hal-9000.4475/
  1. Checkout the issue queue for HAL and ReST.
  2. Use the quickstart tool: https://github.com/build2be/drupal-rest-test.

Need HAL?

  1. Install HAL Browser on your site to see what we got till now.
  2. cd drupal-root

yUML as a service

With the online service http://yuml.me one can draw some UML Diagrams. Wouldn't it be great to build that into Drupal? Checkout the new yUML module.

fetch json and pretty print

json

While working on Deploy RestWS for D7 project issue JSON I needed a pretty print for the node.json and scanner done for Drush Issue Queue Commands Fix for the new json structure on d.o D7. Both issues as still open so help needed.

Doing some research I learned about the PHP context or more specific the HTTP stream context

At your Service Container

http://www.edtechmagazine.com/higher/sites/edtechmagazine.com.higher/files/imagecache/articlelarge/articles/2012/10/101212-2-300.png

As we all know Drupal 8 has lots of new stuff. One of these items is based on Dependency Injection and result in a new file stored at

sites/defaults/files/php/service_container/service_container_prod.php/e7000f005xxx.php
and created very early during the bootstrap of Drupal. But what is it's contents?

Knock knock who is calling

Knock knock

Who is calling my function so many times? With devel module and some probing using debug_backtrace and a nifty by ref variable it's a snap.