There are many ways to make iOS swipe button with toggle effect: But CSS and CSS3 is the best way to make these buttons because of its light weight. Here is the image of what we are going to make: Let’s start with the HTML code In this I have used checkbox to use the […]
Sometimes we need to access details of current logged in user but that will be an additional database query. To save that query we can use principal object of Spring security which provides details of logged in user . But by default principal object have few fields like id, username and password. If we need […]
Aligning an element the way we want is never an easy task, especially when a non-UI developer is doing it and this problem worsens when we try to align that element Vertically-Center. Although doing it using patches is not difficult, but doing it the right way is a challenge. Here you’ll find some cool CSS […]
What if our use case is to perform any custom task for login and logout while keeping the beauty of spring security intact. My use case was to make a third party SOAP API call to perform login/logout sending user’s detail as parameter. Override Login Write own Authentication Provider class that extends AbstractUserDetailsAuthenticationProvider and override authenticate method. […]
This is a case study to analyse the best features of a few video based mobile applications. 1. DUBSMASH Lets start with the most trending app – Dubsmash. I am sure most of us have used or at least heard of this app. Its one of its kind, as it is a video messaging app. This app […]
Groovy is an expressive language, that is what we are going to talk about making the usage of “with” method for specifying closure delegate and making our code more succinct (brief and clearly expressed). In my recent project, I was writing a code to resolve tenant and setting some properties to object tenant. resolver.tenant.subdomain = “india” resolver.tenant.username […]
Hi, In this blog we’ll learn how we can inject configuration properties in a springBoot application and what are the benefits of spring boot over spring while injecting configuration properties. There are two ways to inject our configuration properties:- 1. By Using @Value annotation (Spring 3.0+ And Grails 3.0) 2. Typesafe Configuration Properties (Sring-Boot) Lets suppoese […]
Groovy 2.4 was released in January 2015, with native support for Android development. It allows to write Android applications fully using Groovy. Running Groovy on Android Step 1: Create a new Android project in Android Studio Step 2: Open this build.gradle (Module: app) file: Insert the following code before the first line: [java]buildscript { repositories […]
Colours play a very vital role in our lives. All colours convey some message, they represent different characteristics and they evoke emotions. While creating brand identity, companies/organisations usually choose their brand color on the basis of what they want to convey to their targeted audience. Lets see what organizations around the world depict through their […]
Javascript ninjas from TO THE NEW Digital travelled all the way to Bengaluru for JSChannel Conference 2015. DAY 1 The weather was perfect to start the first day of the conference. There were renowned Javascript aficionados present from all around the world. The day was kicked off with the keynote by Douglas Crockford(Author of […]
Redevelopment of a website is often triggered because of three major factors: The current website is built on the technology stack which is now obsolete Redesigning/Revamping the existing website, either to address the weaknesses in the current system or to add significant features Switching to a new technology platform, such as a new Content Management […]
imgscalr is a simple and efficient image scaling library implemented purely in java and provides a handful of operations for image manipulation. This library can be useful in creating thumbnail or preview images of various sizes from larger uploaded images or performing basic image manipulation operation, incuding scaling, cropping, rotation etc. imagescalr is a set […]