Review: Spring Boot Reference

TL;DR: Recommended?
Really good read! ⭐️⭐️⭐️⭐️⭐️️
Read Online as:

This reference by @phillip_webb is a really good in depth introduction into all details of spring boot. Even though it's not about spring-data and all the other spring projects, it always provides as much information, which is necessary to understand what's spring boots role in the play.

Continue reading ...

In java, read, spring, spring-boot by DracoBlue @ 10 Nov 2015 | 305 Words

Overview of JSON Hypermedia Link Formats

In 2011 mnot wrote about json linking. Now it's like 4 years later and time to take a look at the link formats in json, which are used by lots of people.

In HTML5 we have a <link> tag defined like this:

<link rel="author license" href="/about">

The attributes of this link are defined like this (taken from the W3C-page):

  • href — Address of the hyperlink
  • crossorigin — How the element handles crossorigin requests
  • rel — Relationship between the document containing the hyperlink and the destination resource
  • media — Applicable media
  • hreflang — Language of the linked resource
  • type — Hint for the type of the referenced resource
  • sizes — Sizes of the icons (for rel="icon")
  • Also, the title attribute has special semantics on this element: Title of the link; alternative style sheet set name.

The advantage of the <link> tag in XML is, that you could put it anywhere in your document (like the <a> tag in HTML). If you want to achieve web linking (rfc5988) in JSON, there are multiple approaches.

This post shows some of the widely used JSON media types and how they deal with links. I will have a short look at HAL, Collection+JSON, Hydra/JSON-LD, Mason, Siren and UBER. Example files for all of them are in this json links gist.

Continue reading ...

In api, api-design, hal, hateoas, hypermedia, json, json-hc, json-ld, link, mason, open source, uber by DracoBlue @ 23 Apr 2015 | 1376 Words

Using GlusterFS for high available storage on Ubuntu

With this setup we will make two servers using a shared storage as high availabile mount. Both of them host the data, if one of them is down, the other one will stay the source of truth for so long. Disadvantage of this approach is, that the files exist 4 times: at server1 and server2 each with /mnt/barrel (the mounted directory) + /var/glusterfs/barrel (the glusterfs working directory).

Install glusterfs server and client

On both machines run as root:

$ sudo apt-get install glusterfs-server glusterfs-client

This makes the glusterfs server available and will allows us to connect to the server later on.

Continue reading ...

In glusterfs, open source, ubuntu by DracoBlue @ 29 Sep 2014 | 303 Words

Use blocks for you CSS/SCSS

If you are working with SCSS/SASS, you might still wonder how to organize your CSS classes. The pre-SASS conventions like OOCSS seem not to be necessary in SCSS, since SCSS has mixins, placeholders and variables.

But there is one very powerful feature of SCSS, which we want to take advantage of now: inline sub selectors in selectors.

.b-post {
  .title {
    color: #f00;

    &:hover {
      color: #fff;

  &.is-new {
    background-color: #aaf;
Continue reading ...

In bem, css, open source, scss by DracoBlue @ 25 Jul 2014 | 620 Words

Set Sender/Reply-To for sendmail in PHP

Today I tried to configure the sender for sendmail in php. There are some ways how to do it, so I share my solution.

There is a sendmail_from setting in php cli and php fpm, but it is usually empty. So sendmail fallsback to user@hostname (given you are logged in as user and the machine is called hostname).

But I found a better way (maybe even easier to extend). Just change the sendmail_path to something with an extra -f noreply@example.org at the end.

Continue reading ...

In open source, php, sendmail, ubuntu by DracoBlue @ 09 Jul 2014 | 204 Words

Page 2 - Page 3 - Page 4

Recent Files


Recent Dev-Articles

Read recently