I have never done this in the past 11 years of blogging, this time it is going to be different. I am listing the 5 most viewed posts from this blog in 2018. All posts are not from 2018 but they have been viewed more than the others. I am using my Google Analytics stats to compile this list. So, here I present the most popular blog posts of 2018 on Geshan.com.np:
This post was published just 10 days back but I garnered a lot of views. The post highlights:
Use SQL to do math like sum, average etc. Utilize it for grouping one to many relational values like getting categories of product. Leverage SQL for string manipulation like using CONCAT_WS for concating first name and last name. Exploit SQL to sort by a custom priority formula.
Another post from this December that got pretty popular in past weeks. This post is about how docker has changed software engineering in the past 5 years. The post can be summarized as:
With Docker, you ship the whole stack not only your code. Allocate minimum required resources to containers then scale them horizontally. With containers security generally already comes baked In. With Docker and Kubernetes you can get zero downtime and faster deployments leading to business profit.
This is another post about Docker, it is from May 2017. This piece was also able to gather a good amount of views. The post advocates:
Use docker and docker-compose with external_links to reuse services like a database across multiple projects. Using Ngnix proxy with virtual hosts can simplify multi-project setup and operation.
This is a post about git from 2016. It also got many hits this year probably due to some search engine traffic. Mainly the post can be summarized at
Keep your changes small. Rebase your working branch with main branch often. And, review pull requests faster and merge them to main branch.
This is a post from Oct this year about Microservice and how to not code it like a Monolith. This post was also able to get some views from different sources. The post mainly advocates:
Microservices are small software systems. You can safely ditch MVC. Say no to ORM and also not take the design pattern baggage for microservices. Focus on code performance, readability, and maintainability not some old rules and patterns. Those patterns were made when people were not doing microservices.
Looks like docker has been a popular topic for this year. Probably I would blog more about it next year too. I have started cross-posting my posts to Dev.to and medium publications like FreeCodeCamp and HackerNoon. I hope these posts help more and more people.