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?

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

Service discovery by Graph API

With Drupal 8 a lot is configured instead of programmed. So the key is to find out how it comes together. Graph API helps rendering these configurations.

A Drupal 8 git bisect exercise

git-bisect.png
Having a Drupal 8 site under development with a customer aware of the risk of loosing data I took the risk of fixing a broken Drupal 8 site. Today I did an code update and got the following welcome screen on http://drupal.dev
If you have just changed code (for example deployed a new module or moved an existing one) read http://drupal.org/documentation/rebuild
Additional uncaught exception thrown while handling exception.
Original

Do we need git squash and thus forced pushes?

Weird unnatural bug

As a followup on A pinch of Symfony for D8MI? why do we need to squash?

After some more squash and push -f attempts regarding pull request for Symfony I get the hang of it.

But chx said in squash is bad as we loose history on the development process.

So how should we do this on d.o when git phase 3 lands? Those discussion seems to got to a halt.

Views in Core - awesome UML route

http://quaker-animals.co.uk/wp-content/uploads/2009/11/20091106_40c350a90ef62bf318e6UMlAbPMfLZ2J-300x225.jpg

Playing around with Drupal 8 together with Graph API and Graph I generated this UML through admin/config/system/graphapi/uml/Drupal\views\Plugin\Core\Entity\View ... it has some rough edges still.

Tell us what you think of this UML Diagram and your needs to have on site information.

Langcodes and plural forms

We all know Drupal and Symfony do have multilingual support (i18n, l10n, pluralization). But do they match? Or do they equally well? How does one test this? This is what I did. I wanted to add tests for Symfonfy's PluralizationRules as there were none and I wanted to have support for PluralForms loading Drupals *.po files clean and simple. How hard can it be?!? These tests should cover:
  1. Langcodes. Are all known language codes available (or easy to add)?
  2. Parsing Gettext PluralForm rules like