The survey from earlier this week made for an interesting result. So, only 10% of you have converted completely to XPages. And only 40% of you are doing any XPages at all.
What surprised me is that 77% of you are still doing Domino dev the old way. I wasn't expecting that!
Now, when I say "you" I mean merely readers of this site. I don't want to extend the results to the all Domino developers as they don't all read this site - particularly, I'd expect, the hard-code XPagers. So that 10% figure could well be out.
The survey has only had ~300 votes but it seems to be the case that results are indicative of the wider audience once numbers get past a couple of hundred. If 3000 of you voted then the result would be unlikely to change. I think.
Either way it's safe to say the old way is still in use and so I will write the article that prompted the survey and - possibly - more after that.
As if to prove a point Fabian Robok emailed me on the day of the survey with an improvement he'd made to the LotusScript code in my WebSession class, which apparently, like me, he still uses.
What he (or his colleague at least) has done is replaced about 20 lines of code with one. Here's how he suggests getting URLQueryString values:
Public Function urlQueryString(Byval paramName As String) As String urlQueryString = Strtoken(Strtoken("&" + Me.queryString +"&", paramName + "=", -1, 5) ,"&", 1, 0) End Function
Note: I've not tested the above. I'm just taking his word that it works.
Whether or not you consider reducing 20+ lines of code down to 1 line an improvement is another debate. Personally speaking, I tend toward less code over readable code. I know, I know!
Love it or hate it though, the old way will be around for a while.