Posts

What is Springboot and its Advantages

Image
Spring Boot is a way to bootstrap any Spring application or create it quickly. Here's Spring Boot's official definition. Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". Spring Boot helps you to quickly create any Spring application. It provides default configurations that help you avoid a lot of hard-to-maintain boilerplate code. Advantages of Spring Boot It provides many default configurations to help you create the Spring application more quickly. It comes with a tomcat or jetty server embedded, so you don't have to deploy jar. By avoiding a lot of boilerplate code, it reduces development code. As you can quickly create a Spring application, it increases productivity. It provides plenty of starting project for easy integration. You don't have to worry about the mismatch version. With the spring boot initializer, you can quickly create a sample project

Introduction to Maven

Image
Maven is a very flexible build tool. To understand it, you need to understand the following concepts: projects and the POM plugins and their goals build life cycle and phases packaging types dependency management and the local repository Projects and the POM The work unit in Maven is a project. Each project has its project object model (usually shortened to POM) defined in pom.xml, an XML file containing project information and details on how to build the project. The POM of a project can inherit from the POM of another project to form a hierarchy of POM inheritance; this is the mechanism used in Maven to avoid duplication. Eventually, the Maven Super POM inherits all POM files. Plugins and their Goals Maven is a plugin based execution framework. Each plugin defines one or more goals. Compiler plugin  - compiles Java code Surefire plugin  - runs Java tests Checkstyle plugin  - analyzes Java source code Cobertura plugin  - runs unit te...

Introduction of React

Image
React is a library based on components that are used to develop interactive user interfaces. It is currently one of the most popular front-end JavaScript libraries with a strong foundation and support from a large community. NOTE: ReactJS is just a front-end library and not the entire framework dealing with MVC's View component (Model–View–Controller). Everything's a component in ReactJS. Consider a Lego house as a whole application. Then compare each of the lego blocks to a building block component. To build a larger and dynamic application, these blocks/components are integrated together. The greatest advantage of using components is that at any point in time you can change any component without affecting the rest of the applications. When implemented with larger and real-time applications where data changes frequently, this feature is most effective. ReactJS automatically updates the specific component whose state has actually changed every time any data is added or ...

Basic GIT commands

1. Create a New Repository # Create a new Git repository in the current directory. $ git init # Create a new directory and initialize it to the Git repository. $ git init [project-name] # Download a project and its entire code history. $ git clone [url] 2. Configuration The setting file for Git is  .gitconfig , which can be placed under the user's home directory (global configuration) or under the project directory (project configuration). # Display the current Git configuration. $ git config -- list # Edit Git Configuration File. $ git config -e [-- global ] # Set the user information when submitting code. $ git config [-- global ] user.name "[name]" $ git config [-- global ] user.email "[email address]" 3. Add/Delete Files # Add the specified file to the Index. $ git add [file1] [file2] ... # Add the specified directory to the Index, including subdirectories. $ git add [dir] # Add all the files in the current directory to the Index. ...

What is MongoDB?

Image
MongoDB is an unstructured database that is popular for speed, easy-to-use, and scalability. The problem with Structured Data A relational database follows a column-defined structure in a table. Using SQL (Structured Query Language), you communicate with a relational database. The problem with a structured database is that it can become too structured to create and design a good database, requiring a lot of resources. For example, If you have a table with five columns for customer details but one particular customer has an extra detail you didn't account for; this would be a real pain to solve in an RDBMS model. The Solution NoSQL (Not only Structured Query Language) is a new type of database. Also known as an unstructured database is a NoSQL database. MongoDB is a particular type of unstructured database called a document database. A document database has a list of key-value pairs. Instead of having our data be rows inside a structured table, we can literally redra...

What is Node?

Image
What is Node? It is a runtime of JavaScript; meaning it is a way of running JavaScript outside the browser. Now, it's not the JavaScript that front-end developers are used to because there is no longer a browser to work with. But all JavaScript's core parts remain: arrays, objects, loops, conditionals, architecture asynchronous, etc. This means that if you are able to write JavaScript in the browser, you just need to let go of the browser and write code for anything. Just like PHP, ASP, etc. What are the advantages of learning Node? You don't have to learn a new language to use Node once you've learned JavaScript, and you can use it throughout the stack. Unlike all other languages, you can write JavaScript from start to finish and even accept JSON natively. It works especially well whenever you receive a lot of requests because JavaScript is asynchronous. It's incredibly fast when it comes to traffic handling, and it has any language's largest modul...

An Introduction to JavaScript

Image
JavaScript is a powerful programming language that is used at the front of most of the websites that you access. It makes an interactive website and adds functionality, creating a user experience that is much more satisfying. When you click on a button on a website or see something moving, there is a good chance that JavaScript has been used to make this happen. JavaScript is more of a programming language as it uses traditional coding concepts such as variables and functions to improve the language's performance. Although learning is more difficult, JavaScript is a necessity to explore as it adds so much more to a website than just HTML and CSS static output. You may think of HTML as the site's structure, the look and feel CSS, and JavaScript as a website's functionality and interactivity. On the front end of a website, all three are used, but for different purposes. There is a wide range of enhancements that JavaScript can accomplish. Creating buttons and response...