Skip to main content

Basic JavaScript Programming Strategy

As with all programming projects, the analysis and design of the application is important

What Are the Application Features?

First of all you will need to decide exactly what the application has to do. Be as specific as possible. What features will the application not be implementing?

Using a table to break down the application features helps when implementing. You can then tick of the box as each feature is developed. This also helps with testing as you document the item with inconsistencies.


Item Number Description Tested
1 Form validation Yes
2 Rollover on images No

Secondly, establish how you will code the features. Break up the code into independent functions. This will help you plan the coding effort.

Identify individual functions that can re-used. Identify parameters that may have to be passed between functions

It helps if you can diagram your application. Structure diagramming techniques will be useful.

Next: Strategy