Object-relational mapping (ORM, O/RM, and O/R mapping tool) in computer science is a programming technique for converting data between incompatible type systems using object-oriented programming languages. This creates, in effect, a “virtual object database” that can be used from within the programming language. There are both free and commercial packages available that perform object-relational mapping, although some programmers opt to construct their own ORM tools.
Choosing an ORM or query builder for your Node.js app can be daunting. …
In this blog, we will talk about all different libraries and technologies involved in covering all different kind of testing like
All these kind of testing is covered using some of the other library, simple libraries like jasmine, mocha, chai, and Sinon
In this playlist, I have a…
Node JS Graphql World using Yoga, Apollo and Prisma, it all about Building Graphql APIs using different possible way [NestJS, Express]
In this playlist, i am covering all about graphql from beginner to advance level teachings
We will talk about graphql with different ORM Library and different frameworks starting with basic yoga-graphql
Fully-featured GraphQL Server with focus on easy setup, performance & great…
Here I have covered 200 + Questions tricky questions to prepare for Interviews
Some examples are —
The arguments object is an Array-like object accessible inside functions that contain the values of the arguments passed to that function.
But it’s not like other arrays, we can access the values and we can get the length, but no other array methods can be used on it.
Luckily, we can just convert it into a regular array:
var argArray = Array.prototype.slice.call(arguments);
My initial instinct was to use a loop, but that would have been wasteful.
var numbers = [3, 5, 7…
Writing clean code is what you must know and do in order to call yourself a professional developer. There is no reasonable excuse for doing anything less than your best.
“Even bad code can function. But if the code isn’t clean, it can bring a development organization to its knees.” — Robert C. Martin (Uncle Bob)
Follow Proper Naming convention
2. UpperCamelCase (or PascalCase): Class names, including classes that define components, interfaces, NgModules, directives, and pipes…
NPM had announced support for private modules and now its possible to have private or public NPM package which you can publish to Github, Gitlab or NPM repository.
what is NPM Package —
to add these…
I have created Video Course which talks about some general programming questions
Formik is a library that helps us to write forms in React.
forms are really verbose in React. To make matters worse, most form helpers do way too much magic and often have a significant performance cost associated with them. Formik is a small library that helps you with the 3 most annoying parts:
Getting values in and out of form state
Validation and error messages
Handling form submission
By colocating all of the above in one place, Formik will keep things organized — making testing, refactoring, and reasoning about your forms a breeze.
(@jaredpalmer) wrote Formik while building…
It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. On top of that, it provides a great developer experience, such as live code editing combined with a time traveling debugger.
You can use Redux together with React, or with any other view library. It is tiny (2kB, including dependencies), but has a large ecosystem of addons available.
Redux Toolkit is our official recommended approach for writing Redux logic. It wraps around the Redux core, and contains packages and…