View Full Version : Signals and Slots
beetle
05-01-2003, 04:45 PM
Well, bcake, liorean, jkd, anyone else. Whaddya think?
http://youngpup.net/?request=/news/2003-5.xml
Seems pretty interesting -- and yet another New Thing™ to play with :p
liorean
05-01-2003, 05:22 PM
It's not going to be high-performance, but I like it. D*mn Netscape and ECMA for not constructing these types of things to begin with!
Also, it's a little too large in code to be used casually - for it to be worth including, you must be in a project with huge amounts of code. A 100 line script wouldn't benefit from a possible reduction to 70 if you have to include far more code than you had initially to make the reduction.
mordred
05-01-2003, 10:55 PM
I'm not sure I understand which problem the "signals and slots" approach tries to solve... is it an abstraction layer to enable a sort-of eventhandling for custom objects?
liorean
05-02-2003, 12:02 AM
Pretty much, yeah.
In fact, I'm not that enlightened to really get the concept myself, even though I've used it in other languages. So, here's a few document on it:
<http://doc.trolltech.com/3.1/signalsandslots.html> (Ignore the QT specific details)
<http://www.joyinternet.net/cn/qt/html/signalsandslots.html> (also Qt)
<http://www.cs.tcd.ie/Martin.Emms/NLP/Notes/node118.html> (Guess what language?)
And, about just this one:
<http://alex.netwindows.org/2002_05_26_archive.html> (JavaScript)
mordred
05-02-2003, 09:50 AM
Thanks for the pointers, I'll have a look at them.
liorean
05-12-2003, 09:39 PM
Alex Russell has cleaned the implementation up a bit, and written a nice documentation of it:
<http://netwindows.org/releases/sigslot/doc/sigslot.html>
Just if anyone is interested.
beetle
05-13-2003, 06:30 AM
Cool! Thanks liorean :thumbsup:
mordred
05-13-2003, 05:23 PM
liorean, are you also a subscriber to the WDF-DOM mailing list? Just wondering... :D
And yeah, that is interesting stuff. Though the learning curve is definitely there, but it seems worth it for big applications.
liorean
05-13-2003, 06:00 PM
Mordred, say which JavaScript related English speaking mailinglist I'm NOT a member of...
(I know there are ones. Especially the low-traffic ones. I'm doing my best to eliminate them too, though.)
If you read the archives you probably find a few messages by me in there. (I'm not very active in any of the mailinglists, though. Especially not since I rediscovered this place.)
I'm not that big a fan of PPK though - I find him a bit biased and not entirely objective. (His compatibility tables are still the best resource for that kind of information, though.)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.