uklug - open the toolbox - tools for the domino developer

94
© RunningNotes Tools for the Lotus Notes Developer (no, that is not Comic Sans)

Upload: kathy-brown

Post on 16-Nov-2014

739 views

Category:

Technology


0 download

DESCRIPTION

It’s always important to have the right tool for the job. You wouldn’t use a screwdriver to hammer in a nail. It might eventually work, but it would take a lot longer. Tradesmen like plumbers and electricians make it look easy, but sometimes it is because they have all of those specialized tools. Julian and Kathy will open up the toolbox and show you some of the tools available to make your job as a Domino Developer even easier. Even better, most of the tools are free! They’ll cover tools for agents, XPages, browsers, testing, ideas for building your own tools, and more. It's like a home improvement show for developers!

TRANSCRIPT

Page 1: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Tools for the Lotus Notes Developer

(no, that is not Comic Sans)

Page 2: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Kathy BrownPSC Group

runningnotes.net

@RunningKathy@NotesDevTipsToo many to list

Blackberry Today Podcast

Page 3: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Julian Robichauxpanagenda

nsftools.com

@jrobichaux@chiasheep

TakingNotes podcast

Page 4: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Developer Tools!

Page 5: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Lotus Notes ClientDomino DesignerXPagesJavaJavaScriptWeb Design and PrototypingGraphicsCharts, Graphs, and ReportsNetworking and Web ServicesRelational Database ToolsGeneral Developer ToolsCommunity Resources

Page 6: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

NoteManhttp://www.martinscott.com/Site.nsf/ID/Noteman

Editor, DocDelta, Design, ACL

Page 7: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

NoteManWhat do you get for free?

See & sort a table of all field values, types, etc.

Print, forward and copy

See all doc readers and authors

Search a database by NoteID, UNID, formula and profile name

See a sortable view of profile docs

See a sortable view of design elements

Find a doc by URL

Test a formula on a doc

Page 8: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

ytria

http://www.ytria.com

scanEZaclEZ

agentEZdatabaseEZ

replicationEZsignEZviewEZ

actionbarEZetcEZ...

really nice way to change properties on multiple views/folders

Page 9: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Noteshound

http://www.noteshound.com

design element propertiesprofile doc editor

code searchdocument locksdeletion stubs

etc.

Page 10: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

OSGi Console

for output only, see: Help - Support - View Trace

Page 11: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Lotus Notes ClientDomino DesignerXPagesJavaJavaScriptWeb Design and PrototypingGraphicsCharts, Graphs, and ReportsNetworking and Web ServicesRelational Database ToolsGeneral Developer ToolsCommunity Resources

Page 12: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Agent Profiling

Really easy to do

To see the results, just right-click the agent and choose “View Profile Results”

Works on triggered and scheduled agents

LotusScript or Java

Page 13: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Agent Profile Before

Page 14: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Agent Profile Before

Page 15: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Agent Profile Beforealmost 50%

Page 16: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Agent Profile Beforealmost 50%

Page 17: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Agent Profile After

Page 18: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Teamstudio Profiler

http://www.teamstudio.com/Develop/Profiler/tabid/184/id/2/Default.aspx

Page 19: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Error Logging

Please, oh please, add error logging to your code

I can virtually guarantee you will find errors you didn’t know were happening

Some options on OpenNTF:OpenLogFlowAssono Framework

Page 20: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Visustin Flowchart

http://www.aivosto.com/visustin.html

Page 21: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

DDE Search

Page 23: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

LotusScript Debugger Tricks

Call stack

All the Script Libraries in play

Page 24: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

LotusScript.doc

http://blog.lsdoc.org

Page 25: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Lotus Notes ClientDomino DesignerXPagesJavaJavaScriptWeb Design and PrototypingGraphicsCharts, Graphs, and ReportsNetworking and Web ServicesRelational Database ToolsGeneral Developer ToolsCommunity Resources

Page 26: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

XPages Toolbox

http://www.openntf.org/p/xpages+toolbox

Page 27: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

XPages Debug Toolbar

http://www.openntf.org/p/XPage+Debug+Toolbar

Page 28: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Print to Console

print(“**********”);print(“Starting the OnClientLoad event”);print(“We got this variable - “ +varName;

Page 30: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Lotus Notes ClientDomino DesignerXPagesJavaJavaScriptWeb Design and PrototypingGraphicsCharts, Graphs, and ReportsNetworking and Web ServicesRelational Database ToolsGeneral Developer ToolsCommunity Resources

Page 31: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Debugging

Yes, you can debug Java in Notes agents and XPages

See Julian and Mark Myers’ Lotusphere presentation:http://londondevelopercoop.com/ldc.nsf/pages/goodies

Page 32: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

FindBugs

http://findbugs.sourceforge.net

Static analysis

Bug categories:CorrectnessBad PracticeDodgy Code

Page 33: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

JUnit

http://www.junit.org

Unit testing!

Yes, you can use JUnit with Notes agents and XPages

See Julian and Mark Myers’ Lotusphere presentation:

http://londondevelopercoop.com/ldc.nsf/pages/goodies

Page 34: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Lotus Notes ClientDomino DesignerXPagesJavaJavaScriptWeb Design and PrototypingGraphicsCharts, Graphs, and ReportsNetworking and Web ServicesRelational Database ToolsGeneral Developer ToolsCommunity Resources

Page 35: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Firebug

http://getfirebug.com

Page 36: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Firefox Web Developer

https://addons.mozilla.org/en-us/firefox/addon/web-developer

Page 37: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

JSLint

http://www.jslint.com

Page 38: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Aptana

http://www.aptana.com

JavaScript and CSS editor

Which tags work with which browsers

Content-assist (including Dojo, jquery, etc.)

Page 39: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Mobile Toolkits

Lots to choose from:http://mobilecontrols.openntf.orghttp://www.sencha.com/products/touchhttp://phonegap.com

Check blogs and LUG presentations for examples

Third party solutions:Teamstudio, We4IT, etc.

Page 40: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

json parser

http://json.parser.online.fr

Page 41: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Lotus Notes ClientDomino DesignerXPagesJavaJavaScriptWeb Design and PrototypingGraphicsCharts, Graphs, and ReportsNetworking and Web ServicesRelational Database ToolsGeneral Developer ToolsCommunity Resources

Page 42: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Balsamiq

http://www.balsamiq.com

Page 43: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

yslow

http://developer.yahoo.com/yslow

Web page performance analysis

Suggestions for improvement

Chrome, Firefox, Safari, iPhone bookmarklet

Page 44: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Blueprint.css

http://www.blueprintcss.org

Page 45: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Twitter Bootstrap

http://twitter.github.com/bootstrap

Page 46: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Google Chrome

https://www.google.com/chrome

Page 47: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

ie developer tools

https://browserling.com

Page 48: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Firebug, againChange css directly on the page to “preview”

Page 49: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

iPhone Simulator

https://developer.apple.com/xcode

Mac only

Installed with XCode

Not 100% the same as Mobile Safari on the iPhone, but as close as you’ll get

Simulate different IOS/iPhone versions

Page 50: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Lotus Notes ClientDomino DesignerXPagesJavaJavaScriptWeb Design and PrototypingGraphicsCharts, Graphs, and ReportsNetworking and Web ServicesRelational Database ToolsGeneral Developer ToolsCommunity Resources

Page 51: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Paint.net

http://www.getpaint.net

Page 52: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

color pickers

Pixie for Windowshttp://www.nattyware.com/pixie.php

DigitalColor Meter for Macjust type “color” in Mac’s search bar

Page 53: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

screen capture

SnagIt (Windows and Mac)http://www.techsmith.com/snagit.html

Faststone Capture (Windows)http://www.faststone.org/FSCaptureDetail.htmUsed to have a free version

Shift-Control-4 (Mac)

Page 54: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

HALFWAY DONE!

Page 55: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Lotus Notes ClientDomino DesignerXPagesJavaJavaScriptWeb Design and PrototypingGraphicsCharts, Graphs, and ReportsNetworking and Web ServicesRelational Database ToolsGeneral Developer ToolsCommunity Resources

Page 57: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

gliffy

http://www.gliffy.com

Page 58: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

jFreeChart

http://www.jfree.org/jfreechart

See Julian’s LS 2012

Show ‘n Tell slides for

examples and information

Page 59: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

jqPlot

http://www.jqplot.com

Page 60: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

amcharts / ammaps

http://www.amcharts.com

Charts are now JavaScript or

Flash

Page 61: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

NotesSQL

http://www.ibm.com/developerworks/lotus/products/notesdomino/notessql

Still works with 8.5

Treat Notes views like relational db tables

Any ODBC reporting program can use a Notes database as a data source

Page 62: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

ASND Export

http://www.openntf.org/p/asnd

Page 63: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Lotus Notes ClientDomino DesignerXPagesJavaJavaScriptWeb Design and PrototypingGraphicsCharts, Graphs, and ReportsNetworking and Web ServicesRelational Database ToolsGeneral Developer ToolsCommunity Resources

Page 64: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

TCPView

http://technet.microsoft.com/en-us/sysinternals/bb897437

Page 65: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

fiddler

http://www.fiddler2.com/fiddler2

Page 66: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Charles Web Proxy

http://www.charlesproxy.com

multi-platform, throttling, DNS spoofing, not free

Page 67: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Wireshark

http://www.wireshark.org

Page 68: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Apple Network Link Conditioner

https://developer.apple.com/downloads

Page 69: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

SoapUI

http://www.soapui.org

Page 70: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Lotus Notes ClientDomino DesignerXPagesJavaJavaScriptWeb Design and PrototypingGraphicsCharts, Graphs, and ReportsNetworking and Web ServicesRelational Database ToolsGeneral Developer ToolsCommunity Resources

Page 71: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

XPages ExtLib

http://extlib.openntf.org

Page 72: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

FlySpeed SQL Query (ODBC)

http://www.activedbsoft.com/overview-querytool.html

Page 73: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

SquirrelSQL (JDBC)

http://www.squirrelsql.org

Page 74: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Microsoft Excel (really)

Data - Import External Data - New Database Query

Page 75: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

WAMP (has MySQL)

http://www.wampserver.com

ApacheMySQLPHPPHPMyAdminSQLBuddy

Easy install

Great for quick testing of MySQL

Page 76: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Lotus Notes ClientDomino DesignerXPagesJavaJavaScriptWeb Design and PrototypingGraphicsCharts, Graphs, and ReportsNetworking and Web ServicesRelational Database ToolsGeneral Developer ToolsCommunity Resources

Page 77: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

VMWare

http://www.vmware.com

Page 78: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Notepad++

http://notepad-plus-plus.org

Page 79: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Sticky Notes

Page 80: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

WinMerge (diff tool)

http://winmerge.org

Page 81: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

hex editor

Choices include:Frhed for Windows http://frhed.sourceforge.net

HexEdit for Machttp://hexedit.sourceforge.net

Page 82: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Evernote

http://evernote.com

Page 83: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

ProcessExplorer

http://technet.microsoft.com/en-us/sysinternals/bb896653

Page 84: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

7Zip

http://www.7-zip.org

MUCH faster than native Windows zip/unzip

gzip and tar files

easy viewing of JAR files too

Page 85: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Lotus Notes ClientDomino DesignerXPagesJavaJavaScriptWeb Design and PrototypingGraphicsCharts, Graphs, and ReportsNetworking and Web ServicesRelational Database ToolsGeneral Developer ToolsCommunity Resources

Page 86: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

PlanetLotus

http://planetlotus.org

Page 87: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

OpenNTF

http://www.openntf.org

Page 88: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

StackOverflow

http://stackoverflow.com/questions/tagged/xpages

Page 89: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

LUGs (duh)

Page 90: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

LotusUserGroup Newsletters

http://lotususergroup.org

Page 91: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

BleedYellow

http://www.bleedyellow.com

Page 92: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Skype

http://www.skype.com

Page 93: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

Twitter

https://twitter.com

Page 94: UKLUG - Open The Toolbox - Tools for the Domino Developer

© RunningNotes

THANK YOU!