Salesforce. AI. Web3
Fast Apex XML DOM updated with 3 new Node APIs
Today I was done with coding the 3 important missing API’s in Fast Apex XML DOM’s TODO list. The latest code is checked into Google Code SVN. Following are the newly added API’s to TG_XmlNode.cls..
Secure YUI Combo Usage Guide
YUI Dependency Configurator is a great tool for getting a single unified JS or CSS instead of several css/js files. Only problem with that is it doesn't works over "HTTPS". Browser's like Internet Explorer fail to load a web page delivered over HTTPS containing JS/CSS delivered over un-secure(HTTP) URLs…
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.
Custom Settings – Null Pointer Exception Quick Fix!
Custom settings in Salesforce are a valuable tool for development, but they can trigger unexpected Null Pointer Exceptions when deployed to new orgs without predefined records. This common issue arises from calling CustomSetting__c.getInstance() without any available data, resulting in runtime errors.
Fast Apex Xml Dom on “salesforce.com” CodeShare Now !
Apex wrapper classes aka “Fast Apex XML Dom” has reached a point that I can share with all on force.com Codeshare. Now Apex test classes have more than 95% code coverage(All Legal, no fake lines added :)))…
Fast Apex XML Dom Quick Started Guide !
This post explains how to quickly start using the new wrapper Apex API. Developers coding previously on either Ron Hess’s XmlDOM or standard w3c xmldom will feel almost no difference and no learning curve in using this API…
Visualforce Page to Component JavaScript client side communication
On many occasions we might need to access some HTML DOM element inside a component from page using JavaScript. Example scenarios can be page fetching value of text field inside a component using JavaScript…
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.
Apex DOM classes Document XMLNode reviewed - Spring 10 Release !
I was going through the code sample and apex docs for new Spring 10 Apex DOM Classes. I feel these new classes are really a great missing piece for apex developers that work on integrations via web services(XML) for ex gdata api’s…
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.
Salesforce Apex Default Values Explained!
force.com standard and custom objects allow you to define fields with default values. However, there is a major confusion regarding the usage and availability of default values in Apex code.
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:
XSS Testing Acceptance Tools Software Frameworks comparison
This post covers the free or paid tools and software available for XSS or Cross Side Scripting testing. These tools are not specific to any programming language and can used with any of .NET, Java, J2EE, PHP, Ruby or Python web applications…