Nu ook in het Nederlands.
 

clemens's blog

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. Click the image below using Chrome to see Drupal 8 in it's full glory (only if you have the power to consume a hefty animation). graph of drupal dependencies

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.

Just a trivial graph

A trivial graph
From a meeting we discussed the git workflow and I was curious what Graph API would do with it's Trivial Graph Format.

Convert D7 input filter into D8 plugin for Graph API

Trivial Graph Format for Graph API
Morphing Graph APIs Drupal 7 input filter 'Trivial Graph Format' aka hook_filter_info into a Drupal 8 plugin.

Can you dig it. Drupal nested array that is.

Spade Large

I sometime need to check arrays for their values dispersed around. Just dumping the array is OK when interested in a particular key or value. But what about those big info arrays from hook_token_info, hook_menu etc. This is what I did.

Routing discovery by Graph API

Image of _permission related to system module
How does the permission structure looks like for system.module? For this to visualize one needs to process system.routing.yml and

Pages

Subscribe to RSS - clemens's blog