How do you ensure API security and avoid data leakage
Ensuring API security and preventing data leakage is critical in any Salesforce integration. Whether you’re exposing or consuming APIs, you must follow best practices around authentication, authorization, encryption, data validation, and monitoring. Key Strategies to Secure Salesforce APIs & Prevent
SQL Transaction in Cakephp 3
SQL transaction in Cakephp 3 is a series of statements working in a logical order to handle database errors and ensure data integrity. There are four main methods being used in Sql transaction in Cakephp 3. 1. Initialize the statement
Brief introduction to TinyMCE Editor
TinyMCE is an editor which lets you create your own editor functionality similar to MsWord. We can manipulate editor code and functionality according to our requirements. Some features of TinyMCE editor : 1. It is a stable WYSIWYG HTML editor.
Moodle | New Database table not getting created
In Moodle, we were creating a new table for our custom plugin in db/install.xml file. Install.xml file : <TABLES> <TABLE NAME=”test_student” COMMENT=”Student details.”> <FIELDS> <FIELD NAME=”id” TYPE=”int” LENGTH=”10″ NOTNULL=”true” SEQUENCE=”true”/> <FIELD NAME=”user_name” TYPE=”text” NOTNULL=”true” SEQUENCE=”false”/> <FIELD NAME=”userid” TYPE=”int” LENGTH=”10″ NOTNULL=”true”
Git | An introduction to get started
Git is a distributed version control system. It is a system that records changes in a file or set of files over time so that user can recall previous versions later. As a result of which a user can revert
Salesforce | Toggle button to let TinyMCE editor switch between text or html mode
Situation: We need to use tinyMCE editor for the rich text field so that user can switch from Visual to html editor. It means he can also use html coding or add effects from UI as required. As we know
Azure | Consumer Web application to crerate copy of SQL Database
Azure provides various rest apis to perform different actions and operations that are possible in the azure server like to create web applications, databases and many more. User can design their own simplified UI to perform actions, instead of logging
Run Apache Tomcat server via cron job and notify an email id
Below is the shell script which can start Apache Tomcat server via cron job and send notification to defined email is: #!/bin/sh RESULT=`netstat -na | grep 8009 | awk ‘{print $7}’ | wc -l` if [ “$RESULT” != 0 ];
MySql | Display Latest entries of two columns of two rows into single row
Suppose we have two tables : articles and article_comments CREATE TABLE articles( `id` INT( 11 ) NOT NULL AUTO_INCREMENT , `title` VARCHAR( 200 ) NOT NULL , `content` VARCHAR( 500 ) NOT NULL , `author_name` VARCHAR( 20 ) DEFAULT 1
Salesforce | Get the field list recursively of related objects
To implement RabbitMQ in our project we need to write the code for producer and consumer. What is Producer? Producer produces the messages and sends it to exchange. Exchange receives the messages and routes it to the corresponding queue. What
