Caching in Node.js with Redis: A Beginner’s Guide
Caching is a technique to store frequently used data in a temporary storage so that future requests for that data are faster. In Node.js applications, caching can help improve performance and reduce the load on your database. One popular tool
WordPress | Using PHP Session
Many times it may happen that you create session variables in a particular code of the WordPress site and you are not able to access that session variable in any other part of the site except in your custom code.
Moodle | Steps to create a custom theme
In moodle we can create new theme using existing theme and customise them according to user requirements. We can create new theme from scratch or by using existing theme. We can customize their front page, course page and activity pages
Safari | Error: Missing CSRF token cookie
Error : Missing CSRF token cookie Failed to load resource : the server responded with a status of 403 (Forbidden) on “SAFARI” Solution : This error occured when I opened a website in safari browser. This error shows because new
Salesforce | Handling View state problem
Display more than 10,000 records by Handling View state problem (only 132 kb data displayed on vf page). Problem statement : Displaying more than 50,000 records in the table. Solution : This issue has been resolved by pagination of the
Gravity Forms | ADF/XML format – notification getting html tags
ADF XML FORMAT ADF XML format stands for Auto-lead Data Format XML that is an automotive retailing industry standard data delivery format for import and export of automotive customer leads. This format is used as a way to format the
Configure PHPMYADMIN to connect to different servers
Here are the steps to set up PHPMYADMIN to connect to database servers located at different ip addresses: 1. Open config.inc.php located in C:\xampp\phpMyAdmin directory in windows and located in /etc/phpmyadmin directory in Ubuntu. 2. Add the below written code
Devextreme | Invoke Custom Loader on click of any button
Invoke Inbuilt Custom Loader in Devextreme Mvc datagrid on ‘Save’ click from Insert popup. In Devextreme Mvc datagrid, I used the Popup mode for adding new data with the following way to make api controller call on Insert Action. Below
MySql | Show only columns as rows which have specific value
Sometimes, we want to show only those columns which have specific value. Let’s assume we have following table : In the above table, value of 1 in a column represents that corresponding service is provided by organization and 0 represents
CakePHP | Get user profile information through Gmail API (2.2.0)
Steps to extract user profile information through Gmail API (2.2.0) in CakePHP: 1. Set up developer test account inside google API developer console: Use https://console.developers.google.com/ link to open developer console. Add new project inside your developer console and enable the
