Question: 1. Are scripting languages and programming languages and html the main categories of computer languages? What's the difference? The key is that php is a scripting language. How do you understand this? ——Because I have just started learning the PHP language, so please make it as easy to understand as possible.
2. I want to build a website with relatively complete functions and use an independent website building system, but is it best to learn some PHP language?
Answer 1: Programming languages are generally used to write applications, such as C, C++, VB, DEPHI, JAVA, etc., which are powerful and difficult to learn.
Scripting languages are generally used to write some simple applications, such as JS, VBS, JSP, ASP, PHP, etc. Macro programs can also be regarded as scripting languages. The biggest disadvantage of scripting languages compared to programming languages is their low execution efficiency, but they are easier to write.
HTML is not a language. Although it is called Hypertext Markup Language, in fact it can only be regarded as some control tags, and what is written is not called a program.
Static There can also be VBS or JS scripts in web pages, they are just foreground.
You can use either VBS or JS in ASP, but usually most people use VBS, they are background.
PHP has almost the same syntax as C. In fact, it is almost the same as JS. They are very close.
If you want to make a website, you need to learn ASP (a little behind, but it is easier to get started) or PHP or JSP or ASP. net (you can learn VB.net or C#.net) at least the same.
The free whole-site system can be used and modified for free, but most of them are not allowed for commercial use. You can go to the corresponding official website to view the authorization file.
Answer 2: c;c++;perl;vb;assembly, etc. These are programming languages
Scripting language is mainly our common asp ;php, etc.
asp is subordinate to vb and is a subset of vb
php is developed using c
Both asp and php require server parsing and execution, but html is different from them, html It does not require server parsing and execution, it only needs to be output directly, so we call html hypertext. It's better to learn PHP so that you can rewrite the core of the website building system, but if you only use it to make ordinary corporate websites, it doesn't matter whether you learn PHP or not.
The above is the detailed content of What is a scripting language? , why is the php language a scripting language?. For more information, please follow other related articles on the PHP Chinese website!