Chapters (first edition)

Part I: Learning to Program

Chapter 1: Programming for World of Warcraft

Chapter 2: Exploring Lua Basics

Chapter 3: Basic Functions and Control Structures

Chapter 4: Working with Tables

Chapter 5: Advanced Functions and Control Structures

Chapter 6: Lua Standard Libraries

Chapter 7: Learning XML

Part II: Programming in World of Warcraft

Chapter 8: Programming Within World of Warcraft

Chapter 9: Anatomy of an Addon

Chapter 10: Creating Frames in XML

Chapter 11: Adding Behavior to XML Frames

Chapter 12: Creating Your First Addon: CombatTracker

Chapter 13: Using the World of Warcraft API

Chapter 14: Building a Basic Addon with AddOn Studio

Part III: Advanced Addon Techniques

Chapter 15: Using Templates Programmatically

Chapter 16: Writing an Addon Without XML

Chapter 17: Taking Action with Secure Templates

Chapter 18: Creating Slash Commands

Chapter 19: Altering Existing Behavior with Function Hooking

Chapter 20: Creating Custom Graphics

Chapter 21: Making Frames Move

Chapter 22: Creating Scroll Frames

Chapter 23: Creating Dropdown Menus

Chapter 24: Tooltips

Chapter 25: Using State Headers

Chapter 26: Driving State Changes

Chapter 27: Creating Unit Frames with Group Templates

Part IV: Reference

For up-to-date API documentation, see the Reference section.

Part V: Appendixes

Appendix A: Distributing Your Addon

Appendix B: Tracking History Using Version Control Systems

Appendix C: Best Practices

Appendix D: Avoiding Common Mistakes

Appendix E: Utilizing Addon Libraries

Appendix F: Author and Addon Communities

View the second edition