The Blog

My Toughts

Nested dropdown implementing indonesia region

Nested dropdown implementing indonesia region

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

Search on Eloquent Relationships

Search on Eloquent Relationships

Mostly we use filters and scopes directly on our eloquent model. Also, it’s possible we want to return a dataset based on the relationships connected our model. In this post, we want to review a basic concept of “nested” search on eloquent relationships.   The Basic Concept...

Read More