scala.js

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

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

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

Why Scala.js is preferred language for front-end development

From last few years, I have been working on Scala as a back-end and Javascript as front-end for web application.  It becomes very painful, when I have to refactor a large Javascript code base, written by someone else. There are also many annoying language warts. I tried to use other front-end framework, targeting JS but wanted to use same platform to go all the way Continue Reading

Easiest Way to Implement Google Map in Scala.js

In this blog, I would explain how to implement Google Map in scala .js. If you are developing your web application in Scala and you want to write javascript functionality in Scala then you should go with scala.js. To implement Google Map in scala.js, please follow below steps:- 1) Add below code in your HTML file <script src=”https://maps.googleapis.com/maps/api/js”></script> <div id=”map_canvas” style=”height: 430px; width: 512px;”> 2) Continue Reading

Scala’s evolving ecosystem – Introduction to Scala.js

In this MeetUp, We introduced Scala.js as Scala’s evolving ecosystem. Scala.js- A scala to JavaScript compiler. If We are developing any web application in Scala, we don’t need to sacrifice javascript interoperability. Scala's evolving ecosystem- Introduction to Scala.js from Knoldus Software LLP

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!