• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:

How to plan your javascript apps

Hi
 
I'm aiming to build a simple game with javascript.

Whats the best way to plan  javascript apps?
is pseudo code the best method or are there better ways?

Thanks
0
coolispaul
Asked:
coolispaul
2 Solutions
 
Big MontySenior Web Developer / CEO of ExchangeTree.org Commented:
Great Question!

I think any plan for any kind of web development should be catered to the developers own personal style. Some developers like to write out design and functional specs, others will take more of a visual approach, and build flow charts and/or diagrams. Pseudo code is also another method a lot of developers take.

To start off with, I would recommend coming up with a list of what you want the application do. Make it a high level list, and then from there, you can break down each item into separate JS functions.
0
 
COBOLdinosaurCommented:
For Javascript of any size I generally take linear modularization approach.  

1. List the actions that need to be processed in the order that they must be done.

2. Do a skeleton  high level controller to establish general structure.

3. At this point you should have a pretty good idea of the interface variables that will  need to have defined globally so list them.

4. Now create empty functions that have a comment indicating what you are going to do there.

5. Now start coding with the expectation that as you move down through the sequence you will discover that some of your assumptions were wrong and adjust for the new reality.

Cd&
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now