Passa ai contenuti principali

JS Class, a full featured javascript class for ES5 and newer.

Have you ever wanted to write classes in Javascript just like in Java,C++ and PHP ?

Now you can with a tiny stand-alone library written in native Javascript and compatible with any environment that supports ES5 specifications! (So even IE9+!)

The entire documentation is available here: https://hw-core.github.io/js-lib-class/

Here you are an example of how the syntax looks, it's very familiar, isn't it?:





Commenti

Post popolari in questo blog

[HOW-TO] Migrate linux has never been so easy

Recently i had to migrate my servers from a Virtualbox instances to KVM and LXC containers. ( this guide is also valid for Desktop PC) Before that i simply move the .vdi file from a machine to another, but .vdi are not compatible with KVM/LXC formats. Moreover converting .vdi to .raw (compatible format for kvm/lxc) is not a good practice since your system will be probably broken. But, i'm an extremely lazy person...so how can i migrate a server without a long manual process of reinstalling , reconfiguring and moving file? After some researches i've found this wonderful guide:  https://lowendbox.com/blog/how-to-migrate-a-hosted-server-in-5-easy-steps-with-rsync/ I want to summarize and improve it for you (the process will take 5-10 human minutes + the variable upload time): NOTE : you must be logged as root user before execute following commands. Step1: First of all, you need to have both machines powered up. Assure that you have same linux os version on both ma