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.
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
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.
more info on the ASP, Windows Update to come.