Web development with Javascript
JavaScript
JavaScript
is an
interpreted programming language. It follows the ECMA Script
specifications.
JS allows to create interactive web
applications and web sites using its pure functionalities,libraries and
frameworks.
Js is lightweight
and dynamic.It allows allow client-side script to interact with the user
and make dynamic pages with some object oriented capabilities!
Is JavaScript Object Oriented?
JavaScript is object-oriented, but is not
a class-based object-oriented programming language,
it is a object based programming language.It can support OOP because supports
inheritance through prototyping also properties and methods. You can have
polymorphism, encapsulation and many sub-classing paradigms
Java vs JavaScript
`When JavaScript
was created, it initially had another name: “LiveScript”. But Java was very
popular at that time, so it was decided that positioning a new language as a
“younger brother” of Java would help.
But
as it evolved, JavaScript became a fully independent language with its own
specification called ECMAScript, and now it has no relation to Java
at all.`
>>>>>> Usage
of JavaScript
- Web
development
- Web
Applications
- Presentation
- Server
Application
- Games
- Web
Server
- Art
- Smart watch
applications
- Mobile
applications
- Flying
Robots
>>>>>> Advantages of
JavaScript
- Less server
interaction − You can validate user input before sending the page off
to the server. This saves server traffic, which means less load on your
server.
- Immediate
feedback to the visitors − They don't have to wait for a page reload
to see if they have forgotten to enter something.
- Increased
interactivity − You can create interfaces that react when the user
hovers over them with a mouse or activates them via the keyboard.
- Richer
interfaces − You can use JavaScript to include such items as
drag-and-drop components and sliders to give a Rich Interface to your site
visitors.
>>>>>> Limitations of
JavaScript
·
It does not have any multi-threading or multi-processor
capabilities( JS is synchronous programming language)
·
Does not allow the reading or writing files
Comments
Post a Comment