Archives de Catégorie: Javascript

Detect graph cycle, in Javascript

After searching for some times, I start making my own graph cycle algorithm. The idea is to have a lightweight code, both in terms of performance and size, to be able to ship it in browser directly. The code use

Detect graph cycle, in Javascript

After searching for some times, I start making my own graph cycle algorithm. The idea is to have a lightweight code, both in terms of performance and size, to be able to ship it in browser directly. The code use

Using Javascript as a plugin tool for Java

Let’s have fun with Javascript today… Inside Java. Goal Javascript is a powerfull and flexible language, while Java can be a lot more strict. The combinaison of both can be quite interesting, and offer (for example) an easy and cheap

Using Javascript as a plugin tool for Java

Let’s have fun with Javascript today… Inside Java. Goal Javascript is a powerfull and flexible language, while Java can be a lot more strict. The combinaison of both can be quite interesting, and offer (for example) an easy and cheap

SockJS on steroids

SockJS is a good alternative to Socket.IO, the main difference between the two is the simplicity level. Socket.IO provide many features while SockJS keep things as simple as possible. In this tutorial, we will create a SockJS version which handles

SockJS on steroids

SockJS is a good alternative to Socket.IO, the main difference between the two is the simplicity level. Socket.IO provide many features while SockJS keep things as simple as possible. In this tutorial, we will create a SockJS version which handles

Javascript get URL parameters

I need for a project to have two main framework handling both different content. But, both of them are using the same server side, which means they got some data in common. In this case using iframe looks to be

Javascript get URL parameters

I need for a project to have two main framework handling both different content. But, both of them are using the same server side, which means they got some data in common. In this case using iframe looks to be

Jersey (JAX-RS) implements a Cross domain filter

After seeing how to create a HTTP Basic Auth Filter, we will add this time a cross domain output filter. Cross-Domain request is available threw CORS system, it allow developper to send request to some domains which are not directly

Jersey (JAX-RS) implements a Cross domain filter

After seeing how to create a HTTP Basic Auth Filter, we will add this time a cross domain output filter. Cross-Domain request is available threw CORS system, it allow developper to send request to some domains which are not directly

Demystify the Qooxdoo properties system

One of the great -maybe the best- feature of Qooxdoo system, is the properties system. Basically a property will looks like a traditionnal java bean : you have an internal name (never exposed), and manipulate only getter and setter from

Demystify the Qooxdoo properties system

One of the great -maybe the best- feature of Qooxdoo system, is the properties system. Basically a property will looks like a traditionnal java bean : you have an internal name (never exposed), and manipulate only getter and setter from

Custom event listener in Javascript

Here is basic event listener system -framework less- to perform custom event sender/reciever system threw your application : Now you can use the bus object like this : The object provide also a remove listener, use it like this :

Custom event listener in Javascript

Here is basic event listener system -framework less- to perform custom event sender/reciever system threw your application : Now you can use the bus object like this : The object provide also a remove listener, use it like this :