Shadow DOM in HTML5
When developing UI using HTML and JavaScript, as it happens when using jQuery libraries (and similar), the internal implementation of the widgets we draw on screen is not encapsulated from the rest of the page. This lack of encapsulation means that whenever the page CSS or the page JavaScript change it might influence our UI. […]
The Israeli Computer Science Teachers Conference 2015
On December 13th 2015 I delivered a short seminar in the Israeli Computer Science Teachers Conference 2015, in which I was sharing my experience using advanced training tools when teaching academic and professional courses in software development. You can find the slides at http://www.slideshare.net/lifemichael/advanced-training-tools. The following is the video clip I was taking on my laptop.
The window.requestIdleCallback Function in JavaScript
Calling this function we should pass over the function we want to be invoked in the background in those moments when the one and only thread is free (not busy with other tasks). <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <title>Title</title> </head> <body> <script> function doInBackground() { console.log(“doing work in background”); } if (window.requestIdleCallback) { […]