Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Lotusscript

You don't say anything of what programming background/knowledge you have. I will assume that you have an understanding of programming, but perhaps haven't done much.

You indicate that you want to do more than just making this one fix, and that you hope to do more programming in Notes/Domino.

So let me outline how I think you should approach this.

First of all, get this Redbook: http://www.redbooks.ibm.com/abstracts/sg246854.html?Open

Then you should learn the following:
* Data types
* The core Lotusscript language
* How Notes/Domino works (the different objects in DOM, e.g. NotesDocuments, NotesDocumentCollections, etc)
* How to use the debugger

You can learn much/all of that from the online help in Domino Designer.

The next step is to start writing code. Start with simple programs and increase the difficulty step by step. Don't start with your project at once, do easier things first.

Blogs and sites like StackOverflow can help you. Often the blog entries are categorized, I actually use Lotusscript as one of the categories on my blog, http://blog.texasswede.com/. Some of the old entries from before I migrated to Wordpress are not correctly tagged yet.

I also wrote a 4-part series of articles on the subject of how to become a better Notes programmer: http://blog.texasswede.com/how-to-write-better-code-in-notesdomino/
I think you will learna few thinsg from there, and it will perhaps prevent you from picking up bad habits.

I would highly recommend that you learn how to use lists as well as object oriented Lotusscript. That will really help you.
I have some blog entries especially about that:
http://blog.texasswede.com/how-to-write-better-code-in-domino-designer-part-4/
http://blog.texasswede.com/code-expanded-class-for-file-functions/

You also want to learn how to write for performance. Take a look at this blog entry for example: http://blog.texasswede.com/which-is-faster-columnvalues-or-getitemvalue/

It would also bee useful to locate old presentations from the Lotusphere conferences 2000-2010 or so, there have been many sessions there about performance, Lotusscript development, etc. I know Bill Buchan gave some great presenttaions:
http://www.slideshare.net/billbuchan/everything-you-ever-wanted-to-know-about-lotus-script
http://www.slideshare.net/billbuchan/dev-buchan-30-proven-tips-22671397


You also need to learn/understand problem solving and how to break down a problem or development project into smaller and smaller steps, solving each one in turn.

Let me give you an example. Your project is "take family on vacation to Disneyworld".
You first break it down into a few main tasks:
1) Preparations
2) Outbound travel
3) Disneyworld vacation
4) Inbound travel

You then split each one of those into smaller tasks:
1) Preparations
a) Book flight
b) Book hotel
c) Buy park tickets
d) Pack clothes

Each of those tasks are split up again:
b) Book hotel
i) Find hotels close to park
ii) Check if early park access is available
iii) Check price and hotel features
iv) Select hotel
v) Pay hotel

You see how it is done?

One very common problem I have seen both here in this forum and in other places is that "programmers" just focus on the main task and never think though what it takes to get there. It is amazing how many "programmers" you see asking for a full solution, without even thinking through the problem themselves.

I would recommend that you also take a class or two at a community college (can be very inexpensive, perhaps $200 or so for a 4 credit hours class). There are classes that cover beginning programming without actually teaching a language, you just work in pseudo-code.

But the most important thing is that you write code and programs, The more the better. Spend at least 2-3 hours per day just creating stuff. Simple programs, more complicated ones. Push yourself.

Good luck!


Feedback response number WEBB9ZZK43 created by ~Dan Kikiterobu on 09/03/2015

Getting started with LotusScript (~Hal Zektootexl... 2.Sep.15)
. . Lotusscript (~Dan Kikiterobu... 3.Sep.15)
. . . . TLCC has classes on LotusScript (~Anita Minaster... 4.Sep.15)
. . . . . . TLCC classes (~Dan Kikiterobu... 4.Sep.15)
. . Making changes to the mail file (~Hal Quetlu 8.Sep.15)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS