External JavaScript and PHP JavaScript / General Development
External JavaScript can reference not just .js files, but PHP scripts as well. See how this is done, and the wonderful possibilities linking PHP to JavaScript bring.
Writing Classes in Javascript JavaScript / General Development
Wrtting classes in Javascript doesn't give full functionality of an object oriented language, but it atleast gives data hiding and encapsulation which are very useful specially when javascript is not a strongly typed language. It is very useful in cases when you need to handle multiple objects , instead of having arrays for all kinds of variables and then managing those arrays in methods you can just write a class to handle one object and then make many instances of that class. This also gives the namespace resolution to the variables so that you can avoid using global variables and still use variables across procedures.
Building a Javascript array JavaScript / General Development
Here are the basics of how to make a simple javascript array for your HTML page.To get you started, first you have to call the scripting method you are going to use. In this case we will call javascripting method.