Dependency Injection in JavaScript

Dependency injection is about removing the hard coded dependencies and providing way of changing dependencies in compile-time or run-time. This pattern has been exercised in several frameworks like Spring(Java). It is also becoming popular in JavaScript community. There are libraries that support dependency injection like Angular.js, Require.js, Inject.js and more. Following recent developments, we will [...]

Continue Reading →

Achieving Abstraction In JavaScript

In computer science, abstraction is to hide certain details and only show the essential features of the object. Abstraction tries to reduce and factor out details so that the developer can focus on a few concepts at a time. This approach improves understandability as well as maintainability of the code. While abstraction is well understood [...]

Continue Reading →

Buggy Code on Production, Survived

In a life cycle of a project, you come across different situations, you may or you may not overcome these both mentally and physically. Luckily, we have survived through this life cycle with “buggy” code. However, we may not overcome for the next time. Thus, I want to share my experiences over things we have [...]

Continue Reading →

Doğum Günü Kurabiyeleri

Her dakika 255 doğumun olduğu dünyamızda, herkes için doğum günlerinin ayrı bir önemi vardır. Ama bazen sizin için önemli olan bir kişinin doğum günü sizi daha çok heyecanlandırır. İşte bizde Ayhan abi ve Gülşen ablanın yumurcakları için heyecanlandıkları anlarında onlarla birlikteydik. Küçük kızımız Eylül, 3 yaşına basmıştı 28 Mart’ta. Doğüm gününü süsleyen o kadar güzel [...]

Continue Reading →

XA Transactions: A Simple Guide

In early days of computing, there was no need for distributed transactions. As number of applications increased, synchronization of the data become an important issue. Companies paid a lot to maintain synchronized systems in terms of data flow. As a result, 2 phase commit protocol referred as XA(eXtended Architecture) arose. This protocol provides ACID like [...]

Continue Reading →