Developing XPages Applications


Published on

Developing XPages Applications

Published in: Technology, Business
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Developing XPages Applications

  1. 1. Developing XPages ApplicationsAugust 7, 2012 ©2012 IBM Corporation
  2. 2. Agenda ● XPages Updates coming in 8.5.x ● Q&ANote: Information regarding potential future products is intended to outline our general productdirection and it should not be relied on in making a purchasing decision. The information mentionedregarding potential future products is not a commitment, promise, or legal obligation to deliver anymaterial, code or functionality. Information about potential future products may not be incorporatedinto any contract. The development, release, and timing of any future features or functionalitydescribed for our products remains at our sole discretion. © 2012 IBM Corporation 2
  3. 3. XPages Updates● 8.5.3 Upgrade Pack 1 integrated to Notes/Domino 8.5.x ­ All UP1 Features/Plugins installed with Domino server, Designer, Notes client • Really UP1+ as fixes and enhancements are included ­ Templates will be translated - TeamroomXL and DiscussionXL © 2012 IBM Corporation 3
  4. 4. XPages Updates● Technology Updates ­ Dojo 1.7.2 • Leverage enhanced mobile support and bug fixes • Issues Fixed in 1.7.2 ­ CKEditor 3.6.3 • Many issues fixed regarding ­ Multiple instances per XPage ­ Text and other HTML artifacts surrounding inline images ­ Attachment handling ­ Image resizing © 2012 IBM Corporation 4
  5. 5. XPages Updates● XPiNC Performance ­ Single-Copy-Design feature supported in Notes 8.5.x client ­ Single-Copy-Design with computeWithForm enhancement • computeWithForm can be very expensive in XPiNC when running remote applications • Computed form plus all its children are hauled across the net to be executed locally • Forms are arbitrarily large • Large Computed Forms + High Latency Networks = Poor XPiNC Performance • With local SCD, computeWithForm loads the form and its children from the local NSF ­ XPiNC – Beware of App Design Bad Practices • Avoid any application logic that incurs unnecessary network transactions, e.g. ­ custom columns in viewPanel control that getDocument().getItemXxx() ­ @DbColumn(), @DbLookup() etc in computed “rendered” property logic ­ Option to run remote XPiNC applications on Domino http server © 2012 IBM Corporation 5
  6. 6. XPages Updates New Redirect Control ● Use cases: ­ Traveler or iNotes rewrites the Notes doclink to a web link ­ Custom redirect handling required within an application ● How: Set form display property to a target XPage that includes a Redirect control instance ● Effect: The Redirect control instance will transform the request URL accordingly based on the set of redirect rules ­ Example: For a mobile redirect rule: ­ http://foo/bar.nsf/0e5e7/04aae/?OpenDocument becomes... ­ http://foo/bar.nsf/mobile.xsp?documentId=04AAE&action=openDocument#document © 2012 IBM Corporation 6
  7. 7. XPages UpdatesNew Client-Side JavaScript / Dojo Debug Option ● Use cases: ­ Dojo 1.7.2 Library deployed in an OSGi Bundle ­ Developer needs to debug uncompressed versions of the source files • ie: xspClientDojo.js vs xspClientDojo.js.uncompressed.js ● How: ­ Set the -u suffix on the Dojo Library Version in Application Properties ● Effect: ­ The XPages Runtime will server *.uncompressed.js | *.uncompressed.css if available from within the OSGi Bundle ● Were also finalizing another new XSP property that will allow Developers to point at a designated file system location containing the Dojo resources: ­ © 2012 IBM Corporation 7
  8. 8. Domino Designer 8.5.x - Goals● Improve Domino Designer “Welcome” and “Home Page” experiences● Improve XPages developer productivity● New Jar design element● Integrate Domino Designer Extension Library tooling into Designer core● Integrate and improve editor● Bug fixes and quality improvements in high traffic areas● Improve SSJS debugging experience! © 2012 IBM Corporation 8
  9. 9. Improved XPages Developer Productivity● Content assist in xsp source editor editor!! (also works with SSJS in xsp source editor)● Hyperlink navigation within the xsp source editor● Hover help within the xsp source editor● Palette state saving● Jar design element © 2012 IBM Corporation 9
  10. 10. Domino NEXT...Server Side JavaScript Debugger!! ● “IBM Lotus Domino Designer JavaScript” debug configuration ● Additional debugger SSJS keyword which will cause the SSJS engine to pause code execution when encountered when running in debug mode ● Will require server to run in debug mode via properties:JavaScriptEnableDebug=1JavaEnableDebug=1JavaDebugOptions=transport=dt_socket,server=y,suspend=n,address=8000 ● Based on Eclipse Remove Java Connection, uses JPDA/JDI © 2012 IBM Corporation 10
  11. 11. References & Resources ● Lotus Notes and Domino Application Development wiki - ● XPage Development Forum - ● Openntf - ● Mastering XPages book - isbn=0132486318 ● XPages Extension Library book - © 2012 IBM Corporation 11
  12. 12. Legal Disclaimer© IBM Corporation 2012. All Rights Reserved.The information contained in this publication is provided for informational purposes only. While efforts weremade to verify the completeness and accuracy of the information contained in this publication, it is providedAS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s currentproduct plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsiblefor any damages arising out of the use of, or otherwise related to, this publication or any other materials.Nothing contained in this publication is intended to, nor shall have the effect of, creating any warranties orrepresentations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicablelicense agreement governing the use of IBM software.References in this publication to IBM products, programs, or services do not imply that they will be available inall countries in which IBM operates. Product release dates and/or capabilities referenced in this presentationmay change at any time at IBM’s sole discretion based on market opportunities or other factors, and are notintended to be a commitment to future product or feature availability in any way. Nothing contained in thesematerials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by youwill result in any specific sales, revenue growth or other results.IBM, Lotus, Lotus Notes, Notes, and Domino are trademarks of International Business Machines Corporationin the United States, other countries, or both.Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both.Other company, product, or service names may be trademarks or service marks of others.All references to refer to a fictitious company and are used for illustration purposes only. © 2012 IBM Corporation 12