Web Development Archives

WOPI based document editor for Office files

Author - Webner
|
0 Comments
|

WOPI based document editor for Office files

WOPI (Web Application Open Platform Interface) protocol is Microsoft’s platform to integrate Office Online within your application. To make use of Wopi, you would require to become a member of the Office 365 – Cloud Storage Partner Program.

The Read more…

Rest CallOut in LWC

Author - Webner
|
0 Comments
|

Rest CallOut can be made in Salesforce in two ways:

Server-side controller (Apex Class)
Client-side controller (Js Controller)

Server-side controller (Apex Class): We can make an API callout from Apex , which provides support for REST and SOAP callouts. Before making callouts from the apex, we Read more…

Mustache Templates in Totara

Author - Webner
|
0 Comments
|

To write blocks of HTML directly in php/javascript by concatenating strings, a template is an alternative. Totara provides the templating language that is called Mustache. This is a new way to render the output. But, the output of using templates and directly using HTML will be the same.

The Read more…

Null Object Pattern in C#

Author - Webner
|
0 Comments
|

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 default object for that instance that should be passed when Read more…

MVC Pattern in C Sharp

Author - Webner
|
0 Comments
|

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 model and view. This Read more…

Inheritance in Apex

Author - Webner
|
0 Comments
|

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 to public and protected methods or variables. Just like every Read more…

Object Pool Design Pattern

Author - Webner
|
0 Comments
|

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 of creating new objects, again and again, the Read more…

If you forgot the Administrator password for widnows EC2 machine

Author - Webner
|
0 Comments
|

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 default auto generated password then follow the Read more…

Drag and drop .url issue

Author - Webner
|
0 Comments
|

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 allowed for dragging. The whole grid Read more…

NodeJs ZLIB – Zip and Unzip files using Nodejs

Author - Webner
|
0 Comments
|

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 can be done by piping the source stream data into Read more…

Tab view in React-Native

Author - Webner
|
0 Comments
|

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 page data. React-native Read more…

LWC to create a custom editable datatable.

Author - Webner
|
0 Comments
|

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 Code for datatable:

LWC JS Code Read more…

How to customize header filter value in devextreme

Author - Webner
|
0 Comments
|

Devextreme provides lots of features. One of them is customizing the header filter value in devextreme that applies to columns.

Sometimes we need to apply our own custom data for filters. Here I will explain how to add our own custom data in the column header filter. The below image Read more…

When to use Record Types Vs Page Layouts?

Author - Webner
|
0 Comments
|

Page Layouts –

Page Layout determines the fields that are displayed to users on a record. They allow us to add fields, sections, links, custom buttons, and a few other features.

Many Page Layouts can be created and applied to different groups of users, with the goal of creating Read more…

Some Tips Useful For Moodle/Totara Theme Customization

Author - Webner
|
0 Comments
|

How to Customize the Login Page from the frontend?

Step 1: Log in to your Moodle site as an admin user and navigate to the Manage Authentication option:
Settings>Site Authentication>Plugins>Authentication>Manage Authentication

Step 2: Now you are on the Manage Authentication Read more…

Nuget packages update – Scripts bundle error caused by Bootstrap 5.x in .net mvc application

Author - Webner
|
0 Comments
|

I recently updated my installed packages from nuget to work with the latest packages, but my .net application stopped working by throwing ‘object reference not set to an instance of an object’. It was displaying the red coloured text indicating the error line which was pointing to the ‘scripts’ bundle Read more…

React-Native-Fast-Image Introduction

Author - Webner
|
0 Comments
|

For the most part, React Native’s Image component handles image caching in the same way as browsers do. If the server is returning proper cache-control headers for images you’ll generally get the sort of built-in caching behavior you’d have in a browser. Even so many Read more…

RabbitMQ

Author - Webner
|
0 Comments
|

You can think of RabbitMQ as a mediator between the two parties. One is known as the producer that produces goods and services and stores them into RabbitMQ. Another one is the consumer that consumes goods and services from the RabbitMQ.

So, RabbitMQ accepts, stores, and forwards binary blobs of Read more…

Code Optimization in C#

Author - Webner
|
0 Comments
|

What is Optimization?

The word Optimization is derived from the Latin word Optimal which means the best. Optimization is a methodology of making a system or decision fully perfect, functional, and effective.

Now, what is code Optimization?

In terms of code, Optimization is the process of Read more…

Upload Image file using AJAX and jQuery

Author - Webner
|
0 Comments
|

This functionality is used when we want to store an image and display it on the screen without reloading the whole page.

Create Html file and write down the following code to upload an image.

The above code will display the screen as following:

Description Read more…

1 2 3 4 5 6 ... 45 Next page ›