Web Development Archives - Page 2 of 45

Devextreme DataGrid Column Reordering and Saving Column State

Author - Webner
|
0 Comments
|

Devextreme Datagrid comes with a variety of features to work with column appearance at runtime. One among these is Column Reordering.
The column reordering feature in Devextreme allows the user to change the position of columns on the fly on the screen by using drag-drop.

Columns can also be Read more…

Get base64 String From File URL

Author - Webner
|
0 Comments
|

While working on the react native app, sometimes we need to get the base64 string from the file(image/video) URL. There are many packages available that convert a URL to base64 but they are not producing expected results. Finally, I have tried the “rn-fetch-blob” library and I Read more…

ECMAScript (ES10)

Author - Webner
|
0 Comments
|

ECMAScript is the standard for JavaScript and adding new features to JavaScript.
It is a subgroup of JavaScript. ECMAScript 10 is also known as ES10. In ES10 here are the new features.

Array.Flat(): The flat() function recursively flatten your array up to the level you specify, you Read more…

Deploying a React App on Linux based Server

Author - Webner
|
0 Comments
|

Step 1. Creating a React App

Install Create React App with the following command:

npm install -g create-react-app

Run this command to create a new app called my-reactapp:

npx create-react-app my-reactapp

Step 2. Reconfigure package.json.

Go to the specified Read more…

How to upload a file on AWS S3 from Cakephp 3.9

Author - Webner
|
0 Comments
|

First, we need to install aws-sdk for PHP in the CakePHP project. To install it we can run the below command:

composer require aws/aws-sdk-php

Code to upload a file:

Template Code:
<?= $this->Form->create($product, [‘enctype’ => ‘multipart/form-data’]) ?>
<fieldset Read more…

ML.NET 1.4 (Machine Learning Framework) Overview

Author - Webner
|
0 Comments
|

ML.NET is a cross-platform and open-source machine learning framework that consists of CLI (Command-Line Interface) and Model Builder (which is a simple UI tool ) to make it easy to build custom ML models using Automated Machine Learning (AutoML).

Using ML.NET, developers can integrate ML.NET Read more…

Rename package name in React-native

Author - Webner
|
0 Comments
|

In react-native, To create a new application we use the following command:
react-native init MyApp

This command will create a package name with com.myapp. Sometimes, if your application is created with the wrong package name or bundle id or you want to release your existing application with Read more…

Installing and using Pyinstaller

Author - Webner
|
0 Comments
|

You can install it through pip using this command:
Pip install pyinstaller
Usage:
pyinstaller path_to_your_script.py

PyInstaller reads your Python program, analyzes all the imports it makes, and binds copies of those to the program. The user can launch the integrated application without having to install a Python interpreter or Read more…

How to customize Page size selector using Devextreme DataGrid

Author - Webner
|
0 Comments
|

Pagination is the default feature of Devextreme. The pagination divides your lots of records into pages and you can show numbers of records on a single page.
Under pagination, Devextreme provides lots of features. As we can see in the following image

In this article, we will cover how to Read more…

Increase React Native App Performance

Author - Webner
|
0 Comments
|

React Native apps have numerous benefits like they are fast, cost-efficient, and offer a nearly native look. But, when it is not done properly, it can lead to performance issues.
So, while making you react to native applications, developers need to be aware of the most common performance issues Read more…

Dependency Injection in C Sharp

Author - Webner
|
0 Comments
|

To understand the term Dependency Injection, we must know what is Dependency and IoC?
In terms of Object-Oriented Programming, Suppose Class A uses Class B for one of its jobs. Here Class B is a dependency of Class A and Class A is dependent Read more…

How to run command prompt from visual studio

Author - Webner
|
0 Comments
|

Command prompt can be called from the visual studio. Commands that are used to run it from the visual studio are listed below:

Step 1: Firstly we will create an object for processstartinfo like this-
ProcessStartInfo pro = new ProcessStartInfo();

Step 2: Then file name needs to Read more…

Introduction to DevOps Architecture

Author - Webner
|
0 Comments
|

In Software Engineering, Operations and Development both play crucial roles in order to deliver the results of an application. The development consists of analyzing the requirements, designing, developing, and thereafter testing the software components in the testing environment. On the other hand, the operation consists of administrative processes, services, and Read more…

Laravel Relationships in Eloquent

Author - Webner
|
0 Comments
|

Laravel relationship tables are frequently associated with each other in the database. Laravel relationships in eloquent support different types of relationships and it’s easily working and managing data.

Defining relationships:-

One to One
One to Many
Many to Many
Has Many Through
Polymorphic Relations
Many to Many Read more…

Javascript Array Methods One Must Know

Author - Webner
|
0 Comments
|

filter

The filter is an array function in vanilla.js which returns a new array by filtering the filter item provided to the filter function.

Here is ES6 syntax for this function:

Reduce

This function basically executes a given function provided to it. It Read more…

How To Reset Your MariaDB-10.2 Root Password on Ubuntu 20.04

Author - Webner
|
0 Comments
|

Note: This tutorial will work only for resetting the MariaDB root password, not for the MySQL server.

Introduction

If you forget the root password of the MariaDB database in Ubuntu, you can still regain the access and reset it if you have access to the server Read more…

How to create a Salesforce Scratch Org

Author - Webner
|
0 Comments
|

Scratch org is a disposable and source-driven deployment of Salesforce metadata and code which is made for developers (developing specific modules) and for automation that is continuous integration or continuous development. Scratch org is a configurable org/sandbox which allows the developers to emulate different Salesforce editions with different Read more…

OAuth 2.0 Authorization Code Grant Type

Author - Webner
|
0 Comments
|

The Authorization Code Grant Type is perhaps the foremost common of the OAuth 2.0 grant types that you’ll encounter. Both web apps and native apps can use it to get the access token after a user authorizes the app.

What is OAuth?

It is not a Read more…

How to exclude source when Syncing or Converting – DX

Author - Webner
|
0 Comments
|

While Syncing the metadata files between your local system and a target/Scratch org, you often want to exclude some of the source files. Similarly, you often have files to exclude when converting the source to the Salesforce DX project format. In both the above-said cases, you can exclude Read more…

How to Apply custom pagination using devextreme

Author - Webner
|
0 Comments
|

The devextreme already provides pagination features as we can see in the above image.
If we want to go directly to page 155, we can go to that specific page by clicking on the page to page. This is a time-consuming process. We have no option to go to Read more…