Sunday, March 12, 2017

Introduction to javascripts



Java scripts are used for front end development in web sites. It used to control web pages both client side and server side and it support for OOP(Object oriented programming) and object oriented programming.


Java script is a very powerful language and java script has nothing to do with java. If you are willing to be web developer this is an essential language for you. Main use of java script is, it reduces network traffic. Because many java script codes are compiling in clients browser. So no big network traffic for web servers. That means faster page loading for end users (better user experience).This is why java scripts become popular today. We can control part of web page with java scripts.

Let’s see some advantages of java scripts.

  • Speed - executing in client side so loads faster.no need to wait for response from server.
  • Simple - Easy to learn & implement.
  • Can use to create graphics and animations.(no slowing, because client side processing)
  • Can extend functionalities to web sites.

What are the disadvantages?

  • There are some security issues. The code is executing at the user’s pc. so that can be used for malicious activities .so it becomes harmful to the user. In modern browsers users can disable java scripts if user likes. But disabling this may cause misbehaving of web sites and users cannot get the best experiences.
  • In different browsers java scripts acting differently. It means if we open same web page using different browsers we can see different look of same web page. So if you are a web developer keep in mind, before deploying your site test it on every possible major browsers.

No comments:

Post a Comment