Skip to content

Latest commit

 

History

History
 
 

Part-001

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
What you will learn:

A fundamental problem in JavaScript is that (1) you need to specify
the load order of JavaScript files and (2) you have no control over
when a JavaScript file is loaded.

How to use this sample:

1. Small number of slides, about Oracle JET, and about this course/MOOC.
2. Talk a bit about NetBeans in this context.
3. Show an image of an empty toolbox.
4. Show items being added to the toolbox.
5. Transition to talking about one specific problem, i.e., building up to AMD loading.
6. Run the application.
7. The Console (Output window Ctrl-4 in NetBeans) shows the output.
8. Go to the index file and change the load order of the two JavaScript files.
9. Point out that the application doesn't work anymore because of load order problems.
10. Explain that we can delegate the load order to 'require.js' in part 002.
11. Explain that this is one of several problems in larger JavaScript applications, e.g.,
   data visualization, accesibility, internationalization -- and that these are
   low-level infrastructural problems that we shouldn't need to think about.