Lotushints

Lotus Notes tips & tricks you always hoped you will not need

Entries for the ‘Basic’ Category

DB2 transactions in .NET environment

Recently, I have been working on a .NET application that uses DB2 as a database engine. On top of that, I needed transactions as I didn’t want for SQL statements to commit if one of them failed. Needless to say, DB2 uses it’s own principle to handling transactions.

Design patterns – Part 10: Builder pattern

In part 10 of Design pattern series we will take look at Builder design pattern. Albeit much similarity, this pattern it is not to be mistaken with Abstract factory pattern. As Abstract Factory emphasizes a family of products and returns the product immediately, Builder focuses on constructing complex object step by step, returning product in [...]

Custom web forms – Part 3: User input form

In parts 1 and 2, we looked at exporting forms to DXL and then importing them back. In this short article,we will look at a simple form that will allow users to assemble their own web form.

Banner animator v1.1

In order to display multiple banners in single spot (and to keep web site from becoming tacky), you will need some sort of client side script that will display first one banner, then the second one etc. This is called banner animator (or even ad animator). In this case, the functionality is written in JavaScript, [...]

Custom web forms – Part 2: Importing Form from DXL

In the second part of Custom web forms series I will try to cover import of simple form to Notes database from DXL file. If you wonder how to export a form to DXL, please check Part 1: Exporting Form into DXL.

Custom web forms – Part 1: Exporting Form into DXL

The one thing that in my opinion always lacked in Lotus Notes was the ability for users without designer access (and much knowledge of HTML) to build their own custom forms. One might argue that it is not that big of a deal and that it would take an experienced developer approximately one hour to [...]

Rules of engagement

There are two rules I always respect and usually follow: If a code compiles and seems to work in first try, there is something terribly wrong with it. Never, ever, under no circumstances, move anything in production on Friday. I urge you not to break one of these rules, no matter how confident you feel [...]

Design patterns – Part 6: Observer pattern

One of the most used patterns is also a pattern that hears by the name Observer. What does it do? Well, imagine you have a stock portfolio and you need to notify your investors every time the value of their stock changes. First, your investors need to subscribe to the stock they would like to [...]

Version control and bug tracking

In my years of developing software, I come to realize that what every software development department needs is: some sort of IDE with a compiler version control and bug tracking. Usually you get stuck with IDE with a compiler. Everything else is up to you. But how are things in Lotus Notes?

Design patterns – Part 5: Adapter pattern

Another quite useful pattern is Adapter pattern. Adapters represent an interface between two different classes. For example imagine being a continental EU citizen travelling to UK. For you to plug in to UK power plug, you need an adapter that will take the interface your connector has and output the interface UK power plug demands.