« True then, true now | Main| Welcoming our newest colleagues »

The ultimate Domino Designer performance improvement for XPages developers

If you're an experienced XPages developer, chances are you live in the Source tab of the XPages editor. But even if you live in that editor, you'll notice that various things seem to slow down Designer with mysterious causes.

If you're willing to give up some of the bells & whistles, like drag/drop from the Controls Palette, custom editors for Properties, or icon cues on the Outline, you can switch from the XSP editor to the native XML editor using the following preference setting. Just go to the File Associations list and select the XML Editor, and click "Default.."

A picture named M2

Read on for more...

Then whenever you open an .xsp file from the Package Explorer, you get an editing experience like this...

A picture named M2

Obviously you need to know what you're doing if you're working strictly in the XML editor, but the build process will still provide you with the same validation messages through the Problems pane that the regular editor does.

A picture named M3

My experience with this mode of work, especially with large XPages (and the GBS Transformer generates quite large XPages controls,) has been overwhelmingly positive. And I can still right-click on the file or switch back to the Application Navigator to work with the visual XSP editor when needed.

I'm bound by NDA on the details, but it should come as no surprise that IBM is hard at work on improving the visual editor experience. There are considerable improvements in 8.5.3, and the Designer team is not resting on its laurels. But in the meantime, hopefully this will help the XPages community continue <doing>.

Comments

1 - Great tip Nathan. Thank you for sharing with us.

2 - That sounds great. I'll have to give it a try. Most of the time, the "features" of the editor just slow me down. Thanks for the tip!

3 - Cool tip, definitely one to add to the preferences

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Search 

Disclaimer 

Welcome to Escape Velocity!

Opinions expressed here by Nathan T. Freeman are not necessarily those of his employer. However, there's a decent chance they are, so check with them if you really want to know.

But really... do you need that kind of validation? Are the opinions expressed here in doubt?

MiscLinks