To be an Eligible JavaScript Programmer

阅读更多

To be an Eligible JavaScript Programmer_第1张图片

Along with the popularity of  RIA and the arrival of HTML5 in near future, JavaScript is more and more important.

Are you an eligible JavaScript programmer? Please check the following list.

Core JavaScript

  1. Is JavaScript an object-oriented language or object-based language? Why?
  2. What does the keyword this refer to in a method? Is there an exception for nested function? And how about the keyword this in an event handler of client JavaScript?
  3. How does the JavaScript function scoped? Lexically or dynamically? What is the scope chain of a function consisted of? What are call object and global object?
  4. All JavaScript functions are closures, is it true? Why?
  5. What is constructor?
  6. What is prototype?
  7. How to simulate classes in JavaScript?
  8. How to create modules and namespaces in JavaScript?

Client-Side JavaScript

  1. What is global object and global execution context of client-side JavaScript? What happens when there are multiple frames in a window or when we need to interact with multiple windows?
  2. What is DOM - document object model? What's the differences between legacy DOM and W3C DOM?
  3. What is unobtrusive JavaScript?
  4. How many ways to embed JavaScript in HTML? What are they?
  5. What is the execution order of client-side JavaScript?
  6. Is client-side JavaScript multi-threaded or single-threaded? How about the core JavaScript?
  7. What is same-origin policy of client-side JavaScript?
  8. How does client-side JavaScript deal  with event handler? What's the differences between event handlers in legacy DOM and DOM level 2?
  9. How can client-side JavaScript communicate with a web server without causing web browser to reload current page? Are there any other ways besides XMLHttpRequest?
  10. How to create, specify and submit HTTP request through XMLHttpRequest? How to synchronously or asynchronously retrieve the response?
  11. Do you fully understand the sentence: "Ajax takes control of HTTP away from the browser itself"? What kind of user experience problems arise because of it? How to improve the user experience of Ajax-based web applications?
  12. Do you know that W3C designed the DOM API to be language-neutral and focused primary on XML documents? Its use with HTML documents is through an optional extension module.
  13. What can JavaScript do with client-side graphics, Java Applets and Flash movies?

 

原文:http://huzhenbo.name/blog/2010/04/04/to-be-an-eligible-javascript-programmer/

你可能感兴趣的:(JavaScript,Ajax,HTML5,Web,Flash)