Posts

Mongo DB - 01 (Intro)

Image
I’m going to learn about mongo DB now. Yes yes, it’ll be from scratch because I don’t know anything about MongoDB. When I want to learn a new technology I first google it and find some background details about it. “MongoDB is a cross-platform, document-oriented database that provides, high performance, high availability, and easy scalability.” Oh... What is document-oriented. I’ve worked with RDBMS but not this document-oriented databases. “A document-oriented database is a specific kind of database that works on the principle of dealing with 'documents’ rather than strictly defined tables of information. The document-oriented database plays an important role in aggregating data from documents and getting them into a searchable, organized form.” A document-oriented database, as a particular kind of NoSQL database, is able to 'parse’ data from documents that store that data under certain 'keys,’ with sophisticated support for retrieval. For example, suppose ...

Spring boot -01 (From the scratch)

Image
Today I am going to learn Spring Boot from scratch... Going through video tutorials will bore me. So this is the method I'm using .. First Find a spring boot project from anywhere (Github maybe). Then try to configure it in your environment. You may have to install some dependent applications may be.  However, you will end u with configuring your developer environment to run a spring boot project... Now you know what you needed to run a spring boot application. Then Go through the code and (maybe you have to debug also) understand what have done in the code and feel the result of it... Identify everything you don't understand and learn, follow the documentation, StackOverflow or any other way to learn what the code does actually. Then try to write the same application by yourself from scratch, you have a working project. So no need to worry... Ok, do your thing by yourself. Identify and learn how a spring boot project will look like. I'm going to go build a s...

Angular (before hands on) -01

Here I'm mainly talking about angular 2. After AngularJS, angular2 is released with major changes in the Framework. Changes happened The major change was transferring to TYPESCRIPT from JS. And angular 2 is based on a Component service architecture. AngularJS had an MV* architecture. Let's take a look at the core features of this framework... Module : modules are used to separate the functionality of the application. When you create your initial angular application When you take a module code. (ex:- app.module.ts) there are imports, declarations, bootstrap and can see annotations too. import { NgModule } from '@angular/core' ; import { BrowserModule } from '@angular/platform-browser' ; import { AppComponent } from './app.component' ; @NgModule ({ imports : [ BrowserModule ], declarations : [ AppComponent ], bootstrap : [ AppComponent ] }) export class AppModule { } @NgModul...

Web Services (Road to J2EE) - 02

Image
Let's start hands on, I prefer working on IDEA and I'll create a maven project as this Series hands-on example. For all who don't know about MAVEN, it's a Java Project Management tool or i can tell is it's a kind of package manager like npm. Manages dependencies of your projects and gives archetype which is the structure of the project. search for the archetype of the jersey web app so we can get an initial web app structure for our project. if you don't see any jersey dependancy then click on add archetype and gives the following values. for the mandatory fields.        <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.archetypes/jersey-quickstart-webapp --> <dependency>     <groupId>org.glassfish.jersey.archetypes</groupId>     <artifactId>jersey-quickstart-webapp</artifactId>     <version>2.28</version> </dependency> or go to the maven repository a...

Web services (Road to J2EE)

I'm starting this series of posts about J2EE to get an idea of concepts about restful web service implementations using J2EE. Before we go into Restful web services lets see what is a web service first... Web service Did you ever think of when you are playing a game and it's asking you to post your score in your facebook wall? you don't need to go to the facebook to do so, the game itself gives the ability to post your score. That's how web services come in. Websites like Facebook twitter publish their API's on the web that another application can use. Think about what happens when you visit a website. how it differs with web services. When you want to visit, let's say Facebook, the client makes Http request to the server and the server will respond to the client by sending an Http request. that response is basically an HTML response. But when client call to a web service the response will be an XML/ JSON/ text whatever type of response. Rest web ser...

HTML and CSS - 08

Image
In this post, we are going to learn about how to create HTML tables. Since this is a bit important and a bit complex I will add step-by-step HTML scripts So that you can do it with me.  <!DOCTYPE html> <html> <head> <meta charset= "UTF-8" > <title> Table example </title> </head> <body> <table width= "100%" border= "1" bordercolor= "blue" cellspacing= "2" cellpadding= "2" > </table> </body> </html> let's see each and each attributes used.  Width ----> Width of the table. you can give a percentage value or a metric value for this. We will talk about other options later. border ---->  Thikness of the border. Change the values and see how the border behaves. bordercolor ---> Colour of the border. cellspacing ----> Table have cells. this attribute  places  spacing  around data within each  cell cellpaddin...

HTML and CSS - 07

Image
Today we are going to discuss HTML link creation and the anchor tags.    HTML link creation <a href=""> click </a> Above is the tag we use to create links on our HTML page.  href   --> describe the destination we want to go to when we click the link.  <!DOCTYPE html> <html> <head> <meta charset= "UTF-8" > <title> My page title </title> <style type= "text/css" > p { color : green ; } h1 { color : blue ; } </style> </head> <body> <h1> Machine Learning </h1> <p><b> Machine learning (ML) </b> is the <u> study of computer algorithms </u> that improve automatically <br> through experience and by the use of data. It is seen as a part of <strong><i> artificial intelligence </i></strong> . <br> Machine learning algorithms build a model based ...