Once you've optimized
your hardware, your database, and Apache, you can concentrate on tuning your actual code. The best
preparation you can do to help yourself at this point is to select and adhere
to a consistent coding
standard. The less time you spend trying to interpret what you have written,
the more time you can spend
looking at other tricks to improve its efficiency.
Installing and configuring mod_auth_mysql involves a few steps, the first of
which is to create the necessary database structures to hold the user data.
Start by loading up your favorite MySQL client, and creating the database. For
example:
ActionScript 2.0 is a much more "strict" language than previous versions of ActionScript. As a best practice, you need to strictly type all your variables, although Flash will not fall over if you do not do this. However, Flash will provide better error handling and code hinting if you type all variables.