Have you ever wondered what template engine to use in Go?

Hello folks,

It has been a long time since we talked about performance in Go.

There is no secret that Go has support for a large amount of template syntax nowadays. However, we’ve seen zero articles on how each of them performs. Here we are.

Intro

In this article we will run simple, easy to understand, mini benchmarks to find out which template parser renders faster. …


Write a fast and modern mini todo application using Iris MVC and Vue.js

Vue.js is a front-end framework for building web applications using javascript. It has a blazing fast Virtual DOM renderer.

Iris is a back-end framework for building web applications using The Go Programming Language (disclaimer: author here). It’s one of the fastest and featured web frameworks out there. We wanna use this to serve our “todo service”.

The Tools

Programming Languages are just tools for us, but we need a safe, fast and “cross-platform” programming language to power our service.

Go is a rapidly growing open source programming language designed…


This is the part 2 of 2 in DropzoneJS + Go series.

DropzoneJS + Go: How to display existing files on server

In this tutorial, we will show you how to display existing files on the server when using DropzoneJS and Go. This tutorial is based on How to build a file upload form using DropzoneJS and Go. Make sure you have read it before proceeding to content in this tutorial.

Table Of Content

  • Preparation
  • Modify the Server side
  • Modify the Client side
  • References
  • The End

Preparation

Install the go package “github.com/nfnt/resize” with go get github.com/nfnt/resize


This is the part 1 of 2 in DropzoneJS + Go series.

DropzoneJS + Go: How to build a file upload form

DropzoneJS is an open source library that provides drag’n’drop file uploads with image previews. It is a great JavaScript library which actually does not even rely on JQuery.
In this tutorial, we are building a multiple file upload form using DropzoneJS, and the backend will be handled by Go and Iris.

Table Of Content

  • Preparation
  • Work with DropzoneJS
  • Work with Go

Preparation

  1. Download Go(Golang), setup your computer as shown there and continue to 2.


A Fair benchmark between Iris Golang and Kestrel .NET Core (C#).

Hello!

This article is the second in a row of the “Go vs .Net Core in terms of HTTP performance” series, you should really read the first article, if you didn’t already.

Prepare yourself a cup of coffee, or tea, whatever enjoys you the most!

About feedback

At this section I’ll try to give you a general idea about a part(the bad side) of the previous article’s reactions however you may don’t care at all or you’re not in the mood, therefore you may want to skip that and go straight…


Hello Friends!

Lately I’ve heard a lot of discussion around the new .NET Core and its performance especially on web servers.

I didn’t want to start comparing two different things, so I did patience for quite long for a more stable version.

This Monday, Microsoft announced the .NET Core version 2.0, so I feel ready to do it! Do you?

As we already mentioned, we will compare two identical things here, in terms of application, the expected response and the stability of their run times, so we will not try to put more things in the game like JSON or…


https://www.youtube.com/watch?v=Vs5CScPeMA0

Hello folks,

Yesterday I did manage to serve my web simple application from my android phone. By following some simple steps you can do it too, it’s ridiculous easy!

First of all I have to say that this experimental is tested and worked only with the Iris web framework, written in Golang and Android version 5.1.

Steps

Open your android device and follow the steps below.

  1. Install & open termux
  2. Execute the following commands by order
$ pkg install git
$ pkg install golang
$ export GOPATH=/data/data/com.termux/files/home/go
$ go get -u -v github.com/kataras/iris
$ cd /data/data/com.termux/files/home/go/src/github.com/kataras/iris/_examples/hello-world
$ go run main.go

3…


If you follow the social media sites like Twitter and Google+, you’ll have noticed that rather than use the full URL we use a nice friendly shortened one like t.co/EvDSyOOPTH.

Wouldn’t be great to have your own shortened URLs inside your own domain?

Let’s review the basics first.

The Tools

Programming Languages are just tools for us, but we need a safe, fast and “cross-platform” programming language to power our service.

Go is a rapidly growing open source programming language designed for building simple, fast, and reliable software. Take a look here which great companies use Go to power their services.

Install the Go Programming Language

Extensive…

Gerasimos Maropoulos

Back End Go Developer at PNOĒ. Self-taught developer with 12+ years of experience who loves programming languages. Author of the Iris Web Framework.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store