Skip to main content

JavaScript-application



JavaScript is a programming language that can be included on web pages to make them more interactive. It can be used to check or modify the contents the contents of forms, change images, open new windows and write dynamic page content. We can use JavaScript with CSS (Cascade Styling Sheets) and DHTML (Dynamic Hypertext Markup Language). These allows you to make your web application attractive.

JavaScript is a client side, interpreted, object oriented, non-blocking io, asynchronous, dynamically typed, event driven, high level scripting language and java is a client side, compiled, object oriented high level language. Now let’s see what these means:





  • ·         Client Side: Programs are passed to the computer that the browser is on, and that    computer runs them. The alternative is server side, where the program is run on the server and only the results are passed to the computer that the browser is on. For Examples: PHP, Perl, ASP etc.

  • ·         Interpreted: The program is passed as a source code with all the programming language visible. It is then converted into a machine code while it is being used. Java is actually a dual half compiled (to 'byte code') before it is passed, then executed in a virtual machine which converts it to fully compiled code just before use, in order to execute it on the computer's processor.

  • ·         Scripting: Scripting languages are often used for performing repetitive tasks. Although they may be complete programming languages, they do not usually go into the depths of complex programs, such as thread and memory management. Instead they use another program to do the work and simply tell it what to do.

  • ·         High Level: Programming languages written in words that are as close to English as possible. The contrast would be with assembly code, where each command can be directly translated into machine code


JavaScript Classed and Objects.

When creating classes, we use a constructor function is used with the ‘new’ keyword. When a function is used with a ‘new’ keyword then that function acts as a class. When creation objects we use object literals ({}). These objects are considered as singleton. When ‘new’ keyword is used, new object is created, and I assigned as ‘this’ for the duration  of call to the constructor function.

JavaScript also supports static methods and variables.

Comments

Popular posts from this blog

Handle MongoDB with WebStorm in Windows

Normally MongoDB is handle by using Windows command line interface. But it is little bit difficult to deal with. Therefore instead of Windows CMD,   we can use WebStorm Terminal to handle the MongoDB commands and all the stuff. First of all there should be two requirements to begin with this process. MongoDB should be properly install to the computer and MongoDB bin folder path should be set as environment variable. WebStorm should be completely install to your machine.(download link:- https://www.jetbrains.com/webstorm/download/#section=windows) There are simple three steps to do . install Mongo Explorer plugin to the Webstorme IDE                  + Open the WebStorm IDE and create an empty project                  + Go to Files >Settings>Browse repositories.                  + Search for 'Mongo' an...

Introduction to AngularJS for beginners.

AngularJS is a framework developed from the JavaScript for front-end developments of a web application. It allows us to create web application with dynamic behaviors. AngularJS follows MVC (Model View Controller) architecture and it has an amazing feature called 'two way data binding'. That means changers that are done to the HTML content will appear real-time to the script and changers that are done for the script will appear to the HTML content instantly. There are more reusable inbuilt components available with Angular and those components will give very attractive features to any web or mobile application. Because of its re-usability and easiness we can create any dynamic web application within few minutes. There are many versions available in Angular. Recently they released Angular 4.0 stable version to the community.  Angular 2.0 and 4.0 are little bit similar to each other. But Angular 1.0 is completely different with above versions. It is the oldest versi...

Robotic Process Automation

Introduction Robotic process automation is very important Technology in future world. This technology can be use to any kind of Business. By using the RPA, day to day repetitive business  tasks can be automated using software robots. Most of business use this technology because they can maintain good productivity and accuracy of their business process because of this. There are many tool available in the world to do the RPA. Among those tools Accello is very powerful automation tool implemented by VirtusaPolaris. By using this tool any kind of business process can be automated.Mainly it can do desktop automation and web automation using this tool. In addition to that various kind of automation are available in this tool.  This tool uses Java and JavaScript to handle the back-end of the application and AngularJS is used for the front-end.  OrientDB  is used as the database. It is powerful No-SQL graph database. Because of these new technologies many b...