Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at the New York ColdFusion User Group (May. 2009) with: Gert Franz
Ben Nadel at the New York ColdFusion User Group (May. 2009) with: Gert Franz@gert_railo )

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 »