Webner Blogs - eLearning, Salesforce, Web Development & More - Page 5 of 61

Component Lifecycle of Angular

Author - Webner
|
0 Comments
|

Introduction

Components are like a building block that controls the HTML view of your application. They can communicate with other components to provide functionality to the application. The components are denoted by @Components. An application can have more than one component. There is the sequence of the events Read more…

Types of Form Creation in Moodle

Author - Webner
|
0 Comments
|

Introduction

A Document that contains different blank fields like(Name, DOB, Class, etc.) that the user can fill the data is called form. The form can be of many types like(Application Form, Contact Form, etc.). Forms are very helpful to store data in the database, with the Read more…

Reactive Forms In Angular

Author - Webner
|
0 Comments
|

Introduction to Reactive forms

In Reactive Forms, we use Modal driven approach to handle form inputs which changes over time. Reactive forms are most preferred to use. It is flexible to use and provides many benefits.

For example, By using Reactive forms user can easily add form input Read more…

Best Practices to write Unit test with .Net Core

Author - Webner
|
0 Comments
|

Introduction

In programming, the Unit test is used to test the source code of a particular method. In this method, we can check if the code is ready to deploy or not. It also improves code quality. In this test, we can test all the positive and negative Read more…

JavaScript: Return Object Literal From Arrow Function

Author - Webner
|
0 Comments
|

Arrow function

Arrow function was introduced in ES6, which provides a better and shorter way to write functions in JavaScript. Its another advantage is that it does not bind its own “this”. We can also say that the context inside arrow functions is lexically or statically set.
Syntax Read more…

How to resolve “Composer vendor dir found in project” WARNING in Heroku?

Author - Webner
|
0 Comments
|

Description of this Heroku warning

Git repository always contains the vendor directory. This directory should not be under version control. Only ‘composer.json’ and ‘composer.lock’ files need to be added because Heroku handles the installation of dependencies on each deploy.

There are some steps that should be Read more…

Laravel URL QR Code Generator

Author - Webner
|
0 Comments
|

Why the QR Code?

A QR code can make you download apps, redirect to a particular URL, access wireless networks like WiFi and much more. They can also lead one to perform quick actions without even putting any effort. Many social media platforms are using the same as Read more…

Defining a Component using Selector, Template, Styles in Angular

Author - Webner
|
0 Comments
|

Components

Component controls the user interface of Angular. We can make as many components according to the requirement. As Angular is a single page application, we use components instead of using multipage.

To create a component, we firstly we go into the app directory and then create a Read more…

Controlling CSS property in popup editor of Devextreme Datagrid MVC

Author - Webner
|
0 Comments
|

Introduction to Devextreme Datagrid

Devextreme Datagrid comes with different editing options like row, cell, batch, popup, etc. to insert into and update data in Datagrid. Data Grid is a perfect choice for any modern business application that provides a vast variety of capabilities including data editing and validation Read more…

Adding a custom button into Devextreme header filter popup

Author - Webner
|
0 Comments
|

How to add a custom button into Devextreme Header filter popup with clear all selection functionality?

Introduction

Devextreme is a very powerful component suite that provides the developers with many inbuilt functionalities with few lines of code. Among all these powerful features is the devextreme header Read more…

Bootstrap 4 Filters

Author - Webner
|
0 Comments
|

What is Bootstrap 4?

Bootstrap 4 provides a lot of components such as Modal, Carousal, Tooltip, etc. But bootstrap does not have a component that allows filtering. However, jQuery be used to filter/search for elements.

Filter Tables

We can easily make a searchable table with Read more…

Upgrade Mongodb Extension Version – Laravel Project

Author - Webner
|
0 Comments
|

Issue while upgrading Mongodb extension version:

I have upgraded laravel version from 5.7 to laravel version 6.5. Now, I’m getting mongodb extension version error while updating composer. Error given below:

ERROR: jenssegers/mongodb v3.6.0 requires mongodb/mongodb ^1.4 -> satisfiable by mongodb Read more…

Adding days to date type in Javascript – Another solution

Author - Webner
|
0 Comments
|

I have already written a blog on this topic. Please refer to the following link for detail: Click This Link

Introduction

I will show another solution to add a number of days to a date string. The solution provided in the above link works well and gives an Read more…

Repository Design Pattern in C#

Author - Webner
|
0 Comments
|

Introduction to Repository Design Pattern

There are many Design Patterns in .NET, for example, entity design pattern but to overcome some disadvantages of other patterns we prefer to use the Repository Design Pattern pattern. Nowadays, most applications need to access data from one or more than one data Read more…

How to pass dynamic data to all views in Laravel

Author - Webner
|
0 Comments
|

ISSUE:

Sometimes there is a requirement, in which we need to show some dynamic data in the sidebar of every view.

SOLUTIONS:

The above scenario can be achieved using various techniques in Laravel, which are listed below –

We can pass the sample data array on every Read more…

Cell Editable On Cell Double Click – DevExtreme DataGrid

Author - Webner
|
0 Comments
|

How to make cell editable on cell double click in DevExtreme DataGrid

DevExtreme DataGrid

The DevExtreme provide lots of UI feature with the help of which we can enhance the UI of our Application.

In this example, how to make cell editable on cell double click Read more…

Image Compression in Laravel

Author - Webner
|
0 Comments
|

Steps to follow:

Install the Intervention image package first in your project

composer require intervention/image
If you want to check official documentation of intervention image you can check it from here-
http://image.intervention.io/getting_started/installation

Inside the config/app.php-

In Read more…

Laravel: Prevent the browser back button to access pages after logout

Author - Webner
|
0 Comments
|

Introduction

When we create a web project in laravel, even after logging out of the project, clicking on the browser back button usually takes us back to the previous page we opened when we were logged in. This is a very big security issue that can arise in Read more…

Spread Operator and It’s Uses

Author - Webner
|
0 Comments
|

Introduction

The Spread operator was first introduced in ES6. It allows an expression to be expanded in locations where various elements/variables/arguments are required. In other words, the Spread operator lets users expand an iterable like a string, object or array into its elements while the Rest Read more…

PHP: Handle broken image links on a page

Author - Webner
|
0 Comments
|

Broken image link issue

While creating a website or any project, we usually need to add some images to it. Suppose we have a Laravel project where we are showing some images from s3 or somewhere else.

We may include the image in HTML tag like this below Read more…

‹ Prev page1 2 3 4 5 6 7 8 9 10 ... 61 Next page ›