Along with HTML and CSS, JavaScript is one of the core technologies of the web. The majority of websites use it, and all modern web browsers support it without the need for plugins. It's got a huge community, and the ecosystem is evolving rapidly. If you want to be a web developer, learn JavaScript. And if you want to learn JavaScript, you're in the right place!
We've built a comprehensive guide to help you learn JavaScript development online, whether you're just getting started as a web developer or you want to explore more advanced topics such as using the newest frameworks or building your own! This Learning Guide will help you:
- Learn the fundamentals of the JavaScript language.
- Get started coding for the web with jQuery.
- Build websites and apps using front-end frameworks such as Angular 2 and React.
- Learn Node.js, and write JavaScript for the server.
- Develop cross-platform mobile apps with Ionic and React Native.
- Go further with JavaScript and keep your skills sharp.
1. What Is JavaScript?
You've likely heard JavaScript referred to as "a client-side language", which is another way of saying that it's a programming language that runs in a web browser. Actually, it's the language that runs in the browser—if you want to make an interactive web page, JavaScript is the language to use.
JavaScript is a high-level, dynamic, untyped, and interpreted programming language. It has been standardized in the ECMAScript language specification.
- High-Level. When a programming language is high-level, you can code it without needing to know details about the host computer. You don't have to manage memory, you don't have to know what type of processor is running, and you don't have to deal with things like pointers (such as in languages like C or Assembly).
- Dynamic. Languages that are dynamic allow developers to add new code or change the structure of objects while the program is running. This is a powerful feature of JavaScript, and it makes possible frameworks that can adapt the language to very different contexts and ways of working.
- Untyped. If you have any programming experience, then you've likely come across statically typed languages that require you to declare the type of variables. In contrast, untyped languages are much more flexible about how types are used and defined. For example, in JavaScript you could pass either a string or a number to the same function, or you could have an array that stores data of mixed types.
- Interpreted. In compiled languages, the code you write must be converted to a machine-readable form before it can be run. But JavaScript is interpreted (just like PHP), meaning that there is no compiler. Instead, the code is run by an intermediary piece of software called an interpreter (in this case, it is part of the web browser). The interpreter reads your code and converts it to machine instructions. Most high-level languages are interpreted, and most interpreted languages are high-level.
- Standardized. JavaScript is standardized (its official name being ECMAScript) which means that it will work the same in any browser. This wasn't always the case; in the early years of JavaScript it used to work a bit differently from browser to browser.
If you want to learn more about the structure of the language and how it's used, check out our tutorial.
2. JavaScript Fundamentals
If you're learning JavaScript for the first time then you'll want a course that starts at the very beginning and covers everything about the language that a beginner needs to know. Whether you're completely new to coding, or you're coming to JavaScript from another language, our
JavaScript Fundamentals course goes through everything you need to get up and running with one of the most popular and dynamic languages in use today.
You can build on the fundamentals of JavaScript with our course on ES6 (more properly known as ECMAScript 2015 or ES2015), which represents the biggest change to JavaScript in the last 20 years. Sharpen and update your JavaScript skills by learning some of the major additions that ES6 brings to the language.
If you're a web designer who's just getting started with JavaScript then you should check out
JavaScript for Web Designers to learn the basics of JavaScript from a web designer’s perspective.
Learn jQuery
First released in 2006 by John Resig, jQuery set out to be a cross-platform JavaScript library that makes it easier to write code for the browser.
At the time it was released, it was especially useful because of the inconsistencies that existed among JavaScript implementations in older versions of Internet Explorer, Firefox, and eventually Google Chrome (which wasn't released until 2008).
As described by the
jQuery website:
jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.
Learn more about jQuery and how it's used in our tutorial.
jQuery has been a part of the JavaScript ecosystem for a long time and has been used in a number of very popular projects (such as WordPress), so learning it is a great way to get started programming for the web. In these courses, you'll learn everything you need to know to get started using jQuery in your projects.
3. Front-End Frameworks
While the number of ways to organise a JavaScript project are almost infinite, JavaScript frameworks can help you give structure to your code and make it more flexible and scalable. There are a number of popular JavaScript frameworks you can choose to use, but deciding between them can be difficult.
Our course
Comparing Front-End Frameworks can help you make an informed choice. Experiment with each framework, get a feel for how it works, and decide which one is best suited for your project needs or style of programming.
You can also find out which front-end framework you should learn by taking our quiz!
Source : https://code.tutsplus.com/series/learn-javascript-the-complete-guide--cms-1112
Komentar
Posting Komentar