That said, while Ace3 does make things a little easier, the assumption is that a coder already knows something about Lua (not to be confused with LUA, which is not even a thing), in which case I suggest reading Gamepedia's Interface Customization section. https://wow.gamepedia.com/Wowpedia:I..._customization
Keep in mind that if this is still for version 5.4, you will not be able to get the help you want/need here.
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh