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
How to install Cordova/Phonegap
Steps to install cordova/phonegap To install cordova from command line, follow these steps Download and install Node.js Command : $ sudo apt-get install node.js Node.js is a runtime system for creating server-side applications. Download and install npm Command: $ sudo
Using Isset() function in php
The Isset () Function: The isset () function is used when we have to check whether a value in the variable is set or not. It returns false when variable contains null values. For Example, values are stored in a
English | Some confusing words
1. Accept vs Except vs Expect: Accept: To approve/to agree. Example: I accept the new business proposal. Except: Leaving someone or something. Example: The new software works on every operating system except Windows 98. Expect: To hope. Example: I expect
HTML | Padding in px versus %
In HTML, padding can be given to the text in following ways: Method 1: style=”padding-left:100px;” or style=”padding-right:100px;” Method 2: style=”padding-left:30%;” or style=”padding-right:30%;” It is more appropriate to use “%” than “px”. The reason for this is when px is used,
MySQL | How to automatically update timestamp field
Sometimes, we need to check when was the data last accessed. In MySQL, we had taken a field last_modified_time as timestamp datatype in a table, which was set to CURRENT_TIMESTAMP by DEFAULT. When a new record was inserted, it automatically
Salesforce | Refresh the parent window automatically on closing the child window
On closing child popup window (on click of a button), we wanted to refresh the parent window automatically to check the updates. We can refresh the parent window on closing the popup window by using javascript. Syntax : This is
Salesforce | Search Layout Section For Newly Created Objects
On creation of the new custom object, you will see search layout section on custom object detail page. Using Winter 16 Release, this section is not there, as in winter 16, search layout section is not enabled automatically. Allow Search
Java | Check if domain of an email address is valid or not
To Check if the domain of an email address is valid or not, pass the email address to the below method as an argument and execute it, it will return true or false by checking if the email id you
Issues of UTF-8 Encode Keyword
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″> <?php echo utf8_decode(“selecciona una categoría”);?> Above two lines are used to decode the special characters properly. We use the meta tag in section of the page to decode the whole page and second line of PHP