Skip to main content

Posts

Showing posts from April, 2018

How to get started with MongoDB

In my last post I gave you all a brief introduction about NoSQL databases and its uses. As I mentioned in my last post , in this blogpost I'll give you all an overview of MongoDB and how to get started using MongoDB. Basically MongoDB is a document-oriented, NoSQL database and it can be rated as the most popular and widely used NoSQL database. MongoDB is free and open source , therefore anyone can simply download it from their site and start using it in their applications. It stores data as JSON(JavaScript Object Notation) like documents with schemas. In fact, data is actually stored in MongoDB as BSON objects. BSON is very much similar to JSON except that it is the binary representation of JSON. Unlike JSON, BSON is optimized for performance and navigational abilities. Typically data will be stored in the format shown on the following picture.  Key features that had contributed to the huge popularity of MongoDB are as follows: Support Ad hoc queries together JavaScript ...

A head start for working with NoSQL

What is this 'NoSQL'? If you already have heard of NoSQL, then you'll probably might have heard of MongoDB as well. Why is that? Because these two terms are kind of interrelated with each other, as MongoDB is the most widely used application of the NoSQL technology. But, before peeping our heads into MongoDB, lets have a look at what NoSQL is.  To understand about NoSQL, we should have at least a basic understanding about SQL. SQL stands for Structured Query Language. If you ever had worked with databases ,specifically relational databases , then you might already have had hands on experience in SQL. A relational database is a data store where data is organized into relations or tables. Basically SQL is used to manage and query data from relational databases.  As the name itself suggest NoSQL , means 'non SQL' or 'non relational'. A NoSQL database allows us to store and retrieve data from a data store which is modeled in means other than the tabular...

A noob Introduction to Spring and Spring Boot Frameworks

How many of you guys have heard about Spring and Spring Boot frameworks? If you are a so called "Java guy" , you'll probably have heard and might have even worked with these two frameworks. In this blog post I'll give you all a brief introduction to these two frameworks , including a comparison between these two. In the latter part of this post I'll show you how to create a simple Spring Boot application in 5 minutes. So what is this Spring Framework? Spring is actually a very popular application development framework for the Java platform, specifically useful in developing enterprise Java applications.  There are several reasons behind its popularity among the Java community: Inversion of Control Aspect- Oriented programming  Data Access  Transaction Management Model-View-Controller architecture Remote access framework Despite all the above mentioned features spring has become mostly famous for Dependency Injection(DI) with the favor of  Inversion...