Posts

Showing posts from February, 2020
Image
What is NodeJS? NodeJS is an open source server environment and free. NodeJS runs on various platforms( Windows, Linux, Unix, Mac OS X ). NodeJS developed by Ryan Dahl. NodeJS is a platform built on chrome's JavaScript run-time for  easily building fast and scalable network applications. NodeJS uses JavaScript on the server, an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. NodeJS runs the V8 JavaScript engine, the core of Google Chrome, outside of the browser, single threaded, non-blocking, asynchronously programming, which is very memory efficient. This allows NodeJS to be very performant. NodeJS uses asynchronous programming. NodeJS eliminates the waiting, and simply continues with the next request. NodeJS comes with several JavaScript libraries that help basic programming. An Example NodeJS Application, What NodeJS can do? can ge...
Image
What is NoSQL? NoSQL is non-relational Data Management System That does not require a fixed schema(schema free) Easy to scale(Horizontally scalable) Easy replication Open source No transaction support Carl Strozz   introduced the NoSQL concept in 1998. NoSQL is used for big-data and real-time web apps. For example, companies like Twitter, Facebook, Google that collect terabytes of user data every single day. NoSQL database is used for distributed data Stores with humongous data storage needs. NoSQL database stands for "Not Only SQL" or "Not SQL" . NoSQL database includes simplicity of design, simpler horizontal scaling to cluster of machines and finer control over availability. The data structures used by NoSQL databases are different from those used by default in relational databases which makes some operations faster in NoSQL. Why use NoSQL? The concept of NoSQL databases became popular with Internet giants like Google, Fac...
Image
Principles S.O.L.I.D Approaching the Solution Implementing the Solution What is S.O.L.I.D? SOLID principle is a coding standard that all developers should have a clear concept for developing software in a proper way to avoid bad design. This was promoted by Robert C Martin and is used across the object-oriented design scope. It makes your code more extendable, logical and easier to read.   Single responsibility Open-close Liskov substitution Interface segregation Dependency inversion Single responsibility A class should have one, and only one, reason change. One class should only serve one purpose and they should all relate directly to the responsibility of the class. All the methods and properties should all work towards the same goal. A class should be modified as soon its responsibilities changes. It makes your software easier to implement and prevents unexpected side-effects of future changes. Open-close Entities should...