Skip to main content

Decoupling Your System

You could google about the definition of decoupling, [GGL] but let's take it from my perspective. Decoupling is a process to make each part more independent. This is a process that modularize your system. As any algorithm in this world, it has many weaknesses. So, let me summarize it for you:

#1 Architecture Overhaul

Architecture overhaul can become tricky if it means of changing a big API. Take Linux kernel as an example, each minor release take major interface change that makes specific driver are not compatible. But then again, this argument can be broken by the way of Linux kernel is developed: monolithic. No wonder it can have so many modules tightly coupled.

Even so, a proper way of making modularity and system planning, can make architecture overhaul is nothing -- yeah, it still costs you something, e.g. money. Pay attention to intermediary services. It is often what ever changing beneath will not so much cost you, but when you change the way of any subpart communication, it will break down the system.

Consider using deprecating method. However, watch out for deprecating that can lead into regression. Whatever that breaks it will stop your system. Often regression is something that you wish to have so that your customer shall upgrade your system. But, that's felt like cheating. Take a look at Sun Microsystem, Microsoft, [BIG VENDOR HERE] and any of their software, they always take compatibility a big issue that it sometimes make the new software crippled.

#2 Web of Modules

Too much interface also can make each of your module become messed up and ended up with chaining each other, breaking the rule and the first objective. Theoritically, this should be impossible. But, with extreme conditions of many big projects and with the not-so-mature-and-strict company policy about documentation leads many modules ended up chained each other so much.

Solution is implied: do documentation strictly, plan your architecture well, and creates some labs. If you have (D)VCS, you would have the main development kept in the trunk, some modifications in branches, and mature releases in tag. There, I just gave you the tips of using (D)VCS.

Ah.. penyakit gw kambuh... :P

To be continued.

Comments

Popular posts from this blog

STAN vs. UI

Ugh, kasihan banget adek gue. Saking kepinteran dia jadi dapet Akuntansi UI dan STAN. Jadi bingung mau masuk yang mana. Beberapa orang (termasuk orang tua gue), menyarankan masuk STAN. Gue malah memperburuk suasana dengan membela memasuki Akuntansi UI, maklum bela almamater. Duh, gue jadi merasa bersalah bikin dia ragu-ragu. Kira-kira enakan masuk mana, yah? Gue juga gak tahu keuntungan masing-masing. Hasil debat sementara: ~ Untuk jangka panjang masuk UI, untuk jangka pendek STAN. ~~Tapi, dia itu kan cewek, ntar pas menikah kemungkinan besar karir terhambat. Eits, ntar, dulu, sekarang kan jamannya emansipasi, bisa aja cowoknya yang jadi BRT. ~ STAN sarang korupsi, kalo masuk STAN jadi pegawai negeri. Kalo mau kaya harus korupsi. Tapi kalo masuk UI, lulus masuk jadi akuntan publik. Sekarang ini, orang membayar akuntan publik untuk memanipulasi nilai pajak dan aset. *SIGH*. Jadi gak ada yang beres ~ dll. Yah, udah gue jadi bingung, apa lagi dia nanya saran gue. Buah, gue gak pengalaman ...

I Hate Marvel Civil War Storyline In Comic

See this snippets from The Amazing Spiderman: [1] http://scans-daily.dreamwidth.org/4625006.html The snippets on [1] made it clear: Stan Lee made Spidey have a strong believe in Privacy. The comic strips show how Spidey even have to face charges because of his anonymity. The accuser even made many accusation to other entities for political attacks. A fan-art/art I've found in the 90's illustrated Spiderman standing in front of Peter Parker tomb. I don't know if that was originally from comic book or fan-made, 90's are a long time ago. That art mesmerized me and introduced me to the importance of privacy. In late nineties, I was joined to a program hold by an NGO. So, at that time I know how crucial a privacy was (and still is) to humanity. I'm not exaggerating! Humanity would fall to big financial organizations if people could not voice their fears in anonymity. Whistleblowers around the world would not dare to come up. We would not see any suppression ge...