Why Mobile Friendly Website is Necessary For Your Business?

Nowadays, digitalized connected marketplaces, everyone needs a responsive site for their business with the goal that people can access them right from their mobile phones. Peoples are currently comfortable with the versatile mobile-friendly websites which they can...

Introduction To Bootstrap 4 Flex Layout

In Bootstrap 3 and for the most of the websites, the only way to build multi-column layouts was to set column widths and use floats. Then on mobile, you would just remove the float and width property so that it would change to be one column. Now with Flexbox, this is...

Storage Class in C

When we declare a variable in c, two things are always attached to the variable, data type and storage class. Storage class defines the extent (lifetime), default value and scope (visibility) of the variable in the program. Every variable gets some physical location...

Upload an image to amazon S3 bucket with Sails Js.

Hello guys, In this blog, we will discuss how to upload an image to Amazon s3 bucket. Amazon s3 provide online storage service. In the Amazon s3 data stored in the bucket. A bucket is just like a folder which contains your data for this we have to create an Amazon web...

Camel Load Balancer Enterprise Integration Patterns

Camel provides lots of solution for different-different problems, Camel Load Balancer EIP solution is one of them. This is one of best option when we need to distribute the messages between the predefined set of endpoints using a different-different load balancing...

Ionic 3 Performance boost and tips

Ionic is a framework used for making hybrid applications, the best part is that you just write the code and you can have the apk and ios build. The following are some points which you might find useful while making an ionic application. Note:- The points made are from...

Writing middleware for use in Express apps

Overview Middleware functions are functions that have access to the request object (req), the response object (res), and the next function in the application’s request-response cycle. The next function is a function in the Express router which, when invoked, executes...

K-Nearest Neighbors: Classification

The k-NN Classifier Algorithm Given a training set X_train with labels y_train, and given a new instance x_test to be classified: The k-NN Classifier simply memorises the entire training set. And then to classify a new instance does 3 steps. First, it finds the...

Transactional behaviour in Grails

During my interaction with several programmers, I came to know that many of them including experienced ones don’t know the meaning of transactions or we can say transactional behaviour. I am going to explain what is a transaction in the context of Spring/Grails....

JSON Converter in Grails

JSON is a user-friendly format for structuring data into text format. This text can be easily sent to and from a server. Grails framework provides us with an efficient way to convert domain objects, lists, arrays and other different types of objects to JSON Objects,...

Integrating a rich text editor using JavaScript

Hello Guys, Today I am coming with a very interesting topic named ‘Rich Text Editor’. As textarea is a common requirement in frontend form, but in textarea, we can use only normal text. Sometimes we have a requirement to use text editor where we can use...

Create bootstrap Accordion

Hello All, Today, I am going to explain how to create bootstrap Accordion Let’s start coding and follow the below steps. We will need the jquery js script jquery-1.12.4.js. copy the jquery-1.12.4.js from the (https://code.jquery.com/jquery-1.12.4.js) and paste...

Working with Moment.js library in Node.js

Hello All, Today, I am going to representing front of  you how to work with Moment.js library in Node.js. What is Moment.js ? Moment.js is a Javascript library for parsing, validating, manipulating, formatting and displaying dates and times. Why use Moment.js ? It...

Events in Spring security

Events can be very useful in application development. When we want to intercept a particular action throughout an application, we can make use of events. Let’s take an example of spring security event InteractiveAuthenticationSuccessEvent. When a user is...