Every programming language has its oddities and challenges. When it comes to JavaScript, it has probably more of those oddities. It’s not the just language itself but also browser support. Different vendors implemented slightly different JavaScript engines for years. It resulted in a ton of challenges. I dealt with these challenges myself. Thanks to JQuery, we had a fresh air. Anyway, this isn’t the end of the story. Over…
Leave a CommentTag: JavaScript
“Smaller is faster” is a hardware design principle as you might already know it. Generally speaking, smaller pieces of hardware will be faster than larger pieces. I have always thought this principle in terms of computer hardware. Just a while ago, I started to think this principle is also applicable to software development. Throughout this post, I’ll try to give some insights and supporting examples for “Smaller…
Leave a CommentDependency 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 present what is dependency injection, its advantages and simple implementation of this…
4 Comments