My view on XPages
Upcoming SlideShare
Loading in...5
×
 

My view on XPages

on

  • 5,487 views

I used this presentation to introduce XPages to a development team not already familiar with XPages. I demoed XPages in Domino Designer live along with going through the presentation. ...

I used this presentation to introduce XPages to a development team not already familiar with XPages. I demoed XPages in Domino Designer live along with going through the presentation.

Please see this blog post for details about the presentation:
http://per.lausten.dk/blog/2011/01/presentation-my-view-on-xpages.html

Statistics

Views

Total Views
5,487
Slideshare-icon Views on SlideShare
4,002
Embed Views
1,485

Actions

Likes
3
Downloads
96
Comments
0

15 Embeds 1,485

http://per.lausten.dk 1031
https://ae-a11.kreditwerk.de 354
http://planetlotus.org 72
http://ae-a21.kreditwerk.de 6
http://webcache.googleusercontent.com 3
http://ae-a11.kreditwerk.de 3
http://www.techgig.com 3
http://charity.planetlotus.org 2
http://m.planetsharepoint.org 2
http://translate.googleusercontent.com 2
http://www.linkedin.com 2
http://feeds2.feedburner.com 2
http://feeds.feedburner.com 1
http://mobile.planetlotus.org 1
http://coderwall.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    My view on XPages My view on XPages Presentation Transcript

    • PHL-Consult.dk [email_address] Per Henrik Lausten per.lausten.dk/blog/ twitter.com/perlausten XPages: My view and my experiences January 6, 2011
    • XPages is a rapid web and mobile application development platform. It allows IBM Lotus Notes data to be displayed to browser clients on all platforms. The programming model is based on standards and common web development skills like JavaScript , Ajax , the Dojo Toolkit, Server-side JavaScript , JavaServer Faces and it leverages IBM Lotus Domino functionality like the Document-oriented database. XPages applications are hosted by IBM Lotus Domino, IBM's Rapid application development platform, which has sold more than 145 million licenses. Source: https://secure.wikimedia.org/wikipedia/en/wiki/XPages What is XPages?
    • Requirements Server: Lotus Domino 8.5.2+ with more power than traditionally (CPU and memory) Client: Lotus Notes 8.5.2+ with Domino Designer Developer team: modern web skills
    • What's good? Modern web technologies (HTML, CSS, JavaScript) Integration with Notes/Domino (views, documents, Formula language) Scoped variables, partial updates, Ajax (Asynchronous JavaScript and XML) Flexibility and control of output Seperation of data and UI (web enabling) Server Side JavaScript with support for Domino Java, if you want to XPages Extension Library Existing backend Lotusscript logic (in e.g. script libraries) can be reused by calling a Lotusscript agent that uses this logic. The agent is called from XPages using Agent.runWithDocumentContext(doc)
    • What's bad? New technologies for classis Domino developers Trial and error – and lack of good documentation Existing frontend Lotusscript logic must be migrated to Server Side JavaScript XPages is case sensitive
    • Demo 1: Lotus Domino Designer 8.5.x XPages Custom Controls Style Sheets Themes
    • Demo 2: Hello world! Integration with views and documents Seperation of data and UI (web enabling)
    • Demo 3: Scoped vars, partial updates, Ajax Partial updates Ajax Scoped variables: applicationScope, sessionScope, requestScope, and viewScope
    • Demo 4: flexibility and control of output XPage created in Design mode (as in demo 2 and 3) XPage for pure HTML – just insert your HTML body in the Source view XPage with full control of HTML (using afterRenderResponse)
    • Demo 5: example of SSJS See demo 5 Example server side JavaScript code: var doc:NotesDocument = database.createDocument(); doc.replaceItemValue("form", "demo2"); doc.replaceItemValue("demo2_subject", @UserName() + " - " + @Now()); doc.save(); An example using Formula language: var demoSubject = @DbLookup(@DbName(), "demo2", key, "demo2_subject" ); Sample NotesDocument JavaScript code: http://www-10.lotus.com/ldd/ddwiki.nsf/dx/NotesDocument_sample_JavaScript_code_for_XPages
    • Resources xpages.info xpages.tv xpages101.net planetlotus.org openntf.org Book: “ Mastering XPages: A Step-by-Step Guide to XPages Application Development and the XSP Language ” White paper on Lotus Domino as a rapid application development platform: http://www.edbrill.com/ebrill/edbrill.nsf/dx/ibm.com-whitepaper-on-domino-as-a-rapid-application-development-platform ... and more!