+ All Categories
Home > Documents > Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

Date post: 01-Feb-2016
Category:
Upload: jock
View: 33 times
Download: 0 times
Share this document with a friend
Description:
Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman Simon Peek. What‘s am I talking about?. Why convert? The future Xpages capabilities Planning ahead What to convert Should you re-design? Assessing resources Implementing the changes - PowerPoint PPT Presentation
18
1 Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman Simon Peek
Transcript
Page 1: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

1

Xpages: Practical Ideas for Converting

Existing Notes Applications &

docLinkrMatthew Fyleman

Simon Peek

Page 2: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

2

Why convert? The future Xpages capabilities

Planning ahead What to convert Should you re-design? Assessing resources

Implementing the changes Groundwork – L&F and Component

Libraries Identify re-usable code Custom controls are your friends Some gotchas to look out for

Mobilising Applications with docLinkr Simon Peek

Questions

What‘s am I talking about?

Page 3: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

3

The future Browsers are increasingly the client of choice

Innovations will be in Xpages

Xpages capabilities More flexible than the standard Notes client

Capable of more dynamic presentation

Retains ease of development associated with Notes

Provides easy access to Web 2.0 techniques

Why bother?

Page 4: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

4

Which applications to convert?

Converting everything is

probably impractical!

Are some applications better

suited to a different platform?

Choose the business critical

Choose the greatest functionality

gap

Planning ahead – What to convert

Page 5: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

5

Application assessment Utilisation – how much is it used and by whom?

How complex is the application?

What resources will be required?

How long will it take?

Key indicators of complexity:

Lines of code

Type of code (LS, Java, Formula, API)

Structure and standardisation (e.g. use of subforms, naming conventions,

coding standards)

Planning ahead – How to decide

Page 6: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

6

Plan the look and feel first

Themes – custom, standard, hybrid or not at all!

Create a css framework

Create a master layout

Decide on general functionality:

Search bar

Type ahead search in views

Breadcrumbs

Login / logout facilities etc.

Implementation – Look and Feel

Page 7: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

7

Create prototypes for key design elements

Employ custom controls

Main elements to consider:

Main layout

Views

Forms

Action bars

Implementation – Building Blocks

Page 8: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

8

The Xpages extension library – open NTF

No need to re-invent the wheel

But – requires deployment

Plenty of reference information out there:

Mastering Xpages

Xpages 101

Open NTF & Xpages Wiki

Many more

Implementation – Make Use of Resources

Page 9: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

9

Libraries of useful things

Some UI:

Picklists

Prompts

Some script:

Safe lookups

Resource retrieval

Field values

Error handling - OpenLog

Implementation – Create Toolkits

Page 10: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

10

Custom controls are your friend!

Identify re-usable elements

Make use of parameters to:

Decouple controls from specific context

Allow dynamic re-purposing

Passing data sources

Implementation – Custom Controls

Page 11: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

11

Test, test and test some more!

Employ source and version

management

Vital for tracking configurations!

Set up test harnesses early in the

process

Unit test as each new feature is added

Dry run system tests frequently

Check that the test environment reflects the

live environment

No surprises!

Implementation – Test

Page 12: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

12

Know your scopes and use them

wisely

Get permission to add or change views

Look for more useful ways of

presenting data

Examine dialogs closely

Move server-side JS to managed beans

Turn on Xpages error reporting in the

database

Implementation – Tricks ...

Page 13: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

13

Multi – value items in the UI

List related JavaScript

@Functions returning single

values

Date @Functions

SSJS splice()

SSJS recycle() in Domino

Object Model loops

Implementation – ... and Traps!

Page 14: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

14

Some Examples

Page 15: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

15

Over to Simon ...

Page 16: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

16

We4IT – www.we4it.com

OpenNTF – www.openntf.org

Xpages101 – Matt White – xpages101.net

Mastering Xpages – Martin Donnelly et. al.

– ISBN 978-0132486316

Wissel.net – Stephan Wissel‘s blog –

Learning Xpages http://www.wissel.net/blog/archive?

openview&type=Category&key=XPages

Resources and Information

Page 17: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

17

Questions?

Page 18: Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman

18

[email protected]@we4it.com

www.we4it.com


Recommended