PHP: PHP代表超文本预处理器,它是一种脚本语言。 PHP是一种通用的脚本语言。 PHP由 Rasmus Lerdorf 于 1994 年创建PHP基本上用于服务器端,用于开发 Web 应用程序。 PHP有一些框架,如 laravel、Symfony 等。请注意PHP是一种脚本语言而不是框架。
DENO: DENO 是一个简单而安全的 JavaScript 和 typescript 运行时,它使 JavaScript 能够在服务器端 JavaScript 上运行,使其足以运行服务器。 DENO 可以看作是对 Node.js 的升级。 Deno 的开发者与 Node.js 的开发者相同,即 Ryan Dahl。它在服务器端用于制作快速、可扩展和健壮的应用程序。请注意,它不是一种语言,而是使用 chromes V8 引擎并用 Rust 构建的 JavaScript 或打字稿的运行时环境。
PHP和 DENO 的区别:
S.No. | PHP | DENO |
---|---|---|
1. | It was developed by Rasmus Lerdorf. | It was developed by Ryan Dahl. |
2. | It is a programming language that is used on the server-side for web development. | It is a Javascript and Typescript runtime that is used to run Javascript as well as Typescript outside the browser.server-side |
3. | It was developed in 1994. | It was developed and launched in 2018. |
4. | It uses framework like laravel for easy and robust web development. | It uses Expressjs for easy and robust web development. |
5. | Although PHP is a server side language but still can be used as a general-purpose scripting language. | It can only be used as a server-side technology for web servers development. |
6. | It does not asynchronous in nature. | It is asynchronous in nature. |
7. | File extension is as .php | File extension is as .ts |