Monthly Archives: April 2013

Turning free code into healthier living

I was delighted and flattered recently when I was one of the winners of the quarterly OpenNTF Snippets contest. Since we stopped eating meat last November, my wife and I have been looking for ways to improve our dietary habits.

Posted in Uncategorized

XPages performance: pro tips

The ever-vigilant David Leedy pointed me to a LinkedIn conversation about XPages performance tips this evening that lead me down a particularly interesting rabbit hole. Those of you who’ve been following the XPages story for a while know about my

Posted in Uncategorized

Putting your money where my mouth is…

With the recent release of Milestone 1 of the openntf.domino API, the IBM Champion team that’s writing the code has provided a programming context for Java that should dramatically improve the transition for Lotusscript developers. Simply put, we have 1)

Posted in Uncategorized

More pathological XPages design

Let’s imagine you’re an XPages developer (big stretch, I know.) And let’s say you’re building a page for someone to input data. And one if the things you need to have them input is called “Customer.” Well, what does that

Posted in Uncategorized

Taming Designer

I’ve created a PDF version of my May 2011 article on tuning Designer’s preferences. It has a permanent link in the header of this blog.

Posted in Uncategorized

If you’re serious about XPages development…

One of the basic challenges of XPages development is how to effectively conduct initial tests on the applications you build. Unlike classic Notes development, where each change can immediately be seen in both local and server-based applications, XPages require a

Posted in Uncategorized

org.openntf.domino.transactions.DatabaseTransaction

This works in my current branch of the OpenNTF Domino project… private void iterateAllDocuments(Set secondReference) { org.openntf.domino.transactions.DatabaseTransaction txn = db.startTransaction(); DocumentCollection dc = db.getAllDocuments(); for (Document doc : dc) { docCount++; if (docCount % 100 == 0) { secondReference.add(db.getDocumentByID(doc.getNoteID())); }

Posted in Uncategorized