Depends on what you mean by performance. To run the application:
- Use calculation when loading a page where possible. This greatly improves performance.
- In large XPages, in particular, combine code into separate controls where possible. For instance. Use a single Computed Field command that combines literal strings, EL, and SSJS, rather than a single control for each language. At this point, EL works better than SSJS, and SSJS on XPage works better than SSJS in the Script library.
- Use dataContexts for properties that are evaluated more than once in XPage.
Partial Execution mode is a very strong recommendation, but perhaps outside of the new XPage developers. Java will also work better than SSJS in the Script library, but again outside of the new developers. The XPages controls that you created using the Extensibility Framework should work better because they should run fewer Java strings than multiple controls, but I have not tested this.
If you mean developer productivity:
- Get the library of extensions.
- Use themes to set default properties, for example. Standard style for all your pagers.
- Use Firebug. If you are developing for Notes Client or IE, still use Firebug. You will spend longer suffering through Client / IE, thanks for fixing a few quirks that will remain.
source share