Webner Blogs - eLearning, Salesforce, Web Development & More - Page 2 of 60

WireShark For Network Traffic Investigation

Author - Webner
|
0 Comments
|

Introduction

Wireshark is an open-source network protocol that is responsible to investigate the network traffic and for visual understanding of packet loss. It is used to troubleshoot the network connectivity and review the TCP (Transmission Control Protocol) transmission between the source and destination endpoints. WireShark is also Read more…

Convert Set data into String

Author - Webner
|
0 Comments
|

Introduction

When working with sets in apex sometimes we need to create a string from the set’s values but there is no function that can convert a set into a string as we have for lists. To convert set into a string we can use these two Read more…

Migration in EF Code First

Author - Webner
|
0 Comments
|

Code First Conventions

In code first approach we create the domain classes first rather than creating the database. Initially, we need to create the domain classes having the properties and then we create the database according to the domain classes.

Database Migration – Migration is used to update the Read more…

Autocomplete Form Element in Totara/Moodle

Author - Webner
|
0 Comments
|

Introduction

The autocomplete element is an advanced form element that is compatible with the standard “Select” form element. When you have large datasets or options, in that case, to use a select list is more difficult. Because, it’s a LONG scroll and unpleasant read, which leads to Read more…

Display custom validation Error in the DateBox of Devextreme

Author - Webner
|
0 Comments
|

Introduction

Devextreme is a powerful component suite for developing highly responsive web applications. It has many built-in Widgets for the web developer to use and customize as per the need of the application. Among all the Widgets there is one widget with name DateBox. To display custom Read more…

History feature to track various states of tasks in TFS (Azure)

Author - Webner
|
0 Comments
|

Description:

TFS plays a very important role in Project management. Under any User Story or Bug in a Sprint, we create tasks or kickbacks which go through various states with the time. By using the History icon, we can see every state of the task along with the Read more…

ZipArchive in C#

Author - Webner
|
0 Comments
|

Introduction

ZipArchive is a built-in package in the System.IO.Compression assembly to compress/decompress files in a zip format in C# code. It allows us to work with a collection of compressed files. For this we can do the following things:

Get a single entry of Read more…

Firebase Cloud Messaging With Laravel 6

Author - Webner
|
1 Comment
|

Introduction to Firebase Cloud

Earlier known as Google Cloud Messaging and now called Firebase Cloud Messaging (FCM) is a messaging solution for cross-platform provided by Google itself. This service lets you reliably deliver messages or notifications at no cost. One can use FCM for sending push notification Read more…

Types of Plugins in Moodle and Totara: When to Create Which One

Author - Webner
|
0 Comments
|

What are Moodle and Totara?

Moodle is a modular system. Totara extends the core structure of Moodle. The LMS is meant to handle the core necessities expected of a high-end company LMS. This means that Moodle and Totara both were built to be able to include additional Read more…

How to validate records before inserting in CakePHP 2.X

Author - Webner
|
0 Comments
|

Problem:

Sometimes we only need to validate records before inserting operations in CakePHP. In the case of bulk insertion and CSV records validation, it’s very difficult to validate individual fields of bulk records.

Solution:

array (‘validate’ => ‘only’) parameter will do exactly that for us.

Read more…

Migrations in Entity Framework 6

Author - Webner
|
0 Comments
|

Whenever a data model changes during development it gets out of sync with the current database in code first approach. The database initialization strategies that we used in our project result in loss of data whenever there are changes in model classes. The solution to this problem is migrations. By Read more…

Invisible/Zero-width characters in IE

Author - Webner
|
0 Comments
|

Introduction

In Internet Explorer, many times you might have faced issues of invalid date from Date Conversion methods or might have worked with Javascript methods for operations on data. In my case, I used some conversion operation on a date in IE, after that I had to use Read more…

RxJS (Reactive Extensions for JavaScript)

Author - Webner
|
0 Comments
|

Introduction to RxJS

RxJS is a popular library among web developers. It provides some features like functional and reactive programming patterns that support working with events and streams. Rxjs provides the functionality to write asynchronous code. The current stable version is Rxjs v6.

RxJS 6 has many advantages Read more…

Validating Downloaded File Using Selenium

Author - Webner
|
0 Comments
|

Validating downloaded files in automation testing

In the manual testing process, it is easy validating that the file is downloaded or not because the human mind is fully involved in the testing process. But in the case of automation testing, it is important to verify that the file Read more…

Font SVG icon issues in IE

Author - Webner
|
0 Comments
|

Problem

After downloading the setup of CSS for icon files (.eot, .woff, .tff.) from font awesome library, Devextreme icons, and UI operations like selecting checkboxes inside the Devextreme Datagrid were not working on IE in my c# .net web application. Although it was working correctly in all other Read more…

Laravel 5.4 Logs And Errors

Author - Webner
|
0 Comments
|

Introduction

Logfiles:

Logs are files that keep a registry or records of events, processes, messages that occur in the operating system or any software that runs.

Laravel provides the robust logging services that allow the user to log messages to file.
Laravel uses the Monolog library Read more…

PHP Best Practices

Author - Webner
|
0 Comments
|

Below are the best practices that should be followed in PHP:

1. define() vs. const

In the early version of PHP, one would use define() function to set constants. But with new updates in PHP gained one more way to declare constants as “const”. They both Read more…

Why not use JSON.stringify in JavaScript?

Author - Webner
|
0 Comments
|

Why JSON.stringify Shouldn’t Be Used To Compare Objects In JavaScript?

In javascript, equality operator == or === can be used to compare numerics and strings. But when we will compare objects using these operators, then it will not work as expected because objects use references. So, equality operators Read more…

What is Bootstrap Panel?

Author - Webner
|
0 Comments
|

Introduction

Bootstrap is a popular HTML, CSS, and JavaScript framework for developing a responsive and mobile-friendly website. It includes jumbotron, table, button, grid, form, image, alert, wells, container, carousel, panels, glyph icon, badges, labels, progress bar, pagination, pager, list group, dropdown, collapse, tabs, pills, navbar, inputs, modals Read more…

Creating Rest API in Node Js

Author - Webner
|
1 Comment
|

Rest API

Rest API is an application program interface, that uses GET, POST, PUT, DELETE data. It is referred to as a REPRESENTATIONAL STATE TRANSFER (RESTful) web service.

Creating the API

Creating Rest API in Node Js firstly needs to make a directory(mkdir restfulapi) to Read more…