HTML5 & JavaScript Communication APIs

HTML5 and related specifications come with a lot of new JavaScript APIs as communication is one of the most important aspects. It is now possible to send cross-frame, cross-browser tab, even cross-domain requests, receive push messages from the server, use bi-directional full-duplex communication, and more. This session discusses these and other techniques, show code samples, […]

Diagnostic Web Applications with Java and JavaScript

There is more and more usage of JavaScript on the client side today. Many are starting down the difficult path of full blown application development in JS on the client side, going beyond having a simple rollover menu logic or presentation component. But tracking and tracing effectively means looking at the whole application, not just […]

The “This” Keyword in JavaScript

This series of tutorials talk about context or the “this” keyword in JavaScrtipt. It’s a small piece of the JavaScript language, but it’s really important, and it hangs people up sometimes because it’s a little counterintuitive how “this” works in JavaScript.

Aspect Oriented Programming (AOP) for Javascript

Loose coupling. Your web front-end has that, right? Your JavaScript is using pubsub, event emitters, and message buses! Guess again, you can do better. Aspect Oriented Programming (AOP) is a technique for augmenting the behavior of objects, methods, and functions non-invasively.

DukeScript

DukeScript is a set of APIs that allows Java applications easily talk to JavaScript environment to (usually) animate an HTML page. The core libraries are developed as part of the NetBeans Project, but there are also additional libraries that play well in the overall DukeScript ecosystem.