Disable Back Button in Browser using JavaScript

Sometimes we have requirement in developing a website to disable the Back button effect from Browser. This is common in Online Banking Websites and other sites where security is of principal concern. User may hit back and navigate from the page and forget to logout. Hence sometime it is required that we disable the functionality
Read More

JavaScript – Singleton Design Pattern

Singleton design patterns ensures a class has only one instance and provide a global point to access it. Singleton pattern is handy when you want to create a class whose functionality does not required any changes for its multiple instances. Basic Singleton implementation in JavaScript A basic singleton pattern can be created using simple object
Read More

How one yanked JavaScript package wreaked havoc

When a developer ‘unpublished’ his work from the NPM JavaScript package registry, it broke dependencies for many other projects — and highlighted the fragility of the open source ecosystem Developers who rely on NPM, the JavaScript package registry created by the Node.js ecosystem, experienced a shock earlier this week when a small package removed from
Read More

Facebook’s React Native Comes To Android

Did you think that developing an app for Android and iOS was easy? Well, think again. Both platforms have massively different codebases, making it impossible to simply “copy and paste” code for an app. Luckily, there are numerous cross-platform developing tools to make the process easier,and Facebook has just entered theirs in to the mix.
Read More