Open In App

Difference between PHP and DENO

Improve
Improve
Like Article
Like
Save
Share
Report

PHP: PHP stands for Hypertext preprocessor, which is a scripting language. PHP is a general-purpose scripting language. PHP was created by Rasmus Lerdorf in 1994. PHP is basically used on the server-side for the development of web applications. PHP has certain frameworks like laravel, Symfony etc. Please note that PHP is a scripting language and not a framework.

DENO: DENO is a simple and secure runtime for the JavaScript and typescript both that enables JavaScript to run on the server-side JavaScript making it capable enough to run the servers. DENO can be considered as the upgrade for the Node.js. The developer of Deno is the same as of Node.js i.e. Ryan Dahl. It is used in serverside for making fast, scalable, and robust applications. Please note it is not a language instead it is a runtime environment for the JavaScript or typescript that uses chromes V8 engine and is built in Rust.

Difference between PHP and 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

Last Updated : 31 Jul, 2020
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads