Monday, May 16, 2022
For years, developers have needed a method for adding their own metadata to HTML elements, but no standardized technique existed.…
Tuesday, May 10, 2022
Dealing with the DOM can be a very tedious process. Traversing the DOM can quickly clutter your code with nested loops. For…
Wednesday, June 15, 2022
Writing code in an async programming framework like node.js becomes super complex and unbearably ugly, superfast. You are dealing with…
Monday, February 27, 2023
Events are the bread and butter in UI development. They are frequently used to kick off JavaScript to deal with…
Tuesday, May 10, 2022
Most of the JavaScript libraries come wrapped in an easy to refer single object. The object acts as a namespace,…
Tuesday, May 10, 2022
Using image beacons is one of those popular techniques that you would probably know about without knowing its name. The technique helps…
Tuesday, May 10, 2022
I recently fully understood the concept of utilizing Currying in JavaScript. The core concept can be grasped from these references: Wikipedia entry on…
Tuesday, May 10, 2022
Never again use for() for looping. Using for() can be dangerous, especially if you use a library which adds attributes…
Tuesday, May 10, 2022
I needed a random string for various purposes. For example, to provide a unique ID to HTML elements via JavaScript.…
Tuesday, May 10, 2022
John Resig, the creator of jQuery, has created this JavaScript inheritance code. I am still using it now to simplify several…
Tuesday, May 10, 2022
In JavaScript OOP there are attributes called private attributes. Knowing if an attribute is private or public, an API user…
Tuesday, May 10, 2022
When it comes to developing APIs, self documenting code is very important, in order to simplify users’ effort in filtering…