Fork me on GitHub

JavaScript

JavaScript is a small scripting programming language embedded in web browsers to enable dynamic content and interaction.

Why is JavaScript necessary?

JavaScript executes in the client and enables dynamic content and interaction that is not possible with HTML and CSS alone. Every modern Python web application uses JavaScript on the front end. The trend towards richer client experiences will increase as projects such as Angular.js, Backbone.js, and Ember.js continue to mature.

Where did JavaScript originate?

JavaScript is an implementation of the ECMAScript specification which is defined by the Ecma International Standards Body.

JavaScript resources

  • How Browsers Work is a great overview of both JavaScript and CSS as well as how pages are rendered in a browser.

  • A re-introduction to JavaScript by Mozilla walks through the basic syntax and operators.

  • Coding tools and JavaScript libraries is a huge list by Smashing Magazine with explanations for each tool and library for working with JavaScript.

  • Superhero.js is an incredibly well designed list of resources for how to test, organize, understand and generally work with JavaScript.

  • Unheap is an amazing collection of reusable JQuery plugins for everything from navigation to displaying media.

JavaScript learning checklist

Create a simple HTML file with basic elements in it. Use the python -m SimpleHTTPServer command to serve it up. Create a <script type="text/javascript"></script> element at the end of the <body> section in the HTML page. Start playing with JavaScript within that element to learn the basic syntax.

Download JQuery and add it to the page above your JavaScript element. Start working with JQuery and learning how it makes basic JavaScript easier.

Work with JavaScript on the page. Incorporate examples from open source projects listed below as well as JQuery plugins. Check out the Unheap link below to find a large collection of categorized JQuery plugins.

Check out the JavaScript resources below to learn more about advanced concepts and open source libraries.

Integrate JavaScript into your web application and check the static content section for how to host the JavaScript files.

Do you need to style your app or deploy it next?

How do I style my web application's user interface?

Where should I host static content such as my JavaScript files?

How do I save and version my code so it does not get lost?

What are application programming interfaces?


对Full Stack Python这本书很感兴趣?想要一本包含代码、详细教程的完整版吗?那么用邮箱订阅吧。一旦完成了我就会发给你的,别担心除了订阅确认邮件,我是不会给你发乱七八糟的邮件的。