
Salesforce Blogs
Fast XML DOM vs XmlDom Benchmarks!
Today I got a nice comment about “Fast XML DOM” script consumption being more of Ron Hess’s “XmlDom.cls”. That surprised me, and I thought, Why don’t I give it a try and publish the results?
Apex Implementing Singleton Design Pattern
Singleton is pretty popular and one of the most simple design patterns. On many occasions, we want an Apex class to have a single instance only. Fortunately, it's possible and pretty easy with Apex. There can be different strategies to implement singleton in Apex (inspired by my Java days learning). Before that, the following are the prerequisites to make a class Singleton.
A Bad Design Story—Apex Dom Document XmlNode
While doing some coding using the new Apex DOM classes, I felt so frustrated regarding the BAD class design, that I decided to write a post covering my experiences.
Visualforce Salesforce jQuery Ajax, how to?
This post is for those who want to make AJAX calls in VisualForce using 3rd party JavaScript frameworks like JQuery, Yui, Dojo, etc. Though most of the time the built-in visual force Ajax works pretty well, you don’t need to make your hands dirty by doing this.
Java J2ee Struts Spring JSP Cross Site Scripting or XSS framework library tools
There are many ways to handle XSS or cross-site scripting problems in Java, J2EE, Struts, Spring, and JSP. This post covers the most popular tools and ways to do that. In this post, I will explain tools like: