Author: Pradeep Maurya
Regional Current Affairs Jan 2019
National | Current Affairs Jan 2019
Express and Node JS Interview Questions & Answers
1. What is node.js? Node.js is an open-source, cross-platform JavaScript runtime environment built on Chrome’s V8 JavaScript engine. It allows developers to execute JavaScript code outside of a web browser, making it possible to run server-side applications using JavaScript. Node.js…
Expand +International | Current Affairs Jan 2019
Foreign Affairs | Current Affairs Jan 2019
Best Guide to Optimize a WordPress Website in 2019
What should be kept in mind when optimizing WordPress? 1. Choose a Good and Reliable Web Host Choose the right host for your WordPress website, which offers excellent speed and support. There are a number of factors to consider before plunging into any type of hosting plan, no…
Expand +What is Callback Hell?
addition(2,function(addRes,err){ if(!err){ Subtract(addRes,function(subRes,err){ if(!err){ multiplication(subRes,function(mulRes,err){ console.log(mulRes); }); } }); } }); function addition(val,callback){ callback(val+5,false); } function Subtract(val,callback){ callback(val-3,false); } function multiplication(val,callback){ callback(val*5,false); } In the above code, there is three operation addition, Subtract and multiplication. Which is using a callback…
Expand +Basic Difference Between Callback and Promise
Callback: A Callback is a function that we call inside another function. A callback may or may not performed asynchronously. Normally callback runs after the parent function completes its operation. function calculate(x) { return x+2; } function display(y) { //execute…
Expand +Dynamically Add Watermark on the Uploaded Image Using PHP
Step 1.Make an index file (index.php) and Below Code Select Image File to Upload: Upload File: How to Generate PDF with Watermark in PHP using Dompdf Conclusion This is how to add WaterMark to an image using PHP. You can…
Expand +