Quantcast Learning Lua / Making Addons - WoWInterface
Thread Tools Display Modes
06-12-08, 05:21 AM   #1
A Murloc Raider
Join Date: Mar 2008
Posts: 4
Learning Lua / Making Addons

Would this new programming book be a suggested start? I do have extensive knowledge in XHTML, CSS, XSLT and XML and decent knowledge in JavaScript and PHP. Also would there be any other suggested material to look at? Looking forward to thoughts. :]
  Reply With Quote
06-12-08, 06:01 AM   #2
A Pyroguard Emberseer
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,251
Programming in Lua for the language itself.

Interface Customization on wowwiki for World of Warcraft specifics.

Reading existing addons code is also a good idea.
Especially by recognized / accomplished addon authors.
You will find addons by them ranging from the overly simple (due to scope),
to the complex.

The book would also be a nice complement yes.

Last edited by Dridzt : 06-12-08 at 06:04 AM.
  Reply With Quote
06-12-08, 08:17 AM   #3
A Molten Giant
Slakah's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2007
Posts: 863
I personnally like lua-users http://lua-users.org/wiki/TutorialDirectory
  Reply With Quote
06-12-08, 12:12 PM   #4
Premium Member
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 56
The World of Warcraft Programming book is a very good start if you already know basic concepts of programming (like you do with knowing PHP).

Programming in Lua and the Lua Reference are perfect for a quick online research on Lua semantics and functions.

Both together should bring you a long way
  Reply With Quote
06-12-08, 12:13 PM   #5
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 234
wowprogramming.com has a very comprehensive API reference available, as well as a number of tools like an online Lua sandbox for checking bits of code.
  Reply With Quote
06-12-08, 12:15 PM   #6
A Theradrim Guardian
Lopeppeppy's Avatar
Join Date: Dec 2006
Posts: 60
I'm learning to program addons using "Hacking World of Warcraft" and "World of Warcraft Programming".

I chose them because I learn well from source books, like to have shelf references, and know that the authors are respected members of the addon community with good histories and solid knowledge. I respect the publishing firms as being reputable in computer reference materials.

That said, everyone learns at their own pace and in their own way. I think that these are excellent references, but if you can only learn from online tutorials and splash-wikis, then go find them and program madly!

I find both at Amazon, most large book retailers will carry or offer to order.
  Reply With Quote
07-31-08, 03:43 PM   #7
An Aku'mai Servant
Eidolarr's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 34
I don't know all of the languages you listed, but I don't think any of them are really procedural languages. Do you know things like for loops and the like?

If you have a good grasp of basic procedural programming concepts (loops, events, conditionals, functions) you probably don't need a book. Lua is not a hard language to learn at all unless you're learning from scratch. You can get by making simple addons and gradually expanding your scope, looking at increasingly dificult addons for inspiration when you get stuck.
  Reply With Quote
07-31-08, 04:02 PM   #8
A Pyroguard Emberseer
Dreadlorde's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 2,302
If you know php and xml lua will be easy for you. Get the book World of Warcraft Programming, it's a good read.

Funtoo - Plan 9 - Windows 7
  Reply With Quote

WoWInterface » Developer Discussions » Tutorials & Other Helpful Info. » Learning Lua / Making Addons

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off