Building real-time chat app using WebSockets with AWS API Gateway and Lambda
We can build many real-time applications such as chat applications, multiplayer games, financial trading platforms, and collaboration platforms using WebSockets with AWS API Gateway, Lambda, and dynamoDB. In this blog we will learn how to build real-time applications using WebSockets
Handling browser back or forward button clicks for ajax content
In Jquery / Javascript how to handle updates for partial (nested) web page view Inside a single View on browser back, forward & refresh button events? Or simply put how to handle browser back or forward button clicks for content
Recreate graphic animations on Jquery datatable refresh
When we refresh Jquery datatables (like through sorting or searching) the graphic animations like progress circle-bars etc do not redraw correctly. The distorted images appear instead of graphics. This is how progress circles look initially: On sorting/searching the dataTable, the
Cloudfront cache issues when content updates to new version
Problem: Cloudfront caches most of the objects and it becomes a problem when content updates to a new version of the origin server. CloudFront doesn’t retrieve the latest version of objects instantly from the origin server, it generally takes 24
Preserving Local Storage Data Across DataTable Pages In Javascript
When we write data in local storage it is not kept between dataTable pages. It will overwrite the old data with a new one on each page, means your previous data will be lost on a new dataTable page. The
Jquery Datatable Callbacks
Jquery data table callbacks are used when you want to perform some action on a certain event in the data table. For eg. when you want to modify a particular row or cell every time the table is redrawn. List
Make VisualForce Page externally accessible by non-salesforce Users
Steps to make VisualForce Page externally accessible by non-salesforce Users/External Users: 1. Create a VisualForce page that you want to make externally accessible by non-salesforce Users/External Users. Here, I’ve created a VisualForce Page named as ‘Multi-Select List’. I’ve also created
Linux Truncate (Log)File
Commands to empty logfile : 1. :>logfile – If logfile does not exist, this will create an empty log file, otherwise it will empty the existing file. 2. cat /dev/null > logfile – This is equivalent to above command. Command
Adding a custom widget in wordpress wp-admin dashboard
How to add a custom widget in wordpress wp-admin dashboard? In following screenshot those boxes in red need to show custom widgets. How to accomplish it: For adding the custom widget in wordpress admin you have to add this code
Cross Domain XMLHttpRequest problem and some solutions
Cross-domain request: Cross-domain request is requesting the content from another host. When we request to a third party site to get content that is called cross-domain request. By default XMLHttpRequest (XHR) request allows transferring data only if both parties have the
