Lotushints

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

Entries for the ‘Best practices’ Category

Web services and arrays in LotusScript

Recently, I was working on an agent that used a web service to export data. Now, I don’t know if you noticed, but for some reason, consuming services is way easier in LotusScript than it is in Java. As far as I know, and I could be wrong, you need to import Axis in Java [...]

Software that makes you go arrrrrrgh

Recently, I had a “privilege” to acquaint myself with numerous small business applications for Windows. First, I would like to state that there is some good software out there and kudos to all of you who deliver it. Unfortunately, such software is in wast minority. However, you can quickly detect such software. Installation process is [...]

What not to do in multi-domain evnironment

There is one thing you oughtn’t do in multi-domain environment. Ever. We did it, as it was needed to successfully connect Cisco Click-to-call plug-in for Sametime with Cisco Presence server.

Absolute positioned objects hiding behind flash animation

Anyone dealing with HTML will or already has encountered an interesting behavior of embedded objects and absolute positioned objects. When embedded object (e.g. flash animation) is positioned over part or entire absolute positioned object, absolute position object is always displayed behind embedded one.

Design patterns – Part 11: Bridge pattern

In part 11 of Design pattern series we will go into creating and using the Bridge design pattern. It is moderately used and uses encapsulation, inheritance and aggregation to separate responsibilities into other classes.
The Bridge pattern decouples an abstraction from its implementation so that the two can vary independently.

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 [...]

Design patterns – Part 9: Mediator pattern

This week, I present to you not much used, but quite useful Mediator pattern.
Mediator pattern provides a unified interface to set of interfaces in a subsystem.
Or, to simplify… Mediator pattern is mediator for communication between several classes.

Microsoft Expressions SuperView beta

Ok. So this post is totally out of line. Be sure that it wouldn’t found it’s space up here if it wasn’t for it’s all around usability. Microsoft Expressions SuperView help you see how your website would behave in different browsers. You can read Expressions SuperView blog for further details or download and try it [...]

Design patterns – Part 8: State pattern

State pattern is probably most used in review cycles. The definition says:
State pattern allows an object to appear as it can change its class by altering its behaviour and state.
What are you talking about?
Well, imagine you are in need to build a bug tracking database.  Bug reports in basics have four states. First they are [...]

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 and under no [...]