Asynchronous Apex

|
| By Rushali kashyap

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

CakePhp 3.x | Declaration of user defined constants

| By Webner

In cakephp 3 we declare constants in bootstrap.php file under /app/config folder. A constant can be declared as: Configure::write(‘CONSTANT_NAME’, Value, true); Example: Configure::write(‘USERNAME’, ‘Webners’, true); To use this constant in another file, use this: use Cake\Core\Configure; Now the constant can