Web Development Archives

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…

How “this” is used in callback function in javascript

Author - Webner
|
0 Comments
|

The “this” keyword of JavaScript causes confusion for people, who start to use Javascript language and mainly for those who start after using the other languages. Here the main question is how to use “this” in the right way in a callback function.

Lets the following example:

function Read more…

Mvc c# : Exclude Enum values from DropDownListFor Html helper on .cshtml Page

Author - Webner
|
0 Comments
|

Suppose we have some enum type in c# as follows :
enum Performance
{
None=-1,
Dissatisfied=0,
Below Average=1,
Average =2,
Good = 3,
Excellent=4,
}
Consider some employee model with a given enum type property.
public class EmployeePerformance{
public int EmpId {get; set;}
public Performance rating{get; set}
…………………………..
………………………..
}

In a Read more…

Blazor in .NET

Author - Webner
|
0 Comments
|

Blazor is a new DOT NET web framework for building client applications using C # / Razor and HTML-enabled browser with WebAssembly.

It can simplify the process of building a single-page program (SPA) and at the same time enable full web development using .NET.

WebAssembly

WebAssembly is developed Read more…

HTMLCollection and NodeList

Author - Webner
|
0 Comments
|

HTMLCollection:

HtmlCollection is a collection of HTML elements from DOM. it is access by the name,id or index number. It use getElementByClassName, getElemenrtByTagName in NodeList.

It uses three Methods:

HTMLCollection Item() Method
HTMLCollection length() Method
HTMLCollection namedItem() Method

Html Collection Read more…

Git-Hub Project Management

Author - Webner
|
0 Comments
|

Step 1: First, create a. It’s a repository, not a project. You need to create a project using the project Menu. I will move on to the project later. First, I am discussing creating issues.

Step 2: Go to the Issues menu and click on Read more…

Edit Office Documents online in web application using Office365 OneDrive APIs

Author - Webner
|
0 Comments
|

This post is about editing office documents online in a web application interface for users. In this, you will require an office 365 license to use Microsoft graph APIs to edit documents through Onedrive.

To edit MS Word documents online, one of the quick approaches is saving the Word document Read more…

Diagnostics in the C# Programming

Author - Webner
|
0 Comments
|

The System. Diagnostics namespace provides a process class which has some method to run external .exe or another application into a C#.

This also enables you to debug and trace code; start, stop, and kill processes; monitor system performance; and read and write event logs.

Trace Class Read more…

Exceptions in C#

Author - Webner
|
0 Comments
|

An exception is an unexpected or unwanted event that occurs when a program is executed i.e at runtime, that disrupts the normal flow of the program’s instructions. Sometimes while executing the program, a user might face the possibility that the program may crash or show an unexpected event Read more…

What is DevOps?

Author - Webner
|
0 Comments
|

What is DevOps?

DevOps is a set of practices that combines software development and other IT operations. It shortens the systems development life cycle and aims to provide continuous delivery with high-quality software.

Who is DevOps Engineer?

They are either developers who get curious about Read more…

Lambda Expression in Java 8

Author - Webner
|
0 Comments
|

Lambda expressions are introduced in Java 8 and are a very interesting feature of Java 8. A lambda expression is a short block of code that takes in parameters and returns a value. Lambda expressions are similar to methods, but they do not need a name and they can be Read more…

How to get phone contacts in the react-native application

Author - Webner
|
0 Comments
|

To get phone contacts in the react-native application, it provides a package called react-native-contacts. This package provides you with all the contacts and their info from your mobile device.

Installation:

npm install react-native-contacts –save

For ios:

cd ios && pod install

Read more…

Record Video on Web through Javascript

Author - Webner
|
0 Comments
|

Many browsers now have the facility to access video and audio input from the user. However, relying on the browser, it would be a full dynamic and inline experience, or it’d be delegated to a special app on the user’s device.

Add HTML to your code

Read more…

Using Elasticsearch in Node.js

Author - Webner
|
0 Comments
|

What is elasticsearch?

Elasticsearch is a distributed, open-source search and analytics engine for all types of data, including textual, numerical, geospatial, structured, and unstructured. Elasticsearch is built on Apache Lucene and was first released in 2010 by Elasticsearch N.V. (now known as Elastic). Known for its Read more…

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