Aleksandar • Vacić

iOS bits and pieces

ASP-JScript problems

When I do server-side, I do ASP. Without the dot and NET. All my life I seem to be tied up to Win-based web servers and since I was never much of the programmer type, this was sufficient for my needs. And where is ASP, there is VBScript. Very simple, easy to learn, easy to work with.

The only thing I sorely missed in VBScript are associative arrays. In case you don’t know, in ordinary array, (in e.g.) third element is fetched by aTmp(2), where 2 is the integer index of the element. In associative arrays, index can be anything you like; e.g. aTmp("EUR").

These arrays are extremely handy, especially when one deals with code lists, or reading username/user-details pairs from the database that needs to be stored into drop-down box etc. But they are not implemented in VBScript. There is Scripting.Dictionary, but this is not a native VBScript object thus I use it only when necessary.

Associative arrays exist in Javascript and also in MS’s JScript, which can also be used as ASP server-side scripting language.

So, in the latest project I’m working on, I decided to develop the site using ASP-JScript combination, solely because of assoc. arrays. I was ready to re-write entire code libraries I used for years, learn new stuff, waste time looking for practically non-existing documentation etc - all because of opportunity to have those arrays.

Unfortunately, it’s all thorns, no roses. Two things made me gave up the whole idea and return to VBScript.

Community universe

Few days ago, I bumped into Blogocarta, Didier’s fine idea of mapping blogroll into world map. I saw it before, but haven’t read the behind-the-scene story on this about page.

What got me motivated for this post is his final observation:

Is it me or could I have called this thing Blogomerica? Building this things made me realize that the US are still making things happen in the high technology business. This is not a bad thing of course, but a little more European influence would not hurt.

Is this really true?

Didier is from Holland, there’s a very strong scene in UK, and I follow some people from Sweden, Denmark and Germany. But those are people writing in English. I can only imagine how much people are out there, speaking in their own language. Probably the best known example is Petr Stanicek aka Pixy, who only recently started english speaking web site, altough he’s still publishing developing stuff in czech.

When Joe Maddalone discovered that different IE version can be run side-by-side, it stormed through the english-speaking community. However, it soon appeared that this was already known for at least several months - the “problem” is that it was published on japanese web site.

When I started my site, I started it in english because I knew virtually no one interested in the modern web design, here in Serbia. Now I know few people here, and have seen the works of some others I don’t know - question is are they willing to spend time on maintaining blogs and participating in mailing lists.

On serbian bloggin' scene, things are getting in shape, with the start of Planet Serbia aggregator. Very nice and clean design, and keeps all of serbian blogs in place, for easy followup.

And the best part is that design is done by woman - Ivana Jurčić aka geekchix - hey Doug, take note. :)