advanced domino web development - ibm · lotus software © 2003 ibm corporation notes apps vs....

35
Lotus Software © 2006 IBM Corporation Advanced Domino Web Development Stephan H. Wissel Lotus Technology & Productivity Advisor IBM ASEAN [email protected]

Upload: trinhngoc

Post on 21-Aug-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

Lotus Software

© 2006 IBM Corporation

Advanced Domino Web Development

Stephan H. WisselLotus Technology & Productivity AdvisorIBM [email protected]

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

Notes Apps vs. Domino AppsWeb applications are different1

Things to DoHow to get from Basic to advanced – contains Ajax2

ResourcesPeople, Places, Things3

Agenda

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

Notes Apps vs. Domino AppsWeb applications are different1

Things to DoHow to get from Basic to advanced – contains Ajax2

ResourcesPeople, Places, Things3

Agenda

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

It’s the action!

� QueryOpen

� PostOpen

� QueryModeChange

� PostModeChange

� QueryRecalc

� PostRecalc

� QuerySave

� PostSave

� QueryClose

�GET� WebQueryOpen

�POST� WebQuerySave

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

CSS HTMLDOM

JavaScript

XML

MIME

Ajax

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

Notes Apps vs. Domino AppsWeb applications are different1

Things to DoHow to get from Basic to advanced – contains Ajax2

ResourcesPeople, Places, Things3

Agenda

Lotus Software

© 2003 IBM Corporation

Notes.ini

DominoCompleteDocType=1

HTTPMultiErrorPage=/error.html

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

JavaScript

Unobstrusivehttp://en.wikipedia.org/wiki/Unobtrusive_JavaScript

JSONhttp://en.wikipedia.org/wiki/JSON

Ajaxhttp://www.ajaxian.com/

Lotus Software

© 2003 IBM Corporation

$$ViewTemplateDefault

� $$HTMLHead:

"<meta http-equiv=\"refresh\" content=\"0;URL=/" + @WebDbName + "?OpenDatabase\">"+@NewLine+"<meta name=\"MSSmartTagsPreventParsing\" content=\"TRUE\">"

Lotus Software

© 2003 IBM Corporation

Form in a view

� Column:" [<checkbox name=\"selDoc\" value=\"" + @Text(@DocumentUniqueId)+"\" />] "

� HTML:[</form><form action="doThis?CreateDocument">]

� Form:Field selDOC, Field saveOption=0, webQuerySave

Lotus Software

© 2003 IBM Corporation

$$ Is your friend

� $$ViewTemplate for …

� $$Return

� $$HTMLHead

� $$ViewBody / $$NavigatorBody

� $$ViewList

� $$ReturnGeneralError

� … more in the help

Lotus Software

© 2003 IBM Corporation

Passthru HTML

� [<tag> stuff </tag>]

� Text formatting

� Form type HTML

� Treat View as HTML

Lotus Software

© 2003 IBM Corporation

View Form Formula

� Translate form data to XML

� Translate form data to JavaScript

Lotus Software

© 2003 IBM Corporation

AJAX*

* IBM uses the Dojo ToolkitImage courtesy & © Adaptive Path: http://www.adaptivepath.com

Lotus Software

© 2003 IBM Corporation

http://www.codestore.net/apps/yelp.nsf/

Lotus Software

© 2003 IBM Corporation

SNAPPS – the web 2.0 code give-away

�Inline view editing

�Wizard forms

�Web Calendar

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

Notes Apps vs. Domino AppsWeb applications are different1

Things to DoHow to get from Basic to advanced – contains Ajax2

ResourcesPeople, Places, Things3

Agenda

Lotus Software

© 2003 IBM Corporation

Web foundation

�www.w3c.org

�www.w3schools.com

�www.alistapart.com

�www.csszengarden.com

�www.yaml.de

�www.selfhtml.com

Lotus Software

© 2003 IBM Corporation

Ajax� http://www-

128.ibm.com/developerworks/web/library/wa-richiapp/index.html

�http://www.dojotoolkit.org

�http://script.aculo.us

�http://www.ajaxian.org

�Prototype

Lotus Software

© 2003 IBM Corporation

Domino� http://www.technorati.com/posts/tag/sntt

� http://www.rhs.com/web/blog/gregate/v3test.nsf

� http://www.openNTF.org/

� http://www.nsftools.com/

� http://dojomino.com/

� http://ekrantz.com/

� http://download.snapps.com/

� http://www.codestore.net/

� http://www.bobobringer.com/

Lotus Software

© 2003 IBM Corporation

Lotus Software

© 2003 IBM Corporation

[email protected]

Thank you!