Solved

How to plan your javascript apps

Posted on 2013-11-08
2
244 Views
Last Modified: 2013-11-28
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
Comment
Question by:coolispaul
2 Comments
 
LVL 32

Assisted Solution

by:Big Monty
Big Monty earned 250 total points
ID: 39634532
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
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 250 total points
ID: 39634969
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
What is a Lightbox? A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions. There are lots of Lightbox effects for jQuery. Problem is they are a…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now