As a reminder, soma-template is a DOM-based web template engine that will help you insert content in html pages with native DOM manipulation. Events have been added to soma-template. You can now easily add user events...
soma-template is a web template engine. The library aims to help developers insert data in their html applications using native DOM capabilities. Most web template engine today are “string-based”, which means they will compute...
At some points, any developer will read something about loose-coupling and the Law of Demeter. It is usually happening when you are writing code that becomes a bit larger and you start to have...
Infuse.js is an IOC javascript library (inversion of control). Using rules based on properties and paramaters naming, you will be able to inject data in functions or objects. Quick video for the impatient: Why...
I had fun making a node.js module and a npm package. So here is hone.js, it is using r.js and other tools to optimize and minify html, css and javascript files. More info there: https://github.com/soundstep/hone.js...
I wrote a router plugin for soma.js to create internal routes in a web app. The plugin is based on the amazing library davis.js (thanks a lot to the author Oliver from New Bamboo...
This is a motion detection experiment in javascript, and before starting any explanation: Click here to see the demo. Source code on Github. To see this demo with your own webcam, you will need...
It is very often that I have to do video motion tracking for interactive video campaign in my daily work. If I’m used used to do that in Flash, I made a quick experiment...
Now that we can easily create plugins for soma.js, I’ve created an image loader plugin. I’ve used PxLoader as a base and before any explanation, it looks like that: Image loader plugin demo. The...
I’ve added a plugin system in soma.js and a tutorial how to create a plugin on the site. It is quite simple and everything is explained in the tutorial step by step, but here...