Asynchronous Apex
Asynchronous Apex in Salesforce allows developers to execute operations in a separate thread, enabling tasks to run in the background without impacting the user experience. This approach is particularly beneficial for handling long-running processes, callouts to external systems, and operations
Migration in EF Code First
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.
Autocomplete Form Element in Totara/Moodle
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
Display custom validation Error in the DateBox of Devextreme
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
History feature to track various states of tasks in TFS (Azure)
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
ZipArchive in C#
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
Firebase Cloud Messaging With Laravel 6
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
Types of Plugins in Moodle and Totara: When to Create Which One
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
How to validate records before inserting in CakePHP 2.X
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
Migrations in Entity Framework 6
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