Strategy Pattern

What is Strategy Pattern? Strategy pattern is a commonly used behavioural pattern. Strategy Pattern is mostly a way to change the behaviour of an algorithm at runtime. The strategy pattern: defines a family of algorithms, encapsulates each algorithm, and makes the algorithms interchangeable within that family. Consequences Think twice before implementing this pattern. You have to be sure your need is to change an algorithm frequently. You have to clearly anticipate the future, otherwise, this pattern will be more expensive than a basic implementation. + Greater flexibility, reuse + Can change algorithms dynamically - Strategy creation & communication overhead - Expensive to create - This…

Continue Reading

Akamai 101

This is going to be an amazing post, I can feel it! I would like to share my knowledge and opinion about one of the best things ever happened to web technologies. Note that, I'm going try to explain what Akamai is at the simplest way. Why is it one of the best things, you might ask. I'm going to explain what its features one by one. Content Delivery Network First of all, Akamai is a CDN. So, what is a CDN? Basically, A CDN is a geographically distributed network of proxy servers and data centres which aims to distribute services…

Continue Reading

Basic Linux Commands with Examples

I believe it's very important to know at least basic commands of Linux (Also, other Operating Systems). You might say, "I'm a developer/business analyst/tester etc., I don't need to know these Linux commands!". Oh sweet Linus Torvalds (Creator of Linux)... Be sure he's not around when you say those kind of things, or else he might rage-mail (Read it, you won't regret) you with the hatred of ten thousand years. Let me tell you something. You're going to regret saying that. I was thinking the same, then one day, I needed to see logs of our consumer website because it was…

Continue Reading

Hello World with Java

Here We Go! Thanks for joining the Codeogre! Let's take a sip from our cocktails and enjoy the very first post! Since Java is the most powerful weapon of mine (I imagine Java as a big, bulky two-handed axe -> ᧨), I will talk about Java a little bit to break the ice between us. Java, the Island? What, No!? Wait a second, why would you... Yeah, now you know there is an island named Java in Indonesia. There are lots of places named Java. Actually, there are so many things named Java, if you are a curious individual, you can…

Continue Reading
Close Menu