1 / 18

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

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

jock
Download Presentation

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

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Xpages: Practical Ideas for Converting Existing Notes Applications & docLinkr Matthew Fyleman Simon Peek

  2. 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 • 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

  3. Why bother? The future • Browsers are increasingly the client of choice • Innovations will be in Xpages Xpagescapabilities • 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 It’s Fun!

  4. Planning ahead – What to convert 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

  5. Planning ahead – How to decide 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)

  6. Implementation – Look and Feel • 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.

  7. Implementation – Building Blocks • Create prototypes for key design elements • Employ custom controls • Main elements to consider: • Main layout • Views • Forms • Action bars

  8. Implementation – Make Use of Resources • 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

  9. Implementation – Create Toolkits • Libraries of useful things • Some UI: • Picklists • Prompts • Some script: • Safe lookups • Resource retrieval • Field values • Error handling - OpenLog

  10. Implementation – Custom Controls • 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

  11. Implementation – Test • 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!

  12. Implementation – Tricks ... • 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

  13. Implementation – ... and Traps! • Multi – value items in the UI • List related JavaScript @Functions returning single values • Date @Functions • SSJS splice() • SSJS recycle() in Domino Object Model loops

  14. Some Examples

  15. Over to Simon ...

  16. Resources and Information • 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

  17. Questions?

  18. Thank-You! matthew.fyleman@we4it.com Simon.peek@we4it.com www.we4it.com

More Related