ASP - Windows Update


I've been learning ASP cuz it's looking as if I may go back to the office, which is a windows shop.

"But wait, our biggest client is HP, their websites sit on top of Unix, running perl 4 right?"

"Yes, but we're a windows shop!"


So, here I am leaning ASP. Blah! ASP sucks! Maybe I'm wrong, but after putzing with it for 2 days I'm not impressed. It doesn't feel like a full programming language, you just have some objects that you can play with giving you access to the server's information.

I did findout however that JavaScript coupled with ASP, as opposed to VBScript, is much more tolerable. VBScript is so weird.

Example, say I want to get someone's name from a web form. What if they don't leave a name and that's ok, we don't need one, well, how do I assign an alternative value if no name is given...

# in perl...

my $var = param('name') || 'no name';

'in VBScript .. with may be a bit wrong syntaticly, but gets
'the point across

dim name
if Response.querystring("name") <> "" then
name = Response.querystring("name")
name = "no name"

"But wait", you say, "Just assign the variable like you did in the perl!"

or returns 1 or 0 in VBScript, not the value that returned true.

I still need to play around and learn JavaScript more, It's fun. I'm having trouble finding a slick way to iterate thru an array, or better yet, Array, but it's not so bad a VBScript, plus it's more compatible on the client side.

more info on the ASP, Windows Update to come.

About this Entry

This page contains a single entry by Will published on July 2, 2003 3:16 PM.

Settling into the new house was the previous entry in this blog.

Just call me Wilbert... is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01
Support this site by opening up a hosting account with
Powered By