Category: Web Development
Null Object Pattern in C#
The null object pattern is designed to handle the null exception of objects without implementing too many null checks in the application. This is done by identifying the behaviour that should occur when a null is encountered and declaring a
MVC Pattern in C Sharp
Introduction MVC stands for Model View Controller. It is a software architectural pattern that splits the application into three parts: model, view, and controller. The model is the data, the view is the user interface, and the controller connects the
Inheritance in Apex
Inheritance is a feature of OOPS that allows us to inherit the properties or methods of a class. The base class acts as a parent, the class that is inheriting is called the child class. The child class has access
Object Pool Design Pattern
Definition While building applications, there are objects that are expensive to build in terms of the system resources that they require. Creating such objects, again and again, will impact the overall performance of the application. To prevent the overall work
If you forgot the Administrator password for widnows EC2 machine
Problem: If you forgot the Windows EC2 machine Administrator password other than the default auto generated password provided by AWS after using the key pair while launching the EC2 machine, and still you can’t access the EC2 windows machine with
Drag and drop .url issue
Chromium-based browsers (chrome and edge) recently produced issues related to drag and drop hyperlink HTML elements. I had a list of file names in the grid in my application and file names were created as hyperlink (<a></a>) elements which were
NodeJs ZLIB – Zip and Unzip files using Nodejs
Compression and decompression of files also mean to zip or unzip files using Nodejs. It is implemented in Nodejs using the Zlib module. We can access Zlib using the following command. const zlib = require(‘zlib’); Zip and Unzip of files
Tab view in React-Native
It provides various packages to create tabs like views in the application. So react-native-tab-view is one of them. This component is implemented using the react-native-pager-view which is another component that allows the user to swipe left or right throughout the
LWC to create a custom editable datatable.
LWC also provides a standard editable datatable, but it can’t be flexible in design. So we can create a custom datatable by using LWC in the following way, in which we can make changes as per our needs. LWC HTML