Home  >  Article  >  Web Front-end  >  Do you need basic JavaScript to learn AE?

Do you need basic JavaScript to learn AE?

PHPz
PHPzOriginal
2023-04-21 09:07:091172browse

When we learn AE, we often hear some teachers or senior AE users mention that learning AE requires learning the basics of Javascript. So, is this true? Why should you learn the basics of Javascript? This article will answer this question from the following aspects.

1. What is Javascript?

Javascript is an object-oriented, dynamically typed programming language commonly used for Web front-end development. It can modify HTML and CSS to achieve dynamic effects of interaction with users, and can also use technologies such as Ajax for asynchronous communication and data processing.

2. Javascript in AE

In AE, Javascript is mainly used for writing scripts, which is necessary for complex AE projects and the development of AE plug-ins. It can change the properties of the layer, take action at a specific point in time, let AE do some automated operations, etc.

For example, after we select a layer in AE, we can see that there are many properties in the properties panel, such as position, rotation, scale, etc. If we want this layer to move to another position at a specific point in time, then we need to use Javascript scripts to control this process.

Javascript scripts can be used in many places in AE, such as:

  1. Expressions: In AE, expressions can realize automated control of layer properties. We can Use Javascript expressions to achieve this.
  2. Script: When we need more complex operations, we can write Javascript scripts to achieve it. This script can be stored as a .jsx file and then run in AE.
  3. Plug-ins: Plug-ins in AE can also be written using Javascript to achieve more complex functions.

3. Why should you learn the basics of Javascript?

After understanding the application scenarios of Javascript in AE, we can see its importance. If we do not master basic Javascript knowledge, we will not be able to effectively perform automated control when using AE, nor will we be able to develop functions such as plug-ins.

In addition, Javascript is also a widely used programming language. Learning the basics well will also be of great help to our development in Web front-end and other fields.

4. How to learn the basics of Javascript?

To learn the basics of Javascript, we can refer to the following aspects:

  1. Learning books and courses: There are many books and online courses (such as w3school, Codeacademy, etc.) that can help us learn Javascript basics. These contents usually include syntax, data types, functions, etc.
  2. Exercise projects: We can consolidate the knowledge of Javascript by writing small projects, such as using Javascript to implement special effects on a web page.
  3. Learn frameworks and libraries: Javascript has many popular frameworks and libraries, such as JQuery, React, Vue.js, etc. Learning these frameworks and libraries can help us complete projects more efficiently.

Summary

In the process of learning AE, it is very necessary to learn the basics of Javascript. It is the basis for AE automation control and plug-in development, and is an important step for us to expand our skills in other areas. Learning Javascript requires patience and consistent practice, but it is completely manageable.

The above is the detailed content of Do you need basic JavaScript to learn AE?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn