Caching in Node.js with Redis: A Beginner’s Guide
Caching is a technique to store frequently used data in a temporary storage so that future requests for that data are faster. In Node.js applications, caching can help improve performance and reduce the load on your database. One popular tool
Bootstrap 4 Filters
What is Bootstrap 4? Bootstrap 4 provides a lot of components such as Modal, Carousal, Tooltip, etc. But bootstrap does not have a component that allows filtering. However, jQuery be used to filter/search for elements. Filter Tables We can easily
Upgrade Mongodb Extension Version – Laravel Project
Issue while upgrading Mongodb extension version: I have upgraded laravel version from 5.7 to laravel version 6.5. Now, I’m getting mongodb extension version error while updating composer. Error given below: ERROR: jenssegers/mongodb v3.6.0 requires mongodb/mongodb ^1.4 -> satisfiable by mongodb/mongodb[1.4.0,
Adding days to date type in Javascript – Another solution
I have already written a blog on this topic. Please refer to the following link for detail: Click This Link Introduction I will show another solution to add a number of days to a date string. The solution provided in
Repository Design Pattern in C#
Introduction to Repository Design Pattern There are many Design Patterns in .NET, for example, entity design pattern but to overcome some disadvantages of other patterns we prefer to use the Repository Design Pattern pattern. Nowadays, most applications need to access
How to pass dynamic data to all views in Laravel
ISSUE: Sometimes there is a requirement, in which we need to show some dynamic data in the sidebar of every view. SOLUTIONS: The above scenario can be achieved using various techniques in Laravel, which are listed below – We can
Cell Editable On Cell Double Click – DevExtreme DataGrid
How to make cell editable on cell double click in DevExtreme DataGrid DevExtreme DataGrid The DevExtreme provide lots of UI feature with the help of which we can enhance the UI of our Application. In this example, how to make
Image Compression in Laravel
Steps to follow: Install the Intervention image package first in your project composer require intervention/image If you want to check official documentation of intervention image you can check it from here- http://image.intervention.io/getting_started/installation Inside the config/app.php- In providers, add:- Intervention\Image\ImageServiceProvider::class, In
Laravel: Prevent the browser back button to access pages after logout
Introduction When we create a web project in laravel, even after logging out of the project, clicking on the browser back button usually takes us back to the previous page we opened when we were logged in. This is a
Spread Operator and It’s Uses
Introduction The Spread operator was first introduced in ES6. It allows an expression to be expanded in locations where various elements/variables/arguments are required. In other words, the Spread operator lets users expand an iterable like a string, object or array
