Q
Problem solve Get help with specific problems with your technologies, process and projects.

Can I use standard design patterns in LotusScript?

Can you use standard design patterns such as Creation, Structural or Behavioral patterns in LotusScript like you can in C++ and Java?
Domino has some significant differences from most programming environments. Unlike Java or C++, you're not in control of the runtime environment of the application -- the Domino server (if it's a Web application) or the Notes client (if a Notes client app) controls the overall context in which your code functions, so you aren't free to choose just any design pattern and go with it. You have to use a pattern that's compatible with the Domino system of forms, views, field formulas, events and agents. I have to admit I'm not as "up" on software engineering methodologies as I'd like to be, and I'm not sure offhand which patterns are the best fit for that.

There has been some work done on finding the most appropriate design patterns to use with Domino. I would point you in particular to these articles in The View:

If you're not a subscriber you're not going to be able to read the articles, but there are free downloads for both of them. In addition, you might visit Keith Nolen's Web site to see what he has to say about applying MVC to Domino Web applications.

Of course, you can write a Java applet, servlet or C++ program that just uses Notes as a back end for its data, but if you do that, you lose one big advantage of using Domino (i.e., that it does so much of the "view" work for you).

Dig Deeper on LotusScript

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close