Lotushints

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

Entries for the ‘Best practices’ Category

Demo

A few days hence, I had an interesting debate with one of my best friends about data used in a demo. He is convinced that real user data (e.g. Name, Surname, email etc.) should be used even in a demo. I, on the other hand, am impervious to weather you use fake, real-enough or real [...]

Android development issue no. 1

Due to personal interest, I installed Android SDK and emulator on my machine. Now, since I am a programmer, I am most interested in actually developing applications for Android. Hence, I installed Eclipse ADT plug-in.

Javascript string traversing

Lately I needed to parse format that Cisco uses for specifying transfer masks and route patterns to an array of telephone numbers a user could choose from. I wrote a neat javascript function that traverses the string and does what needed. I even wrote a neat recursive function that displayed the numbers in HTML select [...]

Reinventing the wheel vs. code reuse

Lately I have been marked as a ‘reinventing the wheel’ guy. I don’t object to that. After all, when I see this cool new feature, I just need to see how it was made. And since I am there, I can also test my skills and rewrite it. But is it really that bad to [...]

Cleaning behind you

Ending up a big project, I was brimming with confidence. The code was well structured, it ran fast despite using external web services and on top of that, it worked on test system. Oh boy, did it work. I should have seen a warning sign there. But no. I let my vanity kickĀ  in and [...]

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.