Javascript

When I took Angular 2 to build my Application

Reading Time: 2 minutes When I took Angular 2 to build my application, I still had my doubts to go with Angular 2 or some other framework. But after some research, I decided to go with Angular 2. It gives the ability to make Single Page Application in a perfect and viable way. Here are some others reasons / advantages I liked: 1. TypeScript : Unlike javascript, typescript is Continue Reading

Automation Testing of AngularJS Application with Protractor

Reading Time: 2 minutes Protractor is testing framework for AngularJS application .It play the important role to check the angular application.Its a combination of selenium webdriver,nodejs,Jasmine, Cucumber. Now a time most of the application are using javascript so due to using of javascript it increases tester  difficulty to check the web application.So basically when we use the selenium its difficult to us to identify the web element. Protractor is Continue Reading

Object Oriented JavaScript: Polymorphism with examples

Reading Time: 2 minutes Again this is not the advance topic of JavaScript but it relies under Object Oriented JavaScript & polymorphism is one of the tenets of Object Oriented Programming (OOP), we all know what is Polymorphism from other languages (like C#, Java etc) but we always think when to use it, why to use it and how to this, and most of us are still in confusion Continue Reading

A Simple Example using elm

Reading Time: 2 minutes In this blog, we will see how to build a simple application using elm. Elm is a functional language that compiles into javascript with following features:- 1)  Great Performance 2)  No run-time exception 3)  Javascript Interop 4)  Friendly error message 5)  Ability to write functional code Elm is getting popular day by day. According to Slant community, it is the 2nd most popular language, which Continue Reading

Knolx: HTML, CSS and JavaScript coding conventions

Reading Time: < 1 minute Knoldus organized a session on “HTML, CSS and JavaScript style guide and coding conventions”. It covered the best standards to be followed while writing codes in HTML and JavaScript and also,styling using CSS. The basic conventions that we forget while coding are discussed in this session. Hope it will help you in writing a clean and understandable code. Slides for this session – Video for Continue Reading

Functional Programming In Javascript

Reading Time: < 1 minute Knoldus organized a knolx session on the topic : Functional Programming In JavaScript. Covers the Functional Programming Paradigm In JavaScript. You can watch the video of session:   You can check slides as well.   Thanks !!    

Best Practices in Javascript

Reading Time: 4 minutes Javascript has been the most popular and wonderful language for the web development in years and It has certainly got no match. When we write javascript to make our web pages beautiful, interactive & dynamic, most of the time we tend to make some silly mistakes since it is a dynamically typed language we need to be extra careful with it. These mistakes won’t hamper Continue Reading

Play2 Pdf Plugin: JS enabled and disabled browser

Reading Time: 2 minutes In this post I’m going to talk about generating PDF documents in Play web application with the help of “play2-pdf plugin”. Firstly, I want to focus on the criteria that we consider or investigate while generating PDF in our projects: Is it server side or client side pdf generation as client side generation doesn’t work for JavaScript disabled browser. Whether its on the fly or Continue Reading

Introducing Vorlon.js: A Remote debugger for Javascript

Reading Time: 2 minutes Vorlon.JS – Introduction Microsoft released Vorlon.js as an OpenSource. It aims to make debugging and testing websites, hybrid apps, game console or even an IOT- connected refrigerator easier, you can remotely connect up to 50 devices and execute JavaScript in each or all of them. What is Vorlon.JS? Vorlon js itself is a small server you can run from your local machine, or install on Continue Reading

Frontend to Backend: Everything is on Scala using Play, Scala.js and ScalaCSS

Reading Time: 2 minutes In my previous post, I tried to create a pure front-end application using Scala.js and ScalaCSS. So that we can build our front-end also in a typesafe way. But there was no server interaction. This time I have tried to make server interaction using play framework. Since this application is about Weather Information System, so I am  hitting a third party api to get weather Continue Reading

Handle the Kendo Grid Filter on your own way

Reading Time: < 1 minute In the kendo api, the kendo provides the Grid View to show the large data into a tabular form as grid. It collects meaningful data records and have filters on them to categorize data into various groups and choose which meets our requirement best. We can enable the filter by following code in while initializing the Kendo Grid ,   $(“#myGrid”).kendoGrid({ filterable: true, columns: [ Continue Reading

A Pure Scala Front-End application using Scala.js and ScalaCSS

Reading Time: 2 minutes In my previous posts, I created an application ‘Weather Report‘, based on Scala.js and explained how to write test-case in Scala.js using same application.  Earlier I was creating html page using Scala.Js Jquery library.  But code was not very clean and well structured. I started exploring ScalaTags and ScalaCSS to make application more interactive and clean using Scala.js. ScalaTags is HTML construction library for Scala Continue Reading

How to write test-case for Scala.js application

Reading Time: < 1 minute Few months ago, I created a web application ‘Weather Report‘, based on Scala.js.  In this blog, I have explained how we can test our Scala.js application. Since I am still exploring it, so I took help from scalajs-tutorial.  I have used µTest as testing library. // uTest settings libraryDependencies += “com.lihaoyi” %%% “utest” % “0.3.0” % “test” testFrameworks += new TestFramework(“utest.runner.Framework”) Here is example of test-cases: def tests = Continue Reading