Why is JavaScript so popular in web development?
March 20th, 2014
I took a look around the web and thought that this blog article was very comprehensive in explaining why JavaScript is so popular. Here is an excerpt of it:
- Node.js
- JavaScript is a Natural fit for the Web
- AJAX
- JavaScript is Easily Extensible (jQuery, Prototype, Dojo)
- JavaScript Allows for object oriented design
- JavaScript is Easy to Debug
- Abundance of Developer Tools
- JavaScript is a Prototyping Language
- JavaScript is Easy to Edit
- JavaScript is Easy to Learn
Node.js has reduced JavaScript's need to rely on other technologies such as PHP or .Net to run on the server and serve information up. It is built on Google Chrome’s JavaScript Runtime engine called V8.
JavaScript is fully supported by all modern browsers and works seamlessly with HTML/DHTML, CSS3 and background services via AJAX.
AJAX (Asynchronous JavaScript and XML) and XMLHttpRequest allow for more efficient design to ask the server for information without reloading a web page.
Developers have written several very good libraries to support the language and allow it to easily manipulate web pages with just a few lines of code (like jQuery)
Using JavaScript you can easily create objects and use special OOP design patterns, but flexible enough to not force using OOP.
Any error you run into can be traced back to the exact place it occurred using developer tools.
Popular browsers have adapted to giving power users enough freedom to look under the hood and see or even change the JavaScript that’s running behind your favorite sites.
Suited for very rapid and flexible development.
JavaScript does not need to be compiled, so all you need to write it is notepad or any other plain text editor.
JavaScript is easy to pick up because of the very flexible nature of the language, is widely standardized across common browsers