Since our nosedive in Javascript there is a ton of things to learn and the greatest new insights are written down in posts in this category.

Javascript modules and jQuery events

Posted in Javascript on August 28, 2015

Writing good Javascript code is tricky. A first step achieving this goal is to start writing modules in Javascript. Modules make way for structured, organised code that does one thing and one thing well. With the update of our website at PLint-sites, I improved the Javascript by using modules. The module I would like to discuss in this blog is for validating a simple form. Here jQuery comes in because we like to let the user know early on if he makes a mistake in filling out the form fields.

Read more

Javascript modules: why and how?

Posted in Javascript on July 17, 2015

Writing testable and maintainable Javascript code is not easy. Starting with Javascript modules is a good first step to write reusable code blocks that are testable. Small codeblocks that perform one task will also help maintaining your code. But how to write a proper Javascript module? In this post we summarise the steps.

Read more

First moments with ESLint

Posted in Javascript on June 4, 2015

When writing Javascript code it is very easy to make mistakes that do not immediately break your code. Instead, it is possible to finish with a bunch of code lines that will behave unpredictable. Linting tools are there to help you with this. Simple syntax errors are one thing, but linting tools do much more. Here we describe ESLint, a fully configurable tool that is easy to install and use once configured.

Read more