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
Nodejs callback with example
Nodejs callback A callback is a function that can be called on the completion of a given task to prevent blocking. As a result of it other code will run without waiting for a task to complete. This feature makes
Formula Field as a Custom LookUp field in Salesforce object
How to use a Formula Field as a Custom LookUp field in a Salesforce object In Salesforce we have 40 lookup field limit per object. Sometimes we need a field which behaves like a Lookup field. We can create a
Understanding Inflector in Cakephp
Understanding the purpose and usage of Inflector in Cakephp The Inflector class in cakephp is used to modify single/multi word strings into different formats using its build-in methods. We don’t need to use core php methods such as str_replace if
Big Objects in Salesforce
Purpose of Big Objects and how to create Big Objects in Salesforce What is Big Object in Salesforce? As business grows data of customers/clients/users increases enormously which is hard to handle and query. In this case we need something big
Using AWS Lambda function in Java to communicate with AWS S3
How to Use AWS Lambda function in Java to communicate with AWS S3? Reading, writing and uploading a text file to S3 using AWS Lambda function in Java Following are the steps to write a sample Lambda function in Java
DAO with JPA (and service layer/EJB3-Session Beans) or not
There is a lot of discussion on internet about whether to have DAOs or not with JPA and service layer or with session beans (which is the service layer). My personal opinion is more favored towards DAO layer and some
Change Landing Page of Community Website
Change landing page of community instead of showing default home page We can change default landing page in CommunitiesLandingController. CommunitiesLandingPage is the Active Site Home Page for your community, meaning that it is shown when someone enters a direct URL
Varnish for WordPress, drupal etc
Purpose of Varnish for WordPress, Drupal etc Varnish is a well known open source web cache application for reverse http which helps to accelerate the delivery time for clients. It itself works at 80 so that apache works behind it
Creating PDF In Salesforce
How to create PDF In Salesforce using Visualforce? We can create Pdf using Visualforce page, here is sample code to create Pdf. The renderAs Method is used to download/view the Page as Pdf, Excel, Doc etc. <apex:page sidebar="false" showHeader="false" applyHtmlTag="false"