Category: Web Development
Factory Pattern in React Js
We create a function that will dynamically create our components based on the payload rather than writing numerous if statements. This procedure is called factory function. This is how our app currently appears. In a nutshell, the factory pattern is
Events in Codeigniter
In Codeigniter, when it runs it follows a specific execution process. So, in CodeIgniter 4, we can use events to perform certain actions that we want to occur at a specific point in the execution process. For instance, we might
How to Delete files from azure storage using python
First, install azure-storage-blob module. pip3 intall azure-storage-blob Then import ContainerClient: from azure.storage.blob import ContainerClient After that get your Credentials “Connection string” from the Microsoft official site https://portal.azure.com/#home inside the storage account option. After that just follow the below-mentioned code: from
Explain the Server Session State pattern with an example in C Sharp
Server Session State is a design pattern used in web applications to maintain the state of a user’s session on the server side. This means that instead of storing the session state on the client side (e.g., in cookies), the
The role of DevOps in software development
Role of DevOps DevOps is a rapidly growing practice that combines the roles of software development and operations to improve collaboration and efficiency in the software development process. The goal of DevOps is to deliver software faster, with higher quality
Dispatch event from child to parent in LWC
In LWC (Lightning Web Components), you can dispatch an event from a child component to its parent by using the standard CustomEvent API. Here’s an example of how you can do it: In the child component, create a custom event:
LWC using the aura component
Step 1: Launch the developer console and add a lighting component (also known as an aura component). Step:2 Fill in the details in the pop-up box below and click “Submit.” It will create a component like the one below. Download
Comparable Interface in Apex
When we have to sort a custom object list, based on a field, we try doing it by SOQL query ORDER BY but sometimes due to any constraint or some complex requirements we need to sort the list in Apex
How to work with Button to Delete records from List view Page of Subject
The below Screenshot is showing delete button on the list view page of the object. Following is the code for the same (clicking the Delete button on the list view page which will get a list of Ids of select