Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at the jQuery Conference 2010 (Boston, MA) with: Seth Johnson

Guillaume

Member since Oct 29, 2011

Recent Blog Comments By Guillaume

  • Using One Object Per Event Type With Publish And Subscribe (Pub/Sub)

    Posted on Oct 29, 2011 at 2:49 PM

    [sorry for the double post] Qt code sample class c : public QObject{ Q_OBJECT public: c(){ connect(this, SIGNAL(somethingdone()), this, SLOT(dosomethingelse())); connect(this, SIGNAL(somethingdonewithparam(int x)), this, SLOT(dosomethingelsewithparam(int x))); } void dosomethin... read more »

  • Using One Object Per Event Type With Publish And Subscribe (Pub/Sub)

    Posted on Oct 29, 2011 at 2:42 PM

    This pretty much like the signal/slot system in Qt. Classes have signals and slots and you connect signals to slots. When the signal is emited(fired) it calls all the slots connected to it in an arbitrary order. It must feel somewhat awkward in javascript since the event mechanism is already somewh... read more »