How require/import may decrease your testability

posted in JavaScript on 2015-08-23

When CommonJS was announced we all thought “Finally something that will organize our code”. However, there are some cons that we should be aware of. It’s not only unicorns and rainbows. In this article we will see how a simple require line makes our code difficult to test.

read more comments

Rethinking JavaScript readability

posted in JavaScript on 2015-08-10

You probably know the famous quote that the code should be written for humans to understand and accidentally for computers to execute. Writing code that compiles is easy. Writing readable code is completely different thing. Working in a team is like sharing the kitchen with your roommates. You all should care for the dishes and keep clean. And it is not only because of the others but because of you. You don’t want your dinner in a mixed place and dirty dishes right.

read more comments

Hacking Browserify

posted in JavaScript on 2015-07-04

You’ve probably heard of Browserify. It’s a nice npm module for bundling your JavaScript for a client-side usage. It lets you use similar to Node.js modular system but for the code running in the browser. I had few issues testing modules in an app that uses Browserify. So I had to learn how it works and probably hack it in order to solve my problem.

read more comments

Choosing Your Javascript Framework

posted in Must-see on 2015-06-04

A really nice infographic for one of the most popular JavaScript client-side frameworks - Angular, Ember and Backbone.

read more comments

Using Local Storage as a communication channel

posted in JavaScript on 2015-05-05

So it's been a few months since I published something here. It’s not because I’m lazy (that’s true though) but because I was working on my second book. Now the book is almost finished and I’ll start actively blogging again. In this article we’ll see how to use the local storage of the browser as a communication channel.

read more comments

The proper way of fixing bugs

posted in Must-see on 2015-02-11

I could split my programming experience in two parts. The first one is a little bit more creative. That's the time where the application still does not exist. You invent and architect the program. The second part is extending and fixing the already created system. They, these two parts, have their own interesting and boring sides. However, I believe that they both are in the essence of delivering quality software. This article focuses on bug fixing. It aims to give you bunch of advices how to properly handle the problems in your applications.

read more comments

Bulgaria Web Summit / must-go conference for the modern web person

posted in Must-see on 2015-02-03

The year is 2005. At that time I was a student in Technical University of Varna. As every normal student I had to visit the building of the university from time to time.

read more comments

Fun playing with npm, dependencies and postinstall script

posted in Nodejs on 2015-01-07

I like npm and the fact that I can install tons of stuff. It’s great piece of software and helps me solve problems everyday. Yesterday I had to use a postinstall script and hit a problem.

read more comments

Merry Front-End Christmas

posted in Must-see on 2014-12-24

Christmas is just around the corner. I thought that I should post something. Recently I watchedvideos from two big front-end conferences. So, here is my present for you. A few talks that I think worth attention.

read more comments

How I squeezed two hours and a half

posted in Must-see on 2014-11-21

Usually I don't write such articles but this time I'll share my story. I was going to fly from London to Bulgaria. The flight is two hours and a half which is (by my opinion) enough to get bored. When I was traveling from Bulgaria to London I used my phone a lot. I read lots of stuff for reactive programming, played few games, ate some snacks. However, for the way back I wasn't prepared.

read more comments
Old articles