To participate in the hands-on aspect of this seminar, please bring your own laptop, loaded with Domino Designer 8.5.2 (a free download from IBM) .
|
Agenda |
|
Day 1
8:30 - 10:00 Session 1: Ready, Set, Go! Getting Started with XPages
Jump right into XPages development by learning to create an XPage in just 15 minutes. Then, to prepare for the sessions that follow, get a guided tour of the underlying architecture of XPages design. You’ll get a complete orientation to XPages, while you:
- Grasp the essential concepts of XPages development and the XPages runtime environment
- Explore the separation of the presentation layer and the data layer
- Navigate the XPages design environment and map the available development options
- Define a data source and learn how to bind a source with the data palette
- Render an XPage in the Notes client as well as in a Web browser
- Break down the process for creating XPages into identifiable and reusable steps
10:15 – 11:45 Session 2: Getting to the Data — Mapping Classic Domino Concepts to XPages Concepts and Terms
This session explores Domino data from the context of a standard Notes application and maps it to the construct of an XPage. Dive into the controls used in working with data to navigate and manage data. From this session, you will be able to:
- Recognize the Domino design elements that are required in order to work with Domino data in XPages.
- Learn how best to define data sources for both data entry and display.
- Understand data binding for document storage and retrieval.
- Discover available controls and how they map to the functions on a page.
- Identify core and container controls and their behaviors
- Create buttons to perform simple navigation
- Work with table and input controls; understand the difference between core and container controls.
11:45 – 12:30 Lab 1: Creating your First XPages Application
In this lab you will create your first XPage application. You will create two XPages. In the first one you will create an XPage to display documents from a view, create a link in the View column to load the specified document and return to the view. In the second you will create an XPage to display the selected documents from the view and navigate back to the View XPage.
1:45 - 3:15 Session 3: Getting to the Data — Views and View controls
Creating the “right” view has always been a very personal endeavor as each user of an application may have different requirements or preferences concerning the data to display, and many conditions can affect requirements. XPages makes it easy to sort and display data based on specific conditions and/or choices made by users. Gain the concepts and skills you need to give your users the data they require as you:
- Define view data sources and work with view column controls
- Learn when and when not to use view data sources directly on an XPage
- Link to documents for reading, editing, or deleting
- Use the View controls detailed properties to make views work for your users
- Customize the look of XPage views with built-in styling tools
- Create a View depository to optimize performance
3:30 - 5:00 Session 4: Completing the XPage Document Workflow
Managing events for document control, view navigation, and communication between objects is key to exploiting the power of XPages. Discover how to work with controls and events to provide document and view operations with all the workflow functionality of a standard Notes application:
- Harness the power of simple actions for button controls
- Accelerate XPage development using standard XPage navigation
- Use scoped variables for greater workflow control
- Create reusable components with custom controls
- Understand XPage events and use them to build powerful applications
- Bring it all together to create, read, update, and delete (CRUD) Domino documents
5:00 - 5:45 Lab 2
This lab is a step by step guide to using custom controls, simple actions and scoped variables to finalize an XPages application. Once you have completed this lab, you will have built a fully functional XPage application that quickly reproduces traditional Domino functionality and then goes beyond what standard Domino development can do.
Day 2
8:30 - 10:00 Session 5: You’ve Got Style: Controlling the Look and Feel of an XPages Application
XPages provides much more effective controls for creating a consistent UI look and feel than you can achieve with Cascading Style Sheets (CSS), the standard used in Domino applications for many years. In this session, learn to create good looking XPages with the style properties available for XPages controls. In this session, gain an understanding of how XPages are rendered in the browser and learn how to:
- Apply style sheet rules to XPage design elements
- Add styles to individual XPage controls
- Import and export style sheets to/from Domino applications
- Use style sheets as XPage resources
- Use browser tools to examine XPage elements
- Address XPage element ID attribute challenges
10:15 - 11:45 Session 6: There’s a Theme to It All
Gone are the days of inconsistencies in the look and feel of your Domino applications. See how the implementation of themes in XPages goes well beyond standard Cascading Style Sheets (CSS) pages and provides more granular control over all of the XML properties of an XPage. In this session, you will develop an understanding of XPages themes and learn how to:
- Enable themes in XPages applications
- Explore default XPage themes and the default theme control classes
- Utilize OneUI V2, IBM Lotus User Interface, and understand how to use the styles and classes that are available
- Extend XPage themes to create custom application styles
- Know when to use other CSS frameworks
11:45 - 12:30 Lab 3
This lab starts with an existing Domino application and takes you through enabling the application to use XPage Themes for a more professional look. The next step in this lab will be to create and use style sheet resources and CSS to fully customize the look and feel of the XPages application. By extending standard themes, you will experience the power and speed of CSS + Themes + XPages, which is a development strategy that you can quickly put to use in your own environment.
1:45 - 3:15 Session 7: Client-side JavaScript — Performing Calculations in the Client
Explore the events and options where client-side JavaScript (CSJS) can be used in an XPage architecture. All of the client-side libraries will be reviewed so you’ll know what options are available out of the box for coding CSJS in your XPage applications.
- Explore client validation options
- Get to know the events and controls that support client-side JavaScript
- Learn to call server-side JavaScript from client-side JavaScript
- Use external JavaScript libraries and Dojo to optimize reuse
- Discover best practices for debugging your code
3:30 - 5:00 Session 8: Server-side JavaScript: Getting There and Back
Running server side JavaScript (SSJS) allows developers to take the browser out of the equation, which simplifies coding to many platforms. This session covers best practices for using SSJS and explores all of the events and opportunities for using SSJS in an XPage architecture. In this session, you will learn to:
- Dynamically populate selection controls by taking advantage of @Functions like @DBColumn and @DBLookup
- Use the built-in Global Objects and Functions
- Define and scope variables
- Access the Domino back-end classes
- Work with Runtime libraries
- Exploit the built in XSP, Standard, and Runtime libraries
- Get the lowdown on debugging your code
5:00 - 5:45 Lab 4
This lab will allow participants to add client-side and server-side JavaScript to their XPage designs for performing computations and validating input controls. Code will be added to events and called from different client- and server-side libraries.
Day 3
8:30 - 10:00 Session 9: Extending XPages using JavaScript Toolkits
Using JavaScript toolkits can reduce the amount of time it takes you to build superb XPage applications. In this session, learn how to use built-in Dojo elements and implement the jQuery Library and jQuery plugins to quickly enhance an XPages application UI, respond to user actions, and to add animation effects.
- Walk through the implementation of Dojo and JQuery JavaScript frameworks
- Learn how to implement Dojo Dijits using examples like a slider, dialog box, and number spinner
- Implement JQuery plugins (i.e., validation plugin, rounded corners plugin, date picker plugin, type ahead plugin)
- Take advantage of repeat controls to create reusable elements on XPages
- Combine repeat controls with JQuery for real power
10:15 - 11:45 Session 10: Stepping Out with Java
You don’t have to be a Java programmer to develop XPages, but the key to providing rich functionality with XPages is understanding the power of Java to get things done in your application’s back end and knowing how to access that power with server-side JavaScript. In this session, discover how to:
- Install external Java libraries
- Identify and implement open source Java libraries
- Use XPages server-side JavaScript to call Java
- Create Excel spreadsheets from Domino documents
- Generate PDF files using Java and XPages
- Call servlets from an XPage
- Combine Web Services and XPages for extended functionality
11:45 - 12:30 Lab 5
In this lab, learn how to combine Dojo, jQuery, and Java with XPages to create a data reporting solution. Application users will be required to provide valid input in an XPage which will then be used to produce reports as either Excel or PDF files. This hands-on experience with XPages + Java will show just how easy it is to create application functionality far beyond that of traditional Domino solutions.
1:45 - 3:15 Session 11: Taking XPages to the Next Level
Find out how to take your XPages beyond the basic implementation and learn best practices and advanced techniques for globalizing XPages applications, dealing with external data imports, filtering data, and controlling data handling.
- Globalize applications with XPages localization
- Work with repeat controls and data table controls for data iteration
- Use XML data from external applications as an XPage data source
- Implement advanced view control techniques for handling categorized and response views
- Master View control filtering to display single categories or specific documents from a view
- Expose full text searching of a view
3:30 - 5:00 Session 12: Adding to Your Arsenal of Tools
In this wrap up session, find out how to make the most of what you’ve learned and add to your expanding set of development options with a tour of the various projects on OpenNTF and the tools that have been created there. See how to take advantage of new features in 8.5.2 like the Single Copy XPage design feature and the XPages Extensibility API to expand your toolset even further:
- Explore OpenNTF projects for XPages
- Understand how to use the XPages Toolbox for monitoring and profiling XPages
- Walk through the available mobile controls for XPages
- Optimize code reuse and minimize redundancy with Single Copy XPage Design
- Utilize the XPages extensibility APIs for XPages libraries and Java controls
|