View Single Post
11-14-12, 05:40 PM   #6
Elderin
A Deviate Faerie Dragon
Join Date: Nov 2012
Posts: 17
Thanks, all.

Originally Posted by Dridzt View Post
Unless you are trying to modify/revive an existing addon in which case you may want to avoid an extensive re-write, it's best if you use the frame manipulation API both to create and script your frames from lua, without using xml.
It seems like I read somewhere that Blizz preferred UI definitions in the separate xml file. However, most books on addons are relatively few and older now. I recently read on a forum that it was considered better and more elegant to do it all in lua now. When it comes to coding, I am all about elegant. However, I am currently working on a project based on a quite old addon long since not supported. And so, trying not to do a complete rewrite even though much does not resemble the original stuff and so far, I have added a lot. Perhaps my next iteration will be doing away with the xml file.

Thanks, again, guys.

Last edited by Elderin : 11-14-12 at 05:43 PM.
  Reply With Quote