Bootstrap

Introduction to Liferay DXP: A simple way of web development.

Reading Time: 4 minutes Introduction Liferay Portal is an open-source enterprise portal software, which provides companies with a single platform to manage all their content and applications. It brings together all the disparate systems in your business, such as email, intranet site, knowledge base, discussion forum etc. Liferay DXP is an extension of Liferay 7 CE (Community Edition) and contains additional modules such as EJB container and JMS broker Continue Reading

Manipulating Server returned dates at client Side in Angular

Reading Time: 2 minutes Hey Visitor, Have you ever faced an issue with the date values on your website, when the date and time returned from server doesn’t change according to the client timezone , for eg. values returned from server at US will be different for a client at India so we need to manipulate the received time according to Indian Time Zone. So recently, I encountered this 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

Web Components, the Next Generation Web Development Markup

Reading Time: 2 minutes A lot of progress has been made since the introduction of the Web Components back in 2011. Basically Web Components are the sets of several separate technologies. You can think of Web Components as reusable UI (User Interface) widgets that are created using open Web technology. They are part of the browser, and so they do not need external libraries like jQuery, mootools and Dojo. Continue Reading

Getting started with ReactJS, Play 2.4.x, Scala, Anorm and WebJars

Reading Time: 2 minutes playing-reactjs This blog describes a basic example to render UI using React(A JavaScript library for building user interfaces) with Play 2.4.x, Scala, Anorm and WebJars. It also demonstrates the use of evolution in Play 2.4.x This is a classic CRUD application, backed by a JDBC database. It demonstrates: Handling asynchronous results, Handling time-outs Achieving, Futures to use more idiomatic error handling. Accessing a JDBC database, Continue Reading

Play 2.3.x PDF : Basic example for generating PDF documents dynamically from Play Application with the help of play2-pdf module

Reading Time: 2 minutes In this blog I have created a basic example for generating PDF documents dynamically from Play Application with the help of play2-pdf module Play 2.3.x PDF module: This module helps generating PDF documents dynamically from your Play! web application. It simply renders your HTML- and CSS-based templates to PDF. It is based on the Flying Saucer library, which in turn uses iText for PDF generation. Continue Reading

AWS Services: AWS SDK on the Scala with Play Framework

Reading Time: 3 minutes playing-aws-scala The following blog and attached code represent a simple example of Amazon Web Services in the Scala way with Play Framework using AWScala but in this blog I have implemented only Amazon Simple Storage Service (Amazon S3) functionalities. AWScala: AWS SDK on the Scala REPL AWScala enables Scala developers to easily work with Amazon Web Services in the Scala way. Though AWScala objects basically Continue Reading

Playing JSONP : A basic example to integrate JSONP mechanism in Play Application with the help of play-jsonp-filter module

Reading Time: 3 minutes Playing JSONP Basic example to integrate JSONP mechanism in Play Application with the help of play-jsonp-filter module play-jsonp-filter This filter enables JSONP on your existing API: any resource that returns a JSON content will return a JavaScript fragment if there is an additional callback parameter in the query string. For example, if the resource /foo gives the following JSON result: {“foo”: “bar”}, the resource /foo?callback=f Continue Reading

Google reCAPTCHA: Basic example to integrate Google reCAPTCHA in Play Application with the help of play-recaptcha module

Reading Time: 2 minutes Playing with Google reCAPTCHA Basic example to integrate Google reCAPTCHA in Play Application with the help of play-recaptcha module Play reCAPTCHA Module This is a Play Framework module, for Scala and Play 2.x, to provide integration with Google reCAPTCHA (version 1 or 2) in a reactive (non-blocking) manner. Used Play reCAPTCHA module to integrate Google reCAPTCHA API Embedded JS & CSS libraries with WebJars. Integrating Continue Reading

Tutorial #2: Using WebJars, jQuery, Bootstrap & Bootswatch with Play application

Reading Time: 2 minutes We have already discussed about the Play development environment in Tutorial #1. So, In this blog we would set up the WebJars, jQuery, Bootstrap & Bootswatch with Play Framework which would drive us through rest of the tutorial series. We would be running this blog as a series and we would be looking at various aspects of play with this blog. In this tutorial we Continue Reading

Play i18n Messages: Playing with i18n messages of Play Framework on client-side

Reading Time: < 1 minute Playing JsMessages The following blog and attached code represent an example to compute localized messages of Play Application on client side. Basically, Play JsMessages library takes the i18n messages of our Play application, sends them to the client-side as a JSON object and defines a JavaScript function returning a message value from a given language and the message key and arguments. Used Play JsMessages library Continue Reading

Play-Slick-PostgreSQL: Reactive Play application with Slick extensions for PostgreSQL

Reading Time: < 1 minute playing-slick-pg Building Reactive Play application with Slick extensions for PostgreSQL This is a classic CRUD application, backed by a PostgreSQL database. It demonstrates: Handling asynchronous results, Handling time-outs Achieving, Futures to use more idiomatic error handling. Accessing a JDBC database, using Slick. Achieving, table pagination and sorting functionality. Embedded JS & CSS libraries with WebJars. Play and Scala-based template engine implementation Integrating with a CSS Continue Reading

How to implement infinite scroll on canvas using paper.js

Reading Time: 2 minutes We make drawing on canvas using paper.js. In this blog, i would explain that how can we implement infinite scroll on canvas. Suppose we have a fixed size canvas : <canvas id=”myCanvas” width=”2500″ height=”1000″></canvas> But we want to implement infinite scroll i.e. we can draw infinite items on canvas using paper.js. As we will either scroll down or scroll up, then it should scroll infinitely. Continue Reading