Software Engineering (Backend Stuffs Every Developer Must Know)

print("Hello Developers") console.log("While you learn") system.out.println("You shoud Implement") cout<<"That's what I am" printf("Doing")

Let's get straight to the point -

  • Modules and Libraries - While working with frameworks, there are 100s or 1000s of pre-installed libraries that we can use to make our application great and reliable like for rendering the page we have a pre-written library containing render function. We can also use third-party libraries to insert new functionality into our application like machine learning techniques using TensorFlow, etc. Modules are codes written by us in our application to make it simple and easy to understand. Unlike monolithic architecture, modules help us to separate different functionality and avoid unwanted errors. Think about the code you have written on a database that has some parameter 'X'. Now you want to show that parameter value into your HTML page, then you will have to import the database module into your express or Django server file and send it along with routes.
  • Routes, Routing, and Dynamic Routing - Everyone has seen this URL (google.com). Let me break down for ya.... www - conventional way of writing URLs. google - domain name .com - domain type This is enough to write and run the site in browsers but for local development, we use localhost (127.0.0.1.ABCD/) where ABCD is a computer port that allows them to send and receive the data. Now, the main part is looking at the '/' symbol I mentioned in the above localhost. These are called routes which help us to make different web pages and services for our application like abc.com/about, abc.com/contact, abc.com/careers, and so on. Routing is simply going back and forth to these routes. Dynamic Routing involves the MVC architecture that allows us to routes the data in the databases. If the data is not present, it will throw an error.
  • REST APIs - Representational State Transfers are the way to talk to services offered by your or other application. For example. -

    1. If you want to simply get the data from the page, you should use GET request.
    2. If you want to simply add or update the data on the page, you should use POST request.
    3. If you want to simply delete the data from the page, you should use the DELETE request.
  • JSON - Most of the data we are getting from different applications in our application are in JSON format which stands for Javascript Object Notation. JSON is used because we can't simply send the complex data directly as plain text. It helps us to bind the data as an object and send it over the connection. For images and videos, JSON also has encoding features.
  • Database Concepts - Either you are using SQL or NoSQL, a database system is always needed to make a dynamic web application. So with that said, database objects are stored in such a way that they can easily access and used as the authorization and authentication processes.