Guru on Rails

A day a problem solved, a year we become the Pro

Mon 27 Jan 2020

Best Practices Microservices

Microservice is a very popular architecture but I don't see many tutorials on internet. So let's me show you what we can do with Microservice. We don't need to do big things. It's like when we solv...


Mon 27 Jan 2020

Microservices

Concepts Nowaday we are familiar with web framework such as Diango, Ruby on Rails, Spring etc. They are using MVC (Model-View-Controller) pattern. That inspired developers a lot and speed up our de...


Sun 26 Jan 2020

Data Structures Problem Solving Algorithms

Breadth First Search If you have not known Breadth First Search yet: https://en.wikipedia.org/wiki/Breadth-first_search This is a traditional algorithms we should know cause it would be an efficien...


Sat 18 Jan 2020

Ruby on Rails Performance

How do people work good in the morning and performance decreases gradually until Evening? If we don't mention the spirit cause computers don't have it (lol), so the cause is the amount of workload....


Sat 04 Jan 2020

Data Structures Ruby on Rails Best Practices

In order to design this function we need to know self-join technique first. Now let's have a look. 1. Self-join SELECT employees.*, managers.name as manager FROM users as employees JOIN users as m...


Fri 03 Jan 2020

Design Patterns

Developing methods of class for other classes to use, that is interface. Interfaces should not change time by time. Because that is what the other classes know about this class. Those are also conn...


Wed 01 Jan 2020

Best Practices Ruby on Rails Design Patterns

I have been coding for many years. I read many books about clean coding and practising them myself. I found that the rule for clean code is Decoupling. Another the name is Isolation. You might know...


Wed 01 Jan 2020

AngularJS Javascript Ruby on Rails

Imagine that we have a rails application which have been running for more than six year. Suddenly, we have a requirement about realtime feature. We have two choices. The first one is using third pa...


Mon 30 Dec 2019

Mindset

This is my perspective about Leadership. I have joined many companies so far and I do understand that Leadership is a very important factor making impacts to the company's culture. So why I said th...


Thu 18 Jul 2019

Best Practices Performance SQL

If we work on a complex system, queries are pretty complex with a ton of subqueries, we would encounter the problem of optimization of query. In order to achieve a goal, we have many ways to do. So...