WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   separate modules within 1 addon (https://www.wowinterface.com/forums/showthread.php?t=45098)

SDPhantom 11-15-12 11:15 AM

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.



Quote:

Originally Posted by AnrDaemon (Post 268927)
Phanx, you making assumptions in the void :)

What Phanx says is true. Frames are the only object in the WoW API that can receive events. AceEvents-3.0 is the most widely used library if not the only one that is made to handle events too. What is being said is AceEvents-3.0 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 times are GMT -6. The time now is 01:20 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI