Introduction To Typescript – Part II (Debugging, backtick and linting)

So we are moving ahead, with next set of Typescript lessons. The topics discussed in the Part-I focus on Typescript configuration and basic familiarity. The series now progress with experience from real-life project development and my struggle to make sure deliverables meet the quality standards. It is often very easy to develop something and be contained with the thought that we met the expectation. In reality usually what you have created may last for the next 4-5 years. Thus, it is our moral responsibility to adhere to standards.

Continue reading

Introduction to Typescript

Somewhere around 2014, I was given a responsibility to migrate an existing Flex based application to HTML 5. Indeed this was needed for one of our flagship product. Flex days were over and to remain competitive in the market, the migration process was very critical. While we reached a conclusion of selecting UI frameworks (partially based on the experience of another group), I was a bit skeptical about using JavaScript for this huge project. The reason for my confusion was primarily because of its dynamic type nature. Things tend to get ugly soon with the rise in project size. I stumbled upon two more options with a little bit of a research – Typescript, and CoffeeScript.

Continue reading

NodeJS dependency injection – Zander

Having worked on Java and Spring for almost a decade, my programs are naturally inclined towards using dependency injection. Recently, I started using NodeJS for developing one of our initiative and I felt modularizing my code instead of building one monolithic program. Soon, I realized that in order to keep my modules loosely coupled with each other, I need to use dependency injection and I started searching for framework. While I tumbled across many frameworks, which claims to provide Dependency Injection, none of them really fit to the expectation that I had. Also I came across many posts emphasizing that NodeJS programs do not require separate Dependency Injection frameworks and one can easily tweak require method to achieve desired results. I personally, didn’t like the suggestions and hence I thought of developing one of my own – Zander.

Continue reading