separate modules within 1 addon
View Single Post
11-15-12, 11:15 AM
A Molten Giant
Join Date: Jul 2006
There is a point to the library though. Instead of creating 100+ event frames for 100 addons, you have 1 frame delivering events to them. Frames are the most expensive single value object in the system memory-wise. The problem is introducing these libraries to new programmers too early and making them believe this is how the WoW API works, wrong and completely oblivious to what the library is doing for them.
Originally Posted by
, you making assumptions in the void
What Phanx says is true. Frames are the only object in the WoW API that can receive events.
is the most widely used library if not the only one that is made to handle events too. What is being said is
uses a frame to run its event dispatcher. Look at the code for yourself if you don't believe us, although it's a complete mess.
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
Last edited by SDPhantom : 11-15-12 at
View Public Profile
Send a private message to SDPhantom
Visit SDPhantom's homepage!
Find More Posts by SDPhantom