Hub
Menu
Sub navigation

About the Building process

This site is built on four pillars.

The main pillar is Go (or Golang). Not as common as it should be, but really simple. It replaces the need for Apache or Nginx (for a single website). It also serves all endpoints and some other stuff that normally is handled by PHP.

The second pillar is HTML templates. The Go HTML templates have a touch of Angular, but are way simpler, faster and smaller. The trick is to use "sub templates" in order to make it DRY (Do not Repeat Yourself). You can pass data from Go and between templates.

The third pillar is CSS. No extra presentation needed.Note the tips to get the CSS more DRY

The fourth pillar is Vanilla Javascript. NOT JQuery. In my opinion jQuery slows down and makes it harder to understand. I have found that AJAX will make some pages render better and simplify many things

This section is about how to build a site using Golang. The Go part is not big, but essential to the speed and simplicity.