Finding the average and the median of an array using JavaScript can be a fairly painless process. If you do it right, it should only take a few lines of code to calculate the correct averages and medians for any given array. The average, which is the sum of all the values divided by the …
JavaScript Libraries to Keep Your Projects On-Trend
Staying on top of modern design trends and learning how to execute them for your websites and projects can be a full-time job…unless you take advantage of these libraries and plugins. The following list of jQuery and JavaScript libraries and plugins will help you integrate some trendy effects (watercolors, video embeds, and fading transitions, to …
Your Guide to the 4 Best GUI for Managing MongoDB
MongoDB is an open source, NoSQL database that is incredibly dynamic. For some users, MongoDB databases and their content can be best accessed using a GUI (graphical user interface), which is essentially like a dashboard to manage the database and manipulate the data. There are many free MongoDB graphical user interfaces out there, and some …
5 Ways to Streamline Your Node.js Applications
Node.js is already a really efficient way to build quick web applications, but there’s always room for improvement. Think about implementing any of these tips into your Node.js app if you’re looking to speed up or clean up your applications. Use Caching Caching is such a simple way to improve the performance of your Node.js …
Spring Boot Vs Dropwizard
It is always an interesting and exciting task to compare two popular frameworks. This time the contenders are two of the most popular microservices frameworks in Java. In this tutorial, I am going to compare the various aspects of Spring Boot and Dropwizard. I have been working on Spring Boot for almost a year and …
HOW TO Write REST API using DropWizard
This tutorial is beginners guide for learning how to build and deploy your first Dropwizard applications. In this tutorial, I explain the basic concept of dropwizard and how to write a simple REST services using this framework. I have been working on Spring Boot for the last couple of months and very much inspired by …
Spring Boot Configurations
Spring Boot uses application.properties or application.yml for configuring the various application level settings. As we are aware that spring boot works with the opinionated default values that are more sensible to your applications. Most of the time you may prefer to override the default values with your own configurations. In this tutorial I am going …
@RequestMapping Annotation in Spring MVC
@RequestMapping annotation is used for mapping web requests to particular handler classes or handler methods. The classes or methods that are annotated with @RequestMapping will be scanned and registered as the URI mappings for that specific class or method. Any future web requests will be redirected to that class or method. This annotation is part …