12

Click here to load reader

Developing XPages Applications

Embed Size (px)

DESCRIPTION

Developing XPages Applications

Citation preview

Page 1: Developing XPages Applications

©2012 IBM Corporation

Developing XPages Applications

August 7, 2012

Page 2: Developing XPages Applications

© 2012 IBM Corporation 2

Agenda

● XPages Updates coming in 8.5.x● Q & A

Note: Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion.

Page 3: Developing XPages Applications

© 2012 IBM Corporation 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

Page 4: Developing XPages Applications

© 2012 IBM Corporation 4

XPages Updates● Technology Updates

­ Dojo 1.7.2• Leverage enhanced mobile support and bug fixes• Issues Fixed in 1.7.2http://bugs.dojotoolkit.org/query?group=status&milestone=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

Page 5: Developing XPages Applications

© 2012 IBM Corporation 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

Page 6: Developing XPages Applications

© 2012 IBM Corporation 6

XPages UpdatesNew 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/?OpenDocumentbecomes...

­ http://foo/bar.nsf/mobile.xsp?documentId=04AAE&action=openDocument#document

Page 7: Developing XPages Applications

© 2012 IBM Corporation 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

● We're also finalizing another new XSP property that will allow Developers to point at a designated file system location containing the Dojo resources:

­ xsp.dev.dojostream=c://dojo-xyz/

Page 8: Developing XPages Applications

© 2012 IBM Corporation 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 xsp.properties editor● Bug fixes and quality improvements in 'high traffic' areas● Improve SSJS debugging experience!

Page 9: Developing XPages Applications

© 2012 IBM Corporation 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

Page 10: Developing XPages Applications

© 2012 IBM Corporation 10

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 whenrunning 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

Domino NEXT...

Page 11: Developing XPages Applications

© 2012 IBM Corporation 11

References & Resources

● Lotus Notes and Domino Application Development wiki - http://www.lotus.com/ldd/ddwiki.nsf/

● XPage Development Forum - http://www.lotus.com/ldd/xpagesforum.nsf● Openntf - www.openntf.org● Mastering XPages book -

http://www.ibmpressbooks.com/bookstore/product.asp?isbn=0132486318

● XPages Extension Library book - www.redbooks.ibm.com/Redbooks.nsf/ibmpressisbn/9780132901819

Page 12: Developing XPages Applications

© 2012 IBM Corporation 12

Legal Disclaimer© IBM Corporation 2012. All Rights Reserved.

The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for 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 or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license 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 in all countries in which IBM operates. Product release dates and/or capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results.

IBM, Lotus, Lotus Notes, Notes, and Domino are trademarks of International Business Machines Corporation in 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 renovations.com refer to a fictitious company and are used for illustration purposes only.