Skip to main content

Posts

Improving Our Ignoring Skills

We live in a world full of information. Unfortunately, most of them are junk. As what Daniel Pink said on his book, "A Whole New Mind: Why Right-Brainers will Rule the World", abundance is one the three forces which changes our era to what he called "Conceptual Age". All people around the globe get wealthier, have more materials, buy more stuff, but not fulfilment. Looks rich from the outside, but not happier.
We need to differ the one which useful and the ones which don’t deserve our attention. Most of us nowadays are already aware of advertisement that pops up or shown at the sidebar. We already know that ads should be blocked using Chrome extensions such as AdBlock or any other similar stuff. Our unconscious mind tells us about how to not stare at the sales person’s eyes, how not to give a $hit. The small man that lays inside our head makes us reject the phone call from a number prefixed by 021-555 or any other similar phone number because we have a strong feel…
Recent posts

Learn Nested Set on Yii2 Framework

The nested set behaviour is an approach to store hierarchical data in relational databases. For example, if we have many categories for our product or items. One category can be a "parent" for other categories, means that one category consists of more than one category. The model can be drawn using a "tree" model. There are other approaches available but what we will learn in this article is specifically the NestedSetsBehavior made by  Alexander Kochetov, which utilizing the Modified Preorder Tree Traversal algorithm.

Install Yii2 framework advanced template
My assumption is that we have our standard installation of Yii2 framework advanced template. You can read more about advanced template from the repository page on Github: https://github.com/yiisoft/yii2-app-advanced. Make sure that our installation is working by calling the default URL localhost:8080 after running the following command

$ ./yii serve --docroot="backend/web"

We also need to make sure tha…

About Prabowo Murti

Assalaamu'alaykum.

Hello. My name is Prabowo Murti. This website is made to write all things about programming, business, religion (especially Islam), my family, minimalism, etc, basically anything that related to my journey in life. I will do my best to write all articles in English, not because I am good at it, but just for practice.



About Me I obtained my bachelor's degree in Computer Science from Gadjah Mada University. I love to read and write. I was born in a small town named Kubu Raya, in West Kalimantan. Now I live in Tangerang, Banten. Let's say I am proud to be a muslim and an Indonesian.

I believe that we can make this world a better place to live by our writings.

If you have any question, feel free to ask by writing an email to prabowo.murti at Gmail or submit your comment (at the end of each article). I also have some digital footprints elsewhere.

Muhajirin Dotnet It is a small company I built from 2008. It also has a subdomain named Blog Belajar Bisnis, captur…