Solved

How to plan your javascript apps

Posted on 2013-11-08
2
247 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 33

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
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…

688 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