We all know YAML is "a human friendly data serialization standard for all programming languages".
In such a time, i want to place blocks in sidebar region with the dynamic weight. It means the blocks should render in different position for each page request.
I needed a way to check the currect user has permission to view the currect/particular page, Searched lot finally got the exact way, going to show the tricks to you in this blog.
Most of the times developers don't like the GUI, It makes feel lazy. Drupal has a tool (Drush) to do some management work from command line.
Drupal have proper UI to create nodes but programmer should know to create a node programmatically, It might need in a custom module or any scripts.