by Todd Weimer, Lotus Practice Area Manager
Most modern web applications are now required to implement Ajax in one form or another. Whether it is to make the user experience better or just a way to retrieve data, Ajax has become a necessity. Lotus Domino has generally made it easy to use Ajax technology since version 5 which brought the first version of ReadViewEntries. There are a wide variety of approaches to using Ajax in your Lotus Web Applications so I created a quick summary list of options, recommendations, and potential issues.
- With Domino 8.5, XPages leverage the Dojo toolkit for some built-in Ajax features. You can enable some Ajax functionality with the click of a checkbox!
- Virtually all modern browsers do not allow you to make an Ajax request to a domain that differs from the domain of the current page. This is for security reasons and most of the work-arounds for this are not possible anymore. You may have to create a Domino agent that acts as a wrapper to retrieve data from other sources and then returns it to your Domino web page.
This excerpt is from our monthly resource E-Newsletter. Did you miss our monthly newsletter? Click here for a full version (only live for 30 days prior to original date) and if you want to begin receiving our monthly newsletter write to email@example.com and request to be added to our E-Newsletter list!