The Blog

My Toughts

Impersonating Other User

Impersonating Other User

Introduction Impersonate is quite a handy feature in some applications. It allows you to choose from a list of users and to impersonate them, in order to see the application from their point of view, without having to log out and log in again. For example, as an administrator you want to recreate a...

Read More

Indonesian Region Including Migrations And Seeder

Indonesian Region Including Migrations And Seeder

chained combobox/dropdown  yang saling terkait atau berantai. Contoh paling sering digunakan adalah pemilihan provinsi pada form. Di mana, ketika provinsi dipilih, maka akan menampilkan kota/kabupaten yang ada dalam provinsi tersebut. Hal yang sama juga terjadi ketika kita memilih kota/kabupate...

Read More

Simplify Your Life With an SSH Config File

Simplify Your Life With an SSH Config File

If you're anything like me, you probably log in and out of a half dozen remote servers (or these days, local virtual machines) on a daily basis. And if you're even more like me, you have trouble remembering all of the various usernames, remote addresses and command line options for things...

Read More

What is Laravel based APIs?

What is Laravel based APIs?

Developing APIs are getting more and more popular, but still, it’s a bit blurry field for many developers.  We collected some common questions and tried to answer them in one place. 01. What are APIs in general? Wikipedia provides a helpful and understandable description of AP...

Read More

Refactoring Logic to Eloquent Events

Refactoring Logic to Eloquent Events

Working with larger models, the interface where we interact with our models easily can become large and hard to read. If it’s possible, reorganizing some steps may keep cleaner our controllers, services or repositories we use.   About Eloquent events in general Eloquent is the Act...

Read More