After writing a data mining plugin for some application that retrieves notes data and produces some xml schema here’s my rant/wishes post. Maybe someone @ IBM will listen.
-
Create a UNICODE API that has no LNString-s or LNChars. Just like all other APIs on Windows instead of having to call LNStringTranslate all the time.
-
Make intellisense work in Visual Studio so that function completion works. I am guessing some macro magic is killing this.
-
Make the documentation actually browsable. Even MSDN is so much faster and nicer.
But the most annoying thing is access violations …
-
Do not AV when closing/opening objects in wrong order.
-
Do not AV when forgetting to close a session. See 4.
-
Do not AV when terminating a session on a different thread.
-
Adopt defensive programming. Do not AV. Ever.
And maybe that exists, but a nice .NET object model would be great.
Thx
dB.
Subject: Rants and wishes.
Some thoughts:
- The API is cross-platform, not windows-specific. The LNStringTranslate is part of the local implementation for each platform, while the core API stuff is identical on each platform. Creating a windows-only C/C++ API would make it harder to maintain and write portable software. Feel free to write your own unicode wrappers for the API if you’re using it a lot (it shouldn’t be too hard).
or
-
The COM interface is specifically targetted at the windows platform, and is therefore a lot more high-level than the regular C/C++ API. Perhaps you should use this one instead.
-
What is wrong with the documentation? It’s nicely categorized and searchable. Am I missing something?
-
.NET is not exactly the target market for IBM or Domino :-). If you really feel there is a demand for a .NET Domino API, perhaps you should write one ;-).
cheers,
Bram
Subject: RE: Rants and wishes.
-
I did of course write the wrapper. But every developer on Windows has to write the wrappers if he wants to do something useful with Notes. So maybe it should be pushed down to the API?
-
COM interface is useless overhead and doesn’t really make developer’s life easier in terms of code to write.
-
Maybe it’s my machine, but the doc browser is very slow here. The pager scrolls in a weird way. It’s mostly perception I am sure. Use MSDN for a while and then compare.
-
Since .NET is not a strategy, Notes will soon not be the strategy too for a lot of corporations. Then there will be no need for a .NET API 
cheers
dB.
Subject: RE: Rants and wishes.
-
Obviously there isn’t enough demand for IBM to create windows-centric wrappers, otherwise they would have been created.
-
I agree that COM in general isn’t too useful in low-level languages. But it would have solved your unicode problems ;-).
-
Probably your machine. You are using a local copy of the reference – not just browsing the online copy? If you’re doing it online, download the refence database and use that instead. It’s much nicer.
-
Perhaps a working .NET implementation on AIX, OS/390, OS/400, Linux and Solaris may change IBM’s mind about creating a .NET API :). Until then, it’s either up to yourself or a third party (cfr. Stan’s Proposion link) to make it happen.
Honestly, I can’t imagine much companies for which .NET is a core strategy and which aren’t already using Exchange.
(Hopefully this remark won’t be classified as “famous last words” 
cheers,
Bram
Subject: .NET (was: Rants and wishes.)
When it comes to developping client applications I see really four choices: C++, Delphi, Java and c# (.NET). Most Windows apps are C++ today, but the rapid development with .NET is going to superseed that in my opinion before long. It’s just a question of cost. Nobody armwrestled my team into writing .NET code - we came to it and were able to deliver five times more features in half the time with the same amount of developers.
Someone on this forum works for a big bank. They converted web developers into .NET developers who are able to write decent code without being as expensive and qualified.
My 0.02c.
dB.
Subject: RE: .NET (was: Rants and wishes.)
While much of what you say is valid, you might consider that the vast majority of “client applications” being created for Notes/Domino are not using any of these, because they are written in LotusScript and formula language and running inside Notes/Domino itself. I do not mean to argue with your conclusions about other apps, just to make the point that none of these languages are required for most client applications in the Notes/Domino world.
Subject: RE: Rants and wishes.
… or use the ones the nice people at Proposion have already put together:
particularly the ADO.NET data adapter, N2N:
Subject: *I’ll vouch for the Proposion stuff.
Subject: Rants and wishes.
How does your requests fit into cross-platform strategy, in which Notes/Domino is supported on more than just Windows and .NET.
Just curious…
Subject: RE: Rants and wishes.
It doesn’t quite fit in the cross-platform strategy, but I am of opinion that you need to make developer’s life a little easier here.
Improving the API on Windows for Windows users will bring more and better written applications to the market for Notes.
Run a survey, check out how many applications are written for Notes on Windows vs. some other platform.
cheers
dB.
Subject: RE: Rants and wishes.
… and you’ll find that most applications are just plain written for Notes/Domino – not just using Notes/Domino as a data repository.